JavaScript Taskbook Level 7.8
Задание 1
Given a button and a list ul. By clicking on the button, add a link to the end of each li, and when clicked, the text li will be crossed out (but not the link text).
Задание 2
Given a paragraph containing text with words. Make it so that when you click on any word from this paragraph, this word changes the order of its letters to the opposite.
Задание 3
The following array is given:
javascriptlet users = [
{id: 1, name: 'user1', surn: 'surn1', age: 30},
{id: 2, name: 'user2', surn: 'surn2', age: 31},
{id: 3, name: 'user3', surn: 'surn3', age: 32},
];
Output the elements of this array as a table table so that each field of the object gets into its own tag td. Make the column headings of your table.
Задание 4
Write a program that will generate the following array:
javascript[
'1',
'12',
'123',
'1234',
'12345',
'1234',
'123',
'12',
'1',
]