Hey I try to do the if statement statement, but I having trouble to find what I did wrong the console show me that my mistake is on the line 11 (at the moonPhase === mostly new )with the else highlighting
-
var moonPhase = ‘full’;
-
if (moonPhase === ‘full’) {
-
console.log(‘Howwwlll!!’);
-
} else {
-
console.log(‘I swear I am not a werewolf…’);
6.}
7.if (moonPhase === ‘mostly full’); { -
console.log(‘Arms and legs are getting hairier’);
-
}
10.else if (moonPhase===‘mostly new’) {
11.console.log(‘Back on two feet’);
12.}
13.else {
14.console.log(‘Invalid moon phase’);
15.}