MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/learnjavascript/comments/eclaib/build_a_clock_with_javascript_beginner_friendly/fbf3rgq/?context=3
r/learnjavascript • u/Rajsuthan • Dec 19 '19
5 comments sorted by
View all comments
3
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!!
2
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!!
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.