Task #2481 - DOM is ready
We need to fix the script a little. The message DOM is ready should be printed to the console. Items cannot be swapped. Modify the existing script, do not delete or change the if condition....
We need to fix the script a little. The message DOM is ready should be printed to the console. Items cannot be swapped. Modify the existing script, do not delete or change the if condition....
The script needs to be improved. The first thing to do is add the deleteParagraph function as a handler for the button click. After the first activation of the function, this handler must be removed....
We will develop a counter that will add and subtract one. To do this, you need to add a paragraph on the page, initially it should contain the number 0....
Your colleague asked you for help. Let鈥檚 help him finish the script. When the button is pressed, the inner text of the paragraph must be supplemented with the next array element....
Let鈥檚 write a text editor. When pressing the Enter button, a new p element should appear at the end of the body. When you press the keys, the last character should be added to the inner text of the last paragraph....
Click handlers are already added to the elements of the seasons list But one more handler is needed. When clicking on any item in this list, the Updated message should be logged to the console....
Your colleague started writing handlers. But the handler for the .chapter element does not fire when clicking on nested .section elements. But should. Help your colleague figure it out. You just need to fix one line in the script, don鈥檛 change anything else....
The layout designer has prepared a layout. It remains to add logic. When pressing the dial buttons, the digit value must be added to the inner text of the #entered-number element....
Each element in the index.html file needs to add a click handler. The handler should print the element鈥檚 id to the console. As a result, when you press the Click me button, 4 messages should appear in the console....
Hey, Hero! This is your first task that consists of multiple stages. You鈥檒l be submitting your solution multiple times implementing a smaller piece of the big task. Be mindful not to break what was already working on previous stages....