Question: 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
Get step-by-step solutions from verified subject matter experts
