Multiple Identical Options in Switch

Multiple Identical Options in Switch


Hello guys please assist whats wrong with the code below, I cannot pass the first three tests

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;  

// Change this value to test

Your browser information:

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

Link to the challenge:


In JavaScript, strings are case sensitive, so “low” is not the same as “Low”. Check the instructions again, for which spelling it should be.


Thank you soooo much buddy, that was silly of me not to check the case! Sorted