This forum is now read-only. Please use our new forums! Go to forums

0 points
Submitted by Yonatan H
over 8 years

plz help asap!

var user = prompt(“you find a lost sutcase in the street. do you open it? YES or NO?”).toUpperCase();

Answer 559d930e76b8fef1be00004d

0 votes

Permalink

The code works for me. What do you need help with?

points
Submitted by J
over 8 years

3 comments

Yonatan H over 8 years

it tells me : Oops, try again. It looks like you have an error in your code! Check the message for more: TypeError: Cannot read property ‘toUpperCase’ of null .

J over 8 years

Did you answer the prompt?

Yonatan H over 8 years

it doesnt even show a prompt it imediatly shows the error message