STUCK on JavaScript switch statement need help!

<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.>
https://www.codecademy.com/courses/learn-javascript/lessons/control-flow/exercises/switch?action=lesson_resume

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

Really confused as to why this code is not correct would appreciate any help thanks in advance

i get stuck on the second part of this task and also the third



var moonPhase = 'mostly new';

switch (moonPhase) {
  case 'full':
  console.log('Howwwwlll!!');
    break;
  case 'mostly full': 
  console.log('Arms and legs are getting hairier');
    break;
  case 'mostly new' : 
  console.log('Back on two feet');
		break;
                 
                 }


Have you tried a refresh Browser
using the F5-function key…
and changing your
'mostly new' :
into
'mostly new':

3 Likes

Thanks it worked appreciate it

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