I can't find my problem on Dragon Slayer


I'm stuck. I've read through several times. I've tried some trial and error changes to my code, but I can't seem to find the problem(s). Can anyone with a keener eye than mine spot my mistake(s)?

var slaying = true;
var youHit = Math.floor(Math.random() * 2);
var damageThisRound = Math.floor(Math.random() * 5+1);
var totalDamage = 0;
{console.log("You hit the dragon!!!");
totalDamage += damageThisRound;
{if(totalDamage >= 4)
{console.log("You slew the dragon!!!");
slaying = false;}
else{youHit = Math.floor(Math.random() * 2);}}
else{console.log("A swing and a miss...and now the dragon is pissssed!!");
slaying = false;}}


totalDamage += damageThisRound; {
First thing that pops out is you have a curly bracket there, after tat statement, for no reason :). Once you remove it, it should fix the syntax error.