Code your own adventure 2 toUpperCase() and toLowerCase()


#1



TypeError: Unable to get property 'toUpperCase' of undefined or null reference


var response = prompt("what flavor do you want?, chocolate, vannila, or strawberry?").toUpperCase();


#2

I think this Looks good and i try it in my console and no issues.

Maybe clear browsercache and refresh the site.