I have no idea what I am doing wrong


confirm("I understand confirm!")
var age = prompt("What is your age");
if(age > 13) {

console.log("Welcome to the game");

else {
console.log("You are not so welcome"):


missing a semi colon.

You have an opening bracket instead of a closing bracket.

Please use the text that was given and not what you want to put.


Three Mistakes

Third One

Happy learning! :slight_smile:


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.