JavaScript Taskbook Level 6.10

Задание 1

Given a button, an input and a list ul, Text is entered into the input. By clicking on the button, add a new li with this text to the list, but only if this text is greater than the text of the last tag li from the list.

Задание 2

Make a 8 by 8 HTML table manually. When you click the button, color each even cell white and the odd cell black.

Задание 3

Write a code that will display the multiplication table on the screen.

Задание 4

Given a textarea, input and button. Text with words is entered into the textarea. A word is entered into the input. By pressing the button, display on the screen how many times this word occurs in the entered text.