JavaScript Taskbook Level 7.3

Задание 1

Given a paragraph containing text with words. Some words are repeated twice. By clicking on the button, delete unnecessary identical adjacent words.

Задание 2

Make a function that will return an array filled with N random numbers from a given range such that the numbers do not repeat.

Задание 3

The following data structure is given:

javascriptlet data = [
  {
    text: '111',
    href: '1.html',
  },
  {
    text: '222',
    href: '2.html',
  },
  {
    text: '333',
    href: '3.html',
  },
]

Using this data, create the following layout:

html<a href="1.html">111</a>
<a href="2.html">222</a>
<a href="3.html">222</a>