Question: Add the showData ( ) function and within the function insert the following commands: a . Insert a command to the store the value of
Add the showData function and within the function insert the following commands:
a Insert a command to the store the value of the riderName object in a session storage object named riderName.
b Repeat the previous step for the ageGroup, bikeOption, routeOption, accoption, region, miles, and comments objects.
c Add a command that changes the value of the location. href object to the projectbhtml file.
Close the file, saving your changes.
Go to the projectbhtml file in your code editor and add a script element linked to the projectbjs file. As before, defer the loading of the script until the page loads. Review the contents of the file and then close it saving your changes.
Go to the projectbjs file in your code editor. At the bottom of the file insert a command to retrieve the value of the riderName key from session storage and store that value in the text content of the riderName object in the web page.
Repeat Step for the ageGroup, bikeOption, routeOption, accoption, region, miles, and comments keys.
Save your changes to the file and then load projectahtml in your web browser. Enter sample membership data in the web form and then click the Submit button. Verify that the projectbhtml opens and that the membership information you entered is displayed in the web table.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
