This forum is now read-only. Please use our new forums! Go to forums

0 points
Submitted by shoejunkeys
about 9 years

It says there is a syntax error

// Check if the user is ready to play! confirm(“AREE YOUU READYY!”) var age = promt(“What is your age? tell me or you lose”) if (age is less than 14) { console.log(“Your allowed to join then with no responsibity”) } else { console.log(“Your young but… you can play”) }

Answer 54ee80ac9113cb8a4100053a

1 vote

Permalink

Computers don’t understand plain English. you need to be using a comparison operator that you learned about in exercise 13.

age is less than 14 should actually be age < 13

points
Submitted by Neil
about 9 years

1 comments

moonman21 about 9 years

Thank you!