Need help please --Dragon Slayer! (JavaScript)


#1

What's wrong with my code? i am stuck here.


#2

Well, you should delete this whole code and start from the scratch.

It does not make sense to use code written by others in the educational site, sorry.

Track your code, line by line, what is the value of slaying at the end?


#3

You don't have any semicolons after your statements. Missing a small detail as this so far into the course suggests that you should go back and learn the basics again.