Please help me Iam in trouble

When I run this code its shows error ,and I use console.log it shows everything right. I don’t know what is the problem please anyone help?

  **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";
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/97.0.4692.71 Safari/537.36

Challenge: Multiple Identical Options in Switch Statements

Link to the challenge:

Try looking at your code again and what you’re returning. The test is case sensitive :smiley:

can you please tell me the solution please? I tried many times but I can’t figure it out

Check at this photo

Replace ‘low’ with ‘Low’, ‘mid’ with ‘Mid’, and ‘high’ with ‘High’ and you’ll pass the test.

1 Like

Ooh thankyou I corrected it :two_hearts:

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