CONTROL FLOW else if Statements 7/11


Hello guys,

I might be doing something wrong, as a got the result i need but the exercise is not ticked as correct. Please advise :(.
let moonPhase = ‘mostly full’

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 if (moonPhase===‘none’){
console.log(‘I swear I am not a werewolf.’);
{console.log(‘Invalid moon phase.’);



Hi @mystique0012,

For us to help, can you provide the link toward your exercise? It’s needed to have a look on what are the instructions. Addition to that, what error does the exercise say when running your code (other than not ticked as correct)

Hope to hear from you soon :slight_smile:


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