Many Options with Switch Statements Need Help am i wrong?

So it is telling me that my code is wrong that i need ;after case but : is what it tells me to use in the examples that i find. what is the problem am i doing something wrong?

Your code so far

function caseInSwitch(val) {
  var answer = "";
  // Only change code below this line
 case 1:
    answer = "alpha";
  case 2:
    answer = "beta";
     case 3:
    answer = "gamma";
  case 4:
     answer = "delta";
  // Only change code above this line  
  return answer;  

// Change this value to test

Your browser information:
windows 10 64bit

Google Crome
Link to the challenge:

you forgot to write the switch statement.

switch (val) {


Oh Okay thanks a ton man i was so confused

1 Like