6/11 is there a mistake with my code

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

Hi @borntoplayrs,

The string value inside the console.log must be enclosed with single quote ' ' or double quotes " ", or else it cannot find the variable names and throws error. Remember to follow the exact sentence the exercise is asking you to print, spacing wise and capital wise.

If you encounter further problem, remember to post the link to the exercise and state what the error is showing to you.

Cheers. :slight_smile:

1 Like

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