What's wrong with my code? i am stuck here.
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?
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.