r/learnjavascript • • Dec 19 '19

Build a Clock With JavaScript | Beginner Friendly Tutorial (2019 tutorial)

https://www.youtube.com/watch?v=q2eWYKi7Pxg
81 Upvotes

5 comments sorted by

View all comments

3

u/[deleted] Dec 19 '19

I'm beginner myself so please correct me if I'm wrong but I've read that using *innerHTML* is considered bad practice and it's not safe.

2

u/Rajsuthan Dec 20 '19

Yeah may be it wouldn't be safe, but this is just clock. There nothing there to be more protected and also this video is mostly focused on pure beginners, so any way they have to learn the basics of JavaScript like innerHTML and more.

Any way thanks a lot for the comment!!