Why doesnt this work? It just says to submit but it says syntax erroe


#1

why is it keep saying syntax error?

var sport = prompt ("What's your favorite sport?",'Type your favorite sport here');

switch(sport) {
case 'Football'
console.log("Go team go!");
break;
case'soccer'
console.log("That's my favorite sport too!!");
break;
case'wrestling'
console.log(" Nice, My brothers play that.");
break;
default:
console.log("HUH! I'm not sure what"+ sport + "Is. It's interesting tho.");
}


#2

var sport = prompt ("What's your favorite sport?",'Type your favorite sport here');

switch(sport) {
case 'Football' : <-----------you forgot to add colon ":" to your code & don't forget
console.log("Go team go!");
break;
case'soccer':
console.log("That's my favorite sport too!!");
break;
case'wrestling':
console.log(" Nice, My brothers play that.");
break;
default:
console.log("HUH! I'm not sure what"+ sport + "Is. It's interesting tho.");
}

P.S don't forget javascript is case sensitive.


#3

case 'Football'; ": "is missing....each case with :ending...