Hello and welcome to codecombat discourse @GreenBadger540! This is a cozy forum where you can share ideas, share fan art, get assistance for code, etc! Before you proceed, we hope that you review this topic, which shows all essentials of this board! Thanks!
That is wierd. I do not see any mistake in your code. Try to email support@codecombat.com and tell them about the problem and send them the screenshot. They should be able to help you solve this issue.
Andrei