JavaScript Taskbook Level 5.6

Задание 1

Given an input, a button and a paragraph. A year is entered into the input. By clicking the button, determine whether a leap year has been entered or not and output information about this in the paragraph.

Задание 2

Given an input and a button. When the button is pressed, output a random number from the range 1 to 100 to the input.

Задание 3

Given an input, a button and a paragraph. A date is entered into the input in the format 2025-12-31. By pressing the button, output the day of the week corresponding to this date into the paragraph.

Задание 4

Given a div with width, height and border, and a button. Clicking on the button will double the size of the div.

Задание 5

Links are given. Make it so that when you hover over any link, the value of its attribute href appears above it.