Assignment 1
Interactive Page with JavaScript
Due Saturday September 20 before 11:30pm
Overview
For this assignment, you will start with a simple menu page and modify it to make it interactive with JavaScript.
Procedure
Complete the following steps:
- Download the menu page
- As you see fit, modify any of the html content; check that it works
- Add some CSS rules; check that they work
- In the console, try out JavaScript expressions and JavaScript assignments that modify the page
- Incrementally add in JS statements inside the script tags in the file; check that they work
- Add a button so that some of the changes occur when the button is pressed
- Move JS code to a separate JS file and link to it from the html file
- Optional: Place your JS code in a function so that it runs after the code is loaded
Requirements
Your interactive page should have the following:
- Input text fields, an event-handling function, and display of output
- Your name and app description commented in the html and js files.
- Consistent indentation for html and JavaScript.
- Use of code constructs consistent with those presented in class
The submission should also include a written overview (less than one page) that describes your accomplishment and how you accomplished it --- include any details of help, collaboration, or use of online resources.
Submission
On D2L, submit a zip file of a folder with the following contents:
- A readable document (pdf is preferable) that summarizes your accomplishment.
- html file
- js file
- Any supplementary files (e.g., CSS file) for your web app
Grading
This assignment is worth 10 points. A rubric will be provided with the submission.