Help help


#1


https://www.codecademy.com/courses/javascript-beginner-en-x9DnD/0/1?curriculum_id=506324b3a7dffd00020bf661#


TypeError: confirm is not a function


help please something is wrong with my code but i dont' know what.
confirm("Are you ready to play? If so, please click OK.");


#2

Hi try to refresh the page if it doesn't work can you post a screenshot of your code


#3

Remove the semi - colon at the end


#4

it worked when i refreshed the page thanks


#5

If you want to know why it gave you that error it's because you made something like that

confirm = ("Are you ready to play? If so, please click OK.");

then when you remove the = it will give that error TypeError: confirm is not a function


#6

this is work

// Check if the user is ready to play!
confirm("are you ready to play");


#7

please man, pleaseeeeeee help me with my code..


#8

And your error is still: TypeError: confirm is not a function ?


#9

Hi inside the last console.log() try to remove the var to _(userAnswer) _if doesn't work can you post the errror you get?


#10

hi..get rid of the last command console.log
your last line should be
var userAnswer = prompt("Do you want to race Bieber on stage?")


#11

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