JavaScript Taskbook Level 6.3
Given a paragraph and a button, let the first click on the button paint the paragraph red, and the second click paint it green.
Given a list of ul. By clicking on any li, add its serial number in the list to the end, but only once.
Given a list of ul. By clicking on any li, if the Ctrl key is pressed, remove this li from the list.
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.
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.