Augment your dotrace.html page so that users can initiate repeated races without having to reload the page.

Question:

Augment your dotrace.html page so that users can initiate repeated races without having to reload the page. You can accomplish this by adding a button labeled "New Race"; when a user clicks this button, the positions of the dots should be reset to 0. If the user clicks the "Take a Step" button after the current race is complete, an alert box should appear directing the user to click the "New Race" button and begin a new race?

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question
Question Posted: