I need help on JavaScript #5 (else if statements)


Hey. I have been stuck on this problem for a long time, and it keeps saying I did something wrong. It is asking me to "Set moonPhase to mostly full and run your code" Every time I put that in, it say "invalid moonphase". Please Help me with this!!!!!

Learn with JavaScript #5: else if Statements


Is your own code saying invalid moonphase? If so you'd compare what you set that variable to, with the conditions for printing the expected output, right?


yeah, but i found the problem. I had to change the moonPhase at the top in the variable itself.


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