Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

in the following javascript code input the following codes into the code below Hands-on Project 1-4 Hands-on Project 1-4 Shipping Address Choose an address Home

in the following javascript code input the following codes into the code below

Hands-on Project 1-4

Hands-on Project 1-4

Shipping Address

Choose an address

1. Just above the closing tag, add the following element to link the file containing the Modernizr library:

2. locate the first fieldset element, with the id addroptions, and then find the first input element, with the id homeoption. Within the input element that creates the first option button, add the following event handler:

onclick="document.getElementById('streetinput').value = 2 '1 Main St.';

document.getElementById('cityinput').value = 4 'Sicilia';

document.getElementById('stateinput').value = 'MA';

document.getElementById('zipinput').value = '02103';"

3. Within the same fieldset element, locate the second input element, with the id workoption. Within the input element that creates the second option button, add the following event handler:

onclick="document.getElementById('streetinput').value = '15 2 Columbine Ln.';

document.getElementById('cityinput').value = 'Crab 4 City';

document.getElementById('stateinput').value = 'MA';

document.getElementById('zipinput').value = '02104';"

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

Options Trading QuickStart Guide The Simplified Beginners Guide To Options Trading

Authors: Clydebank Finance

2nd Edition

1945051051, 978-1945051050

Students also viewed these Databases questions