I think i m very close to it but not geting it

I think i m very close to it but not geting it
0

#1

Tell us what’s happening:

Your code so far


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

// Change this value to test
caseInSwitch(1);

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0.

Link to the challenge:
https://learn.freecodecamp.org/javascript-algorithms-and-data-structures/basic-javascript/selecting-from-many-options-with-switch-statements


#2

You’re not assigning the values in the switch to anything - answer starts as an empty string, and you return that empty string. The switch needs to set what the value of answer should be