Hello, I'm having a bit of trouble. On my mac there is a built in program called script editor. I decided to copy and paste my own adventure into it. With the simple code:
confirm("Are you ready to play?")
It says it cannot find the variable "confirm".
It also does this with:
var Age = prompt(13)
It says cannot find variable "prompt"
I hope you have an answer. Thanks for reading