JavaScript Taskbook Level 9.6

Задание 1

Generate a table colored like a checkerboard.

Задание 2

Given a table. Make it so that when you click on any cell, its ordinal number in the table is written into it.

Задание 3

Given a table. Make it so that when you click on any cell, the number of its row and column in the table is written into it.

Задание 4

There are five checkboxes. Make it so that no more than three of them can be checked at a time.

Задание 5

The following array is given:

javascriptlet arr = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12];

From the given array, dynamically create a table of size 5 columns.