Did you write an else statement that logs 'Invalid moon phase'?


It just won't let me go to the next step even though I'm almost positive I've done everything right.

var moonPhase = 'mostly new';

if (moonPhase === 'full') {
else if (moonPhase==='mostly full')
  console.log('Arms and legs are getting hairier');
else if (moonPhase==='mostly new')
  console.log('Back on two feet');
    console.log('Invalid moon phase');


Look at your howl ....


It might be because I've been looking at this for awhile, but I'm missing it...


I'm also having this problem and i have no idea whats wrong


could you present the full code ??
and the link to the lesson ??


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