Why does challenge "Rabbit Racer" keep saying, "We don't need to declare the button every time draw is called, only once."
Here is my code, what is wrong???
var btn1 = new Button({
x: 350,
y: 350
});
btn1.draw();
}; (end of draw function)
Please sign in to leave a comment.