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


#1

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;


#3

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


#4

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


#5

This does not still work.
I do not understand.
HELP!!!!!


#6

delete the two comment lines.. its a stupid bug