Question
Part 1 A multiplication table for a 5x5 or 10x10 Write this output within an HTML table Add column headers and row headers using a
Part 1
A multiplication table for a 5x5 or 10x10
Write this output within an HTML table
Add column headers and row headers using a different color
Do not use any Javascript commands such as variables or looping techniques. Simply use multiple document.write( ) or document.getElementById( ).innerHTML
Output should look similar to the following:
X | 1 | 2 | 3 | 4 | .... |
---|---|---|---|---|---|
1 | 1 | 2 | 3 | 4 | .... |
2 | 2 | 4 | 6 | 8 | .... |
3 | 3 | 6 | 9 | 12 | .... |
4 | .... |
Part 2
Create 2 variables
Initialize each to a any numeric value
Muliply these two variables and output the variables and result
Part 3
Create and populate an array (of your choosing)
Display the 3rd element
Part 4
Create and populate an object (of your choosing)
Display one of the properties (name and value)
Part 5
Create a shopping cart object
Shopping cart should have 3 items in it (of your choosing)
Each item should have the following properties
prod_code (any value)
description
price
quantity
Structure for this shopping cart should be an array of objects
Display all information about one item in the cart
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