Question: create an HTML page with a heading with the text Computer Parts Available. Add script tags to include an external JavaScript file named project5.js, add
create an HTML page with a heading with the text "Computer Parts Available". Add script tags to include an external JavaScript file named project5.js, add an appropriate CSS file named project5.css, and save the html file as project5.html.
In the JavaScript file, create a nested array named computer_parts with inner arrays having these values:
Inner array 0: Monitors, LCD Screens, Vibrant Colors
Inner array 1: Motherboards, Fast
Inner array 2: Chips, Pentium, Very Fast
Inner array 3: Hard Drives, 100-500 GB, Fast Reading
Inner array 4: DVD-ROMS, Burn CDs, Burn DVDs, Listen to both!
Inner array 5: Cases, All Sizes, Choice of Colors
Inner array 6: Power Supplies, We can get one for any computer!
Use nested loops to display each part and its features on one line. After the part name, display a colon and a space. Between part features, display a comma and space. At the end of the last part feature, insert a line break.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
