Javascript Final Quiz

For the following questions, you may use the textbook or your notes. You may not google other references. You have 30 minutes to complete both parts of the quiz. Make sure that you complete the multiple choice questions first, and click “Finish Exam” before you go on to do the coding question.

Programming Question

Write a function that each time it is clicked will do the following:

  1. Turn the background of the page light blue.
  2. Add another H1 to the page that says “So Long 130”
  3. Changes the font color for the H1 to red

By each time, I mean that if the button is clicked 10 times there should be 10 H1’s on the page.

Next Section - Advanced Javascript