0
How To Make Stopwatch In JavaScript Or Any Language
i Want To Make a Quiz website in which i would use that please help me us
1 Resposta
+ 2
There are a lot of examples at:
https://www.sololearn.com/Codes?ordering=MostRecent&query=stopwatch
Another example with more explanation is at:
https://tinloof.com/blog/how-to-build-a-stopwatch-with-html-css-js-react-part-2/
That is for use in ReactJS which you're probably not using, though.
A plugin/library is here:
https://demo.mobiscroll.com/jquery/timer/stopwatch#
mobiscroll isn't completely free and open source, though. They provide only the minified version for free.
If I were you, I would take a working example with code and trim it down to serve your needs. This way you make it look exactly the way you want and will make sure it fits with the look and feel of your website. I'd then isolate it from the rest of your JavaScript and CSS code a bit like a third party library.