Basic JavaScript - Adding a Default Option in Switch Statements

Tell us what’s happening:
Describe your issue in detail here.

Every time I submit it tells me " should return the string “bird”" I have no idea where I went wrong

  **Your code so far**
function switchOfStuff(val) {
let answer = "";
// Only change code below this line
switch (val) {
case "a":
answer = "apple";
break;
case "b":
answer = "bird";
case "c":
answer = "cat";
break;
default:
answer = "stuff";
break;

}

// Only change code above this line
return answer;
}

switchOfStuff(1);
  **Your browser information:**

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

Challenge: Basic JavaScript - Adding a Default Option in Switch Statements

Link to the challenge:

You omitted the break for this case

1 Like

i still don’t get where though

omg never mind i figured it out