Mouseover / Mouseout Practice
Here's the assignment:
- Copy the code for this page into a new html document.
- You can find a text file with the code (minus these instructions) here. You can copy it directly from the screen and paste it into a new html document.
- Locate the <div> tag.
- In the <div> tag create an onmouseover event that will change the background-color of the <div> to a different color.
- In the <div> tag create an onmouseout event that will change the background-color of the <div> back to CornflowerBlue (or another color of your choice.)
- You can reference today's class example or look at your own code from today.
- Your solution should include this.style='put the style rule here'