JavaScript Intermediate

Multiplication Table Generator


task_alt
Objectives
  • Write a script that uses a for loop to generate a multiplication table (1-10). Output the table directly into the HTML page using document.write only, and style it with basic table properties.
  • > Required code element: Use: for loop, document.write, table, tr, td
Expected Output