Your colleague has added an external script that compliments the internal one.
The problem is that something鈥檚 off and there鈥檚 an error in the console.
Function isLoaded should remain where it is and should be called from the external script....
You should know, who your users are.
Lets ask them to enter their name. The question should be - What is your name?.
If user has entered something - log this string to the console....
Let鈥檚 write a script that checks the number entered by the user for a match.
The message to enter must be Enter number, initial value is 100
If the user did not enter a number, you need to show the alert modal with the text: Not a number....
Let鈥檚 get the mail from the user, the question is Please, enter your email.
If the mail contains the @ symbol, check with the user if he wants to receive the newsletter....
The task is very simple - you need to display a list of all div elements in the console.
Use the method of retrieving items by tag name for this....
Let鈥檚 print to the console all the items with the item class item that are inside the car block.
Use methods to get elements by identifier and class for this....
Your colleague has asked you for help. He wants to get two lists.
The first list is a list of items with the title of books from the BBC The Big Read....
You need to print to the console all elements whose id begins with art.
Use the internal script.
This task is part of the Full-Stack JavaScript Course
If you have any issues with it, you can ask for community help below the post...
There are 4 images added to the document. Not all of them have a title attribute.
Write an internal script that checks if images have this attribute.
If it does not exist, add it with a value equal to the alt attribute of the image....
You need to add a text node to the existing paragraph using JS.
The text should be as follows - Hello, dear user.
Use the internal script.
This task is part of the Full-Stack JavaScript Course...