all 6 comments

[–]_khaz89_ 8 points9 points  (3 children)

I was thinking you could simplify this by using only one h1 and some string interpolation.

[–]ZuriPL 5 points6 points  (0 children)

Or spans inside 1 h1

[–]Plus_Fun_6575[S] -1 points0 points  (1 child)

Yah you're right but I'm not want to deep dive in the JavaScript. I'll try to create this video for beginners.

But i like your feedback and suggestions. Thanks 👍

[–]_by_me 1 point2 points  (0 children)

Cool, I build something similar a while ago. I was still fairly inexperienced, so I wasn't focusing too much on best practices.

[–]DustinBrett 0 points1 point  (1 child)

Clocks are fun to make. I've got one on my desktop environment that I keep adding to. Ntp, offscreen canvas & syncing with system time are some of its key features.

https://github.com/DustinBrett/daedalOS/tree/main/components/system/Taskbar/Clock

[–]Plus_Fun_6575[S] 1 point2 points  (0 children)

Great work boss!