Stuck at 8 :/


#1

What we just saw was a fun example of how JavaScript can be interactive. Try it yourself!

Examples:

confirm("I feel awesome!");
confirm("I am ready to go.");

These boxes can be used on websites to confirm things with users. You've probably seen them pop up when you try to delete important things or leave a website with unsaved changes.

i dont understand this one


#2

Instructions
Write your own message that you want the user to confirm.

And this you should do

confirm("i type what i want, here !");

#3

Hello!

Same problem here. I am at 8 - Interactive JavaScript.
I typed the line you gave and also tried some other ones, I still have the error message.
Could you help me on that one?


#4

Please show your complete code


#5

The visual shows double quotes in the lesson. Double quotes seem to cause an error on this lesson. Use single quotes instead of double quotes.
confirm('I am awesome today!');


#6

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.