Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Create an HTML and JavaScript documents to create and validate the following form: Personal Information Name (letters only-first letter capital): Date of Birth: Year
Create an HTML and JavaScript documents to create and validate the following form: Personal Information Name (letters only-first letter capital): Date of Birth: Year (1960-2018): Month (01-12): | Day (01-31): Find Code When the user enter all information and click the Find Code button, your JavaScript code validate the input data and print a code in the box next to the Find Code button. The code is computed as: code = Year + month * day. When the code is printed, an alert box with the message: Try another date appears. Validations required: 1. There are no empty fields. 2. Name field is letters only and first letter is uppercase. 3. Year, month, and year are numeric, consists of two digits, and within the range specified.
Step by Step Solution
★★★★★
3.47 Rating (147 Votes )
There are 3 Steps involved in it
Step: 1
DOCTYPE html html langen head meta charsetUTF8 meta nameviewport contentwidthdevicewidth initialscal...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