Werewolf.js

<PLEASE USE THIS TEMPLATE TO HELP YOU CREATE A GREAT POST!>

<Below this line, add a link to the EXACT exercise that you are stuck at.>
https://www.codecademy.com/courses/learn-javascript/lessons/control-flow/exercises/comparison-operators-ii?action=lesson_resume

<Below this line, in what way does your code behave incorrectly? Include ALL error messages.>
Expected Identifier and instead saw ‘else’
Expected an assignment or function call and instead saw and expression
Missing semicolon

```

var moonPhase = ‘full’;

if (moonPhase === ‘full’); {
console.log(‘Howwwwlll!!’);
} else {
console.log(‘I swear I am not a werewolf…’);
}

<do not remove the three backticks above>

Hi, @brycemerck ,

Does that semicolon belong in this line? …

if (moonPhase === 'full'); {
1 Like

Thank you kind sirrrrrrrr

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