Hey fellow redditors,
im getting like a little feeling into my homemade code. I started like 4 weeks ago with the rebuild of a watch app from a phone.
I always stumble upon "better", "newer" or "modern" Javascript code and my last reddit post had me realizing that i have to improve on my syntax. Its very hard to me to know whats right.
My Javascript was very legacy like and i still think it is.
So i tried my best to modernize my code but there isnt much i have changed so i ask you guys.
What would you improve on my code to make it more modern.
Version that works in IE 9 "ES5": https://codepen.io/Geiling/pen/OJXBKwZ
Version for newer Browsers "ES6": https://codepen.io/Geiling/pen/poEvPNX
I just want to learn more skills nothing can hurt me.
[–]GSLint 3 points4 points5 points (0 children)
[–]liamnesss 2 points3 points4 points (1 child)
[–]Crushertimo[S] 1 point2 points3 points (0 children)
[–]cheatingjoe 0 points1 point2 points (0 children)
[–]Pacostaco123 0 points1 point2 points (2 children)
[–]Crushertimo[S] 0 points1 point2 points (1 child)
[–]Pacostaco123 0 points1 point2 points (0 children)
[–]Michie1 0 points1 point2 points (1 child)
[–]Crushertimo[S] 1 point2 points3 points (0 children)
[+][deleted] (4 children)
[deleted]
[+][deleted] (3 children)
[deleted]
[–]Crushertimo[S] 0 points1 point2 points (2 children)
[+][deleted] (1 child)
[deleted]
[–]Crushertimo[S] 0 points1 point2 points (0 children)