Heading 1
- Lorem ipsum dolor.
- Make background of
h1orange - Make color of
h1green
- Create two embedded CSS classes:
- Class
.greenhas acolorofgreen - Class
.orangehas abackground-coloroforange
- Class
- Add some event listeners to the ordered list above:
- Click on first list item: copy the text form this list item to the
h1tag - Mouse enters the second item: add the class
.orangeto theh1tag
Mouse leaves the second item: remove the class.orangefrom theh1tag
- Double-click the third item: toggle the class
.greento theh1tag - Click on the button inside the last item: rotate the
h1tag by 180 degrees
Double-click the button: rotate theh1tag back to 0 degrees
- Click on first list item: copy the text form this list item to the
//# sourceMappingURL=dom.js.map