0
why am I getting an error message
var age=31; var limit=21; var job="You are hired! <br/> When can you start?"; if (age < limit){document.write(job)}; else {alert ("Sorry you are too young.");}
3 Respuestas
0
varible not for strings. replace it.
0
can you be a little more specific I am new to programming
0
nevermind I found the issue.. I had a semicolon outside of the curly bracket on the 4 line