Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Question 1.2 Create a HTML form as shown in Figure 1.1 that allow user to enter identification Card (IC) Number in which containing the format
Question 1.2 Create a HTML form as shown in Figure 1.1 that allow user to enter identification Card (IC) Number in which containing the format of "dddddd-dd-ddid". Select the gender in the form is not allowed by user. Enter IC Number: Gender: Submit Male Female Figure 1.1 Prompt an alert message box when the input is incorrect format. Based on the string input, write a JavaScript to calculate the age of the user based on the current year and identify the gender of user Assume there are two images ("male.png" and "female-png"') are stored in an image folcer named "img", replace the wording in the radio button by using appropriate image. Create a tooltip to the image of gender to show a message"You're supermon for male and "You're superwomon" for female. NOTE: Use last digit in the IC Number to identify user's gender, the odd numbers for male while the even numbers denote female. (20 marks
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started