Need help with solving = (Replacing If Else Chains with Switch)

function chainToSwitch(val) {
var answer = “”;
// Only change code below this line

switch (val) {
case “bob”:
answer = “Marley”;
break;
case “42”:
answer = “The Answer”;
break;
case “1”:
answer = “There is no #1”;
break;
case “99”:
answer = “Missed me by this much!”;
break;
case “7”:
answer = “Ate Nine”;
break;
}

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

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

this there something that I am missing???

I believe the numbers should be actual numbers, as in 42, not "42". It would help if you mentioned what error you are seeing in the lower-right corner of the challenge screen.

chainToSwitch(42) should be “The Answer”

chainToSwitch(1) should be “There is no #1

chainToSwitch(99) should be “Missed me by this much!”

chainToSwitch(7) should be “Ate Nine”

your right they, they were meant to be numbers and not strigs. cheese