The lesson won’t let me past step 1, even though the code does what was asked.
There are no proper error messages. My code behaves as it is supposed to.
The lesson, however, says i failed, and gives me this message: “Did you write an else if statement for if the moonPhase is mostly new?”
Here is my code:
var moonPhase = 'full'; moonPhase === 'full' ? console.log('Howwwwlll!!') : moonPhase === 'mostly full' ? console.log('Arms and legs are getting hairier') : moonPhase === 'mostly new' ? console.log('Back on two feet') : console.log('Invalid moon phase');