Someone may help me on this error : document.getElementById("star-timer").addEventListener("click", () => { if (int !== null) { clearInterval(int); Uncaught TypeError: Cannot read properties of null (reading 'addEventListener')
@@hemantdangi6470 document.getElementById("start").addEventListener("click", () => { // Changed to "start" if (int !== null) { clearInterval(int); } int = setInterval(displayTimer, 10); }); this happens to id mismatched maybe ,try this
Super easily understand sir
Thank you so much for this helpful stopwatch website it's totally amazing ❤
Thank you very much wherever you are❤❤
Wow❤
Good job
Thank you bro
if you click start button more than one time quickly then you can't stop stopwatch
Thanks brother ❤
i was hoping you would explain js
code
Someone may help me on this error :
document.getElementById("star-timer").addEventListener("click", () => {
if (int !== null) {
clearInterval(int);
Uncaught TypeError: Cannot read properties of null (reading 'addEventListener')
i am also facing the same issue
@@hemantdangi6470 document.getElementById("start").addEventListener("click", () => { // Changed to "start"
if (int !== null) {
clearInterval(int);
}
int = setInterval(displayTimer, 10);
});
this happens to id mismatched maybe ,try this
what is display timer in setinterval
It's a function name but he is define this function name after
Спосибо
🙏
Hello my nemis adilet
It doesn't help
10 QQQQQQQQQQ
copied
The original is literally linked in the description as credit 😂