Is this a syntax error?

Tell us what’s happening:
I am struggling to see the error in Basic JavaScript: Replacing If Else Chains with Switch. All switch cases work except for the last one.
Here is my code:

function chainToSwitch(val) {
var answer = "";
// Only change code below this line
switch (val){
  case "bob":
    answer = "Marley";
  case 42:
    answer = "The Answer";
  case 1:
    answer = "There is no #1";
  case 99:
    answer = "Missed me by this much!";
  case 7:
    answer = "Ate nine";
// Only change code above this line
return answer;


Your browser information:

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

Challenge: Replacing If Else Chains with Switch

Link to the challenge:

Everything is fine in this piece of code. what kind of error do you get?
also, use markers to post codes like below:

type or paste code here

Sorry I will try to do that from now on. This is the error that shows up:

type error here

// running tests


should be “Ate Nine” // tests completed

You need to capitalize the word Nine at the end. like this “Nine”

New it would be something super simple. Thank you for your help.

No problem. glad I helped you