Lesson returns an error?

Tell us what’s happening:
Describe your issue in detail here.
So pretty much i get this messege “Something is not quite right. A report has been generated and the freeCodeCamp.org team have been notified”
For the first time since starting the course i’ve been that stuck that i had to copy and paaste from the tutorial and it still did not work. Am i that oblivious or is there an issue here?
Your code so far

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

// Only change code above this line
return answer;

  **Your browser information:**

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.88 Safari/537.36.

Challenge: Selecting from Many Options with Switch Statements

Link to the challenge:

It works on my end. I’d try clearing your cache and logging back into freeCodeCamp.

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