JavaScript Best Practices — DOM Manipulation and Functions

John Au-Yeung
Level Up Coding
Published in
5 min readFeb 4, 2020

--

Photo by Les routes sans fin(s) on Unsplash

Like any other programming language, JavaScript has its own list of best practices to make programs easier to read and maintain. There are a lot of tricky parts to JavaScript, so there are things we should avoid that reduce the quality of our code. By following best practices, we can create elegant and manageable code that’s easy for anyone to work with.

--

--