If/else, using comparison operators. Can't get past this stage


#1

var moonPhase = full;
if (moonPhase === full ); {
console.log('Howwwlll!!');
}
else {
console.log('I swear am not a werewolf');
}


#2

change the moonPhase to be a string "full" and remove the semicolon in the if statement


#3

Not that it really matters but you should probably have an I there for a proper sentence. or you can change it to I'm. either way it shouldn't effect your code, but I figured I would let you know.


#4

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.