JavaScript Taskbook Level 7.2

Задание 1

Given a list ul with numbers, an input and a button. A number is entered into the input. By clicking on the button, paint li containing the entered number red.

Задание 2

Given an input. It takes a year. Output the dates of all Fridays 13th of the given year as a list ul.

Задание 3

Checkboxes are given, with the help of which the user is asked about the languages ​​he knows. A paragraph is also given. As the user selects checkboxes, output the selected languages ​​into the paragraph, separated by commas.

Задание 4

Write a program that will generate the following array:

javascript[
  ['x'],
  ['x', 'x'],
  ['x', 'x', 'x'],
  ['x', 'x', 'x', 'x'],
  ['x', 'x', 'x', 'x', 'x'],
]
Задание 5

The following layout is given:

html<p>111</p>
<p>222</p>
<p>333</p>
<p>444</p>
<p>555</p>

Get the contents of paragraph texts as an array:

javascript[
  '111',
  '222',
  '333',
  '444',
  '555',
]