Update index.html
Browse files- index.html +2 -2
index.html
CHANGED
|
@@ -98,8 +98,8 @@
|
|
| 98 |
|
| 99 |
// Function to fill the table with random numbers
|
| 100 |
function generateRandomTable() {
|
| 101 |
-
for (let i = 0; i <
|
| 102 |
-
for (let j = 0; j <
|
| 103 |
const cellId = `cell-${i}-${j}`;
|
| 104 |
const randomValue = getRandomNumber(1, 100);
|
| 105 |
document.getElementById(cellId).textContent = randomValue;
|
|
|
|
| 98 |
|
| 99 |
// Function to fill the table with random numbers
|
| 100 |
function generateRandomTable() {
|
| 101 |
+
for (let i = 0; i < 4; i++) {
|
| 102 |
+
for (let j = 0; j < 4; j++) {
|
| 103 |
const cellId = `cell-${i}-${j}`;
|
| 104 |
const randomValue = getRandomNumber(1, 100);
|
| 105 |
document.getElementById(cellId).textContent = randomValue;
|