#19 on java script im stuck


#1

("Jon".length * 2 / (2+1) === )
{
console.log("The answer makes sense!");
}
else

Instructions:
Complete the missing bits of code to construct the if / else statement. Make the condition evaluate to true.
Finish the else statement by printing out the string "Error Error Error" to the console.


#2

a number should be after the ===

and then after else {

it should log "Error Error Error" to the console

}


#4

The instruction was too easy to understand, Still,

You have to evaluate the result as 'true' according so, make the easy calculation

just console.log because your are printing in the console

else {
console.log ("error error error");
}

Done.. Thanks


#5

if
("Jon".length * 2 / (2+1) === )
{
console.log("The answer makes sense!");
}
else
("Jon.length * 2 / (2+1) == 2);
{
console.log("ERROR ERROR ERROR")
}

you musnt forget that you have to open your console log and close it with brackets and not to forget the IF statement


#6

This wont work because else can't take anything other than something like a console.log statement. (You also missed a { and closed something too early with ; )

if("Jon".length * 2 / (2 + 1) === 2) {
console.log("The answer makes sense!"); 
} else {
console.log("Error Error Error");
};