STUCK on JavaScript switch statement need help!


#1


https://www.codecademy.com/courses/learn-javascript/lessons/control-flow/exercises/switch?action=lesson_resume

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


#2

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


#3

Thanks it worked appreciate it


#4

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