Basic JavaScript - Multiple Identical Options in Switch Statements

Tell us what’s happening:
Describe your issue in detail here.
am stuck and am not sure what am doing wrong

Your code so far

function sequentialSizes(val) {
  let answer = "";
  // Only change code below this line
switch(val){
  case 1:
  case 2:
  case 3:
  answer = "low"
  break;
  //end of the first case
  case 4:
  case 5:
  case 6:
  answer = "mid"
  break;
  case 7:
  case 8:
  case 9:
  answer = "high"
}


  // Only change code above this line
  return answer;
}

sequentialSizes(1);

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36

Challenge: Basic JavaScript - Multiple Identical Options in Switch Statements

Link to the challenge:

Hello!
You did well! Just switch your values to uppercase as instructed:
‘Low’, ‘Mid’, ‘High’.
Hope this helps.

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