[CLOSED] Already Solved Thanks

Hello,

I am on Basic Javascript problem No. 185 with the title name “Selecting from many options with Switch Statements” and am having a tough time figuring this out, this is enraging and I just want to get this over with.

Thank you,

Guiseppe6285

Your code so far

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

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

Your browser information:

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

Link to the challenge:
https://www.freecodecamp.org/challenges/selecting-from-many-options-with-switch-statements

Problem already solved. It turns out instead of the double quotes ("") I needed the single quotes (’’) for the problem. I’m so embarrassed.

Sorry about that,

Guiseppe6285