JS question 8 Interactive JavaScript- confirm


#1

Examples:

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

Replace this line with your code.

confirm("I am ed");
confirm("I am ready to learn");

I get an error and can't move on to next coding. It says "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!"


#2

Try closing at reopening the tab. The code worked fine for me!


#3

I tried, I even restarted it and rewrote a different code.
Can I ask what you wrote that worked? I don't see my problem


#4

I just tried your code and it works as you can see:


#5

Thank you for your reply.
There was something wrong with the website I guess. I logged out logged in the tried again and it worked. :slight_smile:


#6

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