Instructions

JavaScript
In this assignment you will use JavaScript to add interactivity to your responsive website from Assignment 7.

Interactivity
Create a new version of your website from Assignment 7, about a topic of academic interest. Make revisions and improvements to the site as necessary—you know more about web design now. Using JavaScript, add a new layer of interactivity to your pages.

Your JavaScript should be externally applied in a .js document. Include at least two DOM queries to access elements on the page. To make your page feel more interactive, write at least two JavaScript functions that are called in response to DOM events. One of these functions should update page content—such as a change to text or images—and one of the functions should change a CSS property.

Day of the Week
In addition to the behavior described above, use the JavaScript Date object to update some aspect of the page for every day of the week. For example, a different image could be displayed, a different style rule could be applied, or different text could appear. This should be done for each of the seven days of the week. To that end, you will need to write one or more decision structures with conditional statements such as if and else if.