HarshKapadia2 / one-or-two

A hand gesture model web app to detect 1 and 2 in a picture.
https://one-or-two.herokuapp.com/
MIT License
5 stars 4 forks source link

Disable `Predict` button on click. #12

Closed HarshKapadia2 closed 3 years ago

HarshKapadia2 commented 4 years ago

On the home page (./templates/home-page.html), once the Predict button is clicked, it should be disabled so that multiple requests are not sent to the server.

Use client side JavaScript (JS) to handle this.

Steps:

Haroonchik commented 3 years ago

@HarshKapadia2 I will do this task.

HarshKapadia2 commented 3 years ago

Go ahead @Haroonchik. Please take note of the suggestions on PRs and commit messages that I gave you in PR #15.

Haroonchik commented 3 years ago

@HarshKapadia2 Check, please https://github.com/HarshKapadia2/one-or-two/pull/17

HarshKapadia2 commented 3 years ago

PR #17 merged!

HarshKapadia2 commented 3 years ago

Hey @Haroonchik, I am hosting a Hacktoberfest and Open Source session tomorrow. If you're interested, registration and further details are available here: https://bit.ly/otcHacktoberfest1