Question: Create a web page that contains a simple math test and allows a user to create a username for a website. The user should be
Create a web page that contains a simple math test and allows a user to create a username for a website. The user should be prompted to enter his or her first name, last name, and school's name. The program should create a username that consists of the user's initials concatenated with the first word of the school's name. For example. if Hector Lopez attends Universal Community College, his username would be HLUniversal. The web page should have the following arithmetic problems. Add a button under each problem, which when clicked, will display a prompt for the user to enter the answer. Add a second button which, when clicked, will check to see if the user's answer is correct. The output should be either "correct" or "incorrect" displayed in an alert box.
5 + 9 =??
4 * 6 =??
25 - 14 = ??
48 / 3 = ??
26 % 6 = ??
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
