Javascript Beginner: Problem with CONFIRM command


#1


When the dialog box appeared on execution of a basic confirm command, I clicked 'Do not display an additional box'.
After that, whenever I run the following code, I get the error listed below! Please help!


https://www.codecademy.com/courses/getting-started-v2/1/3?curriculum_id=506324b3a7dffd00020bf661


Oops, try again. It looks like you didn't create the confirm dialog correctly (or you clicked 'Cancel' instead of 'OK'). Check the examples in the instructions if you need help!


// Also try the Q&A forum to get help
// The link is on the bottom left of the page!
confirm('are you okay?');


#2

Hello. The confirm dialog syntax is:

confirm("Hello World!");

I hope this helps.

Also, when making dialog boxes in Codecademy, please do not check "Do not display an additional box".