Stuck on this javascript exercise


I am on the second part of this exercise and it says to "Set moonPhase to 'mostly full' and run your code.

We expect 'Arms and legs are getting hairier' to log to the console." I'm not sure what I am doing wrong since I have it set to "mostly full" and every time I press run it says I am wrong.

var moonPhase = 'solar eclipse';

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');
} else {
  console.log('Invalid moon phase');


That's without a period at the end


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