JavaScript Taskbook Level 5.7

Задание 1

Given tags li with numbers, input and button. By pressing the button find the sum of numbers and output them to input.

Задание 2

Given tags li with numbers and a button. By clicking the button, increase all numbers in tags li by one.

Задание 3

Given an input, a paragraph and a button. A number is entered into the input. By pressing the button, you get an array of divisors of the number and output them to the paragraph separated by commas.

Задание 4

Given paragraphs with text. Make it so that when you click on any paragraph, its text turns over.

Задание 5

A number of 6-digits is entered into the input. By pressing the button, check whether the sum of the first three digits is equal to the sum of the second three digits.