JavaScript Taskbook Level 5.9
Given an array with numbers, a button and an input. When you press the button, write all the numbers from the array to the input, separating them with commas.
Given paragraphs with text. Make it so that when you click on any paragraph, its text is colored red.
An input is given. A number is entered into it. If an odd number is entered, then paint the input border red, and if an even number, then green.
The input is a date in the format 2025-12-31. After losing focus, make the input a date in the format 35.12.2025.
An empty list ul and textarea are given. Text with punctuation marks is entered into it. After losing focus, write each sentence from the text into its tag li.