Help with basic show hide
O.K. all the tutorials have been too complicated, adding classes, etc.
I just want to have a div class="stuff" hidden when the page loads. There will be a button always present that when pressed that will show the div. When the button is pressed again it will hide the div.
Should be really simple, I'm just new.
-
<button type="button" value="toggle">Help Me!</button>
<div class="stuff">
<h1>Hey...I'm trapped in a div</h1>
</div>