Assignment #4
Summer 2020
Part A (32 points)
For this page, you may want to study the vote_check.html file from class.
You are going to create a page in which you help the user determine if they qualify for unemployment insurance. (A sadly topical event these days…)
Please note that the qualifications referred to in this page are nearly all fictional, though they do have some basis in reality.
· We will pretend that you need to be 17 years or over to qualify. Have a text field in which you ask the user what year they were born in.
· Have a text field asking them how much money they made the previous year.
· Have a select box asking them if they have been searching for work. There should be options for ‘Yes’ and ‘No’. The values for these options should be “y” and “n” respectively.
The user qualifies if:
· They are born in the year 2003 or before, AND they have made more than $2500 the previous year, AND they claim that they have been searching for work.
· Note that for the age, we will not worry about the month of the year. As long as they are born in 2003 or earlier, they will qualify for the age requirement.
· You may assume that they will type a full four-digit year (e.g. 2011 not 11).
Your page should output to a div section whether or not they qualify. Output in a white font with a black background.
Styling: Create at least one class. This class should be placed inside an external stylesheet. (You must create your own class, don’t use the one from my example file). However, the class does not have to be complicated.
Here is an example of how it might look:
Part B (8 points)
1. Submit a zip file of your assignment to the submissions folder.
2. Upload your files (the web document, any images, and the external CSS document) to the server.
3. As with the previous assignment, in the comments to the D2L submissions folder, provide a valid URL to your HTML document.