I am on 2. old enough to play? and i need help


#1

this is in the Instructions
1.Write your own if / else statement.
2.The only instruction is that the result of evaluating the statement is a log to the console of "I finished my first course!"


28 i need help
#2

i am on 2. old enough to play? and i need help Jaaakee


#3

Show me you code and what you've tried and any errors you are getting.


#4

confirm("I understand confirm!");
var age = prompt("What's your age");
if(condition) {
console.log(allowed to play but you take no responsibili);
}
else // "otherwise"
{
console.log( i am 13);
}


#5

confirm("I understand confirm!");
var age = prompt("What's your age");
if(condition) {
console.log( i am not 13);
}else{
console.log( have a good time playing and be hard to hit);
}


#6

You need to put something where the word "condition" is and put your console.log parameters in double quotations.

This would be an example (Please do not copy):
if (age < 13) {
console.log("You are younger than 13 and cannot play.");
} else {
console.log("Enjoy my game!");
}


#7

hey i need same help with this (if/else) code.