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