Homework Help
Put a div on the screen
1.
*Put a div on the screen. Using CSS,style it to have a red background, a width of 200px and a height of 200px.
* Add a click event handler to the div that makes it grow by 20 pixels every time it is clicked.
* When the div’s width is larger than 300 pixels, remove it from the DOM.
2.
* Place three divs on the screen via javascript (using a for loop that _must run_ three times).
* On mouse over, each of these divs should have their opacity set to 1.
* On mouse out, their opacity should be set to .5