Question: HTML/JAVASCRIPT Use your editor to open the tc_cart txt.html, tc cart_txt.js and tc order txt.js files from the htmllo casel folder. Enter your name and

HTML/JAVASCRIPT

HTML/JAVASCRIPT Use your editor to open the tc_cart txt.html, tc cart_txt.js and

tc order txt.js files from the htmllo casel folder. Enter your name

and the date in the comment section of each file, and save

them as tc_cart.html, tc_ cart.js and te_ order.js respectively. Go to the

Use your editor to open the tc_cart txt.html, tc cart_txt.js and tc order txt.js files from the htmllo casel folder. Enter your name and the date in the comment section of each file, and save them as tc_cart.html, tc_ cart.js and te_ order.js respectively. Go to the tc cart.html file in your editor. Directly above the closingtag, insert script elements to link the page to the tc order.js and tc cart.is files in that order. Defer the loading and running of both script files until after the page has loaded. Scroll down the file and directly below the hl heading titled "Shopping Cart" insert a div element with the ID cart. 4 Save your changes to the file and go to the tc order.js file in your editor Within the tc_order.js file, you will create arrays containing information on a sample customer order. Create an array named item that will contain the ID numbers of the items purchased by the customer. Add the following four item numbers to the array: 10582, 23015, 41807, and 10041. Create an array named itemDescription containing the following item descriptions: 1975 Green Bay Packers Football (signed), Item 10582 Tom Landry 1955 Football Card (unsigned), Item 23015 1916 Army-Navy Game, Framed Photo (signed), Item 41807 Protective Card Sheets, Item 10041 7 Create an array named itemPrice containing the following item prices: 149.93, 89.98, 334.93, and 22.67

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock 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!