Question
JavaScript Loops Create an HTMLdocument called assignment2.html that implements a webpage thatdynamically creates (using JavaScript code) a 15X15 HTML table and displays in each cell
JavaScript Loops
Create an HTMLdocument called assignment2.html
that implements a webpage thatdynamically creates (using JavaScript code) a 15X15 HTML table and displays in each cell the (row, column) information for that cell. Allow the user to select the number of rows and columns to redraw a new table.
Follow these guidelines
1.
Create a JavaScript file called assignment2.js and write the code for a function
that draws the table.
2.
Invoke the function when the visitor clicks on the assignment2.html page.
3.
Load the assignment2.js file at the end of the body in assignment2.html.
4.
Accept user input for the number of rows and columns in the
table.
5.
Use good web design practices to enhance visually your
html page. Add a title, picture, colors, copyright line, etc
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