Can you help me with computers arent that smart


#1

if (10 === 10)
console.log("you got a true!");
else
console.log("you got a false!");
this is what i have what am i doing wrong


#2

You forgot curly braces {} in the if and else statements.


#3

if (10 === 10) {
console.log("you got a true!");
} else {
console.log("you got a false!");
}

Just adding on to @cadecodes in case you weren't sure where he meant!


#4

not working for me :frowning:


#5

Please paste in your code and error


#6

if (10 === 10)
{
console.log("You got a true!");
}
else {
console.log("You got a false!");
}