Assignment 4: JS DOM Practice - Pure JS Dropdown

In this assignment you will implement the dropdown / one-page style site demonstrated in class in an html page of your own. You may choose to do this on your own homepage, or you can construct a new page of "dummy" content or content of your choosing.

You can find the file I demonstrated in class here:Pure Javascript Dropdown One-Page Site


As in the demonstration, your dropdown should do the following:


Things to keep in mind:

You should change the styles of your menu to match your own site design, or to be in a design of your choosing. You may find it helpful for the readability of your code to pull both the CSS and JavaScript from this file, and create external .css and .js files.

Please feel free to work with an alternate javascript dropdown example. However, the dropdown MUST navigate between content contained in a single .html file (a one-page style site), and hide/display this content with the menu choices. It must also be in PURE javascript (no jquery), and should not rely on a plugin. If you work with code from elsewhere on the web, make sure to credit this code somewhere in your file or on your page (as in the example).