JavaScript Taskbook Level 9.7

Задание 1

Given a table. Make it so that when you click on any cell, the row with this cell is painted red.

Задание 2

Given a table. Make it so that when you click on any cell, the column with this cell is painted red.

Задание 3

Given a table. Make it so that clicking on any cell deletes the row with this cell.

Задание 4

Given a table. Make it so that by clicking on any one the column with this cell is deleted.

Задание 5

Given a table and a button. By clicking on the button, paint the cells located on the diagonal of the table red.