Error :Oops, try again. Make sure you capitalize Math in Math.floor() and Math.random()!


var slaying = true;
// A bit of new math magic to calculate the odds
// of hitting the dragon. We’ll cover this soon!
var youHit= Math.floor(Math.random() *2);
var damageThisRound= Math.floor(Math.random()*5 + 1);
var totalDamage= 0;


I am facing the same problem. Dont know what is the issue here.


I am having the same issue. I have had this issue for a month or so, I just continued on through the lessons.


This does not still work.
I do not understand.


delete the two comment lines… its a stupid bug