JavaScript Workbook Level 6.9
Given a paragraph, a button, and an array of colors. Let pressing the button paint the paragraph in the next color from the array, and so on in a circle.
Given a paragraph and two inputs. Dates are entered into the inputs. Output in the paragraph how many days there are between the entered dates.
Given a list of ul. When you click on any li, write the serial number of the click on this li at the end of its text.
Given a button and a list ul filled with items with numbers. By clicking on the button, add a new li with a number one more than the number of the last li from the list.