CCSF CNIT 133 – JavaScript
Homework 5 – Arrays
This is a two task section:
Part 1a) validate a form that
contains a combination of radio buttons, checkboxes and text
input boxes
Part 1b) create pulldown menus that change the
URL when a selection is made and one that changes when clicking a
button
The user will have a list of states to choose from. When the user enters the state name or abbreviation, the page should generate the full state name, its capital and total population.
Calculate the weekly salary from a salesperson's gross sales for that week and keep a running tally of earned salaries. The range of salaries is predetermined (starts at $200 to $1000+).
Random numbers between 10-100 are entered by the user 10 times. Unique input numbers are displayed (duplicates will be accepted, but not displayed more than once).
Enter a state abbreviation or name (lower or upper case is
ok)
Choose from the following states: Alabama, Alaska,
Arizona, Arkansas, California and Colorado