Can someone tell me what is wrong with my code?


#1

This is my code on lesson 3, 3/6:
var user = prompt("Are you ready to begin?").toUpperCase();

It keeps saying:
TypeError: Cannot read property 'toUpperCase' of null

which I have no idea what that means... please help?

Thanks


#2

It could mean
that your popup is Blocked
and therefore your prompt is not working....


#3

Yeah you were right. Thanks