Question: 1. create an html and JavaScript file to transfer or copy data from one field to another based on user indicating they should have the


1. create an html and JavaScript file to transfer or copy data from one field to another based on user indicating they should have the same value - 5 5marks Example: Shipping Address and Billing Address Sample: Billing Addres First Name Marie Last Nume Santiago Street Address Main St City Las Cruces State NM Zip $8001 Phone 575-555-2000 checking "same as biling address box copies Balling Address control values to Delivery Address controls Delivery Address mes billing addresse ist Nume Maria Last Name Santiago Street Address 1 Main St City Las Cruces State NM Zip 88001 Phone 575-556-2000 values copied from corresponding fields in Billing Address section 2. Create a custom browser based validation feedback using the following a. check Validity and setCustomValidity methods - 2.5 marks b. CSS invalid and valid pseudo-classes - 5 marks 3. selectedIndex = -1 -5 marks 4. placeholder -2.5 marks To change properties of form elements based on validity status. HINT: refer to power point slide 29-31 (ensure you link your CSS and javascript file to your html.) Sample: First Name Last Name Street Addre Please fill out this field. background color changed to pink because field content is invalid all browsers that support browser-based validation display the bubble text you specified with the setCustomValidity ( ) method City Ensure all your files are in the same folder. Upload the zip folder into TEST1 drop box
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
