JavaScript Taskbook Level 6.3
Задание 1
Given a paragraph and a button, let the first click on the button paint the paragraph red, and the second click paint it green.
Задание 2
Given a list of ul. By clicking on any li, add its serial number in the list to the end, but only once.
Задание 3
Given a list of ul. By clicking on any li, if the Ctrl key is pressed, remove this li from the list.
Задание 4
Given a paragraph with a number and a button. When you press the button, let the number from the paragraph increase by one every second.
Задание 5
Given an input and a paragraph. A date is entered into the input. Determine whether the date was already in the current year. Output the result to the paragraph.