Won't let me move on and won't tell me why

<PLEASE USE THIS TEMPLATE TO HELP YOU CREATE A GREAT POST!>

<Below this line, add a link to the EXACT exercise that you are stuck at.>
Uploading…

<Below this line, in what way does your code behave incorrectly? Include ALL error messages.>

```

Replace this line with your code.

<do not remove the three backticks above>

Seems like you’re lacking a bit of information in your post. Please look at what you post before you leave it.

my bad…

var moonPhase = ‘full’;
var foggyNight = false;

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’);
}

@ionatan

Instruction 2.
“Set moonPhase to ‘mostly full’ and run your code.
We expect ‘Arms and legs are getting hairier to log to the console.’”

1 Like

Yes I see that, but I did code that if you can’t see that @kyleaw

We can’t. Does that mean your code is different from what you posted?
I think you may need to read the instruction more carefully and consider what it is asking you to change in your code. What change is instruction number 2 asking you to apply to your code? You’ve missed it entirely, you must have misread.

1 Like

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