Code Error ... Test Wont Pass

Tell us what’s happening:
I am getting a code error for a part of the page that says only change code above line but test pass won’t work.code-err-4-8-21
Your code so far

function sequentialSizes(val) {
var answer = "";
// Only change code below this line
switch(val) {
  case 1:
  case 2:
  case 3:
    answer = "Low";
  case 4:
  case 5:
  case 6:
    answer = "Mid";
  case 7:
  case 8:
  case 9:
    answer = "High";
// Only change code above this line
return answer;
  **Your browser information:**

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

Challenge: Multiple Identical Options in Switch Statements

Link to the challenge:

when it says that the unexpected token is the end of the code, then you are usually missing a closing parenthesis somewhere (or have an extra opening one), count your parenthesis

Okay, thank you. I will double check my work.

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