Answered step by step
Verified Expert Solution
Link Copied!

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

image text in transcribed

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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database In Depth Relational Theory For Practitioners

Authors: C.J. Date

1st Edition

0596100124, 978-0596100124

More Books

Students also viewed these Databases questions

Question

List and explain the goals of business communication.

Answered: 1 week ago

Question

Explain basic guidelines for effective multicultural communication.

Answered: 1 week ago

Question

Identify communication barriers and describe ways to remove them.

Answered: 1 week ago