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


#1

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') {
  console.log('Howwwlll!!');
}
else if (moonPhase==='mostly full')
{
  console.log('Arms and legs are getting hairier');
}
else if (moonPhase==='mostly new')
{
  console.log('Back on two feet');
}
else 
  {
    console.log('Invalid moon phase');
  }

#2

Look at your howl ....


#3

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


#4

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


#5

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


#6

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