Help on Part 4 Switch "unspecified error"[solved]


I got an unspecified error on this exercise and was wondering if someone could help me identify my error.

var user = prompt("What is your favorite sport to play").toLowerCase();
case 'football':
console.log("It’s not whether you get knocked down, it’s whether you get up");
case 'rugby':
console.log("Rugby is a beastly game played by gentlemen; soccer is a gentleman's game played by beasts; football is a beastly game played by beasts. - Henry Blaha");
case 'soccer':
console.log("Success is no accident. It is hard work, perseverance, learning, studying, sacrifice and most of all, love of what you are doing or learning to do. - Pele");
console.log("I will have to play " + user + "at some point. It has always looked like fun");


nevermind, I had the code correct. It just wasn't working for some reason. I refreshed the page and it worked.