Question: 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

1 Expert Approved Answer
Step: 1 Unlock

The question is incomplete because it requires additional JavaScript code and details about the spec... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!