SyntaxError: Expected ';'


Hi I can't get this code to work it keeps coming up with: SyntaxError: Expected ';'

confirm ("I am ready to play!");

var age prompt("What's your age");

if (age < 13) {
console.log ("Be carful")
} else {
console.log ("carry on")


Hey @callum10m! Just a simple mistake your missing something here:

Got it? If not its an equal sign so it should be more like this:

var age = prompt("What's your age")


Thanks for that mate was really stuck lol