JavaScript Task Book Level 7.5

Задание 1

This button is given. By clicking on the button, the browser window will smoothly scroll to the very bottom.

Задание 2

Given buttons and divs. Each button corresponds to its div. Make it so that the first click on the button opens its div, and the second click hides it.

Задание 3

Make a function that will accept a string in Russian and return its transliteration.

Задание 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'],
]