Task 1.
Create a variable t1 = 6. Add 4 to the current value of the variable (write it using the full form).
Task 2.
Create a variable t2 = 40. Divide the current value of the variable by 10 (write it using the shorthand form).
Task 3.
Create a variable t3 = 'Hello '. Add 'user' to the current value of the variable (write it using the full form). Output the result to the console. The result should be "Hello user".
Task 4.
Create a variable t4 = 'Top '. Add 'Master' to the current value of the variable (write it using the shorthand form). Output the result to the console. The result should be "Top Master".
Task 5.
Create two variables z1 = 6, z2 = 3. Create a div (assign the class yourself) and output the result of z1 multiplied by z2 into it.
Task 6.
Create a div with the text "The". Using JavaScript, append the word "Best" to the text in HTML. As a result, you should see "TheBest" on the page. (Use the full form.)
Task 7.
Create a div with the text "LO". Add a button. On each button click, use JavaScript to append the letter "O" to the text. As a result, the text should grow with each click: "LO" → "LOO" → "LOOO" → "LOOOO". (Use the full form.)
Task 8.
Create a div and a button. On each button click, use JavaScript to add the tag "<p>O</p>" inside the div. As a result, new lines with the letter "O" should appear on the page with each click. (Use the full form.)
Task 9.
Create a ul and a button. On each button click, use JavaScript to add the tag "<li>Item</li>" inside the ul. As a result, a new list item should appear with each click. (Use the full form.)
Task 10.
Create a div and a button. On each button click, use JavaScript to add the tag "<span>★</span>" inside the div. As a result, stars will appear on the page according to the number of clicks. (Use the full form.)