Code Review – Small JavaScript Projects




In this video I review a viewer submitted website consisting of many small JavaScript projects. The code of these projects is overall really strong, but there are plenty of places where I go through ways to clean up the code and make it more usable and readable. This is mostly done through using modern ES6/ES7 to rewrite old syntax, cleanup global variables, and remove callback hell.

๐Ÿšจ IMPORTANT:
If you would like to submit your own project for review please send me a message on Twitter (@DevSimplified) or leave a comment with a link to your project.

๐Ÿง  Concepts Covered:
– Converting callback hell to promises and async/await
– Cleaning up global functions by using classes
– How to use classes to cleanup code
– How to properly name variables and functions
– Future proofing code

๐ŸŒŽ Find Me Here:

Twitter: https://twitter.com/DevSimplified
GitHub: https://github.com/WebDevSimplified
CodePen: https://codepen.io/WebDevSimplified

#CodeReview #JavaScript #CodeRefactor

Original source


9 responses to “Code Review – Small JavaScript Projects”

  1. Can you please do a video on what to do after we've created a website , like creating backlinks, converting http to https for security etc, as a step by step tutorial or a series. I didn't find any video doing this and thought you explain it well, so asked if you could do it? Thanks for making these videos btw.

  2. ๐Ÿ‘=> { ' Great job and information as well as the full stack course' }.๐Ÿ‘=> { ' The code reviews are well needed and rare to find with good examples. '}.๐Ÿ‘=> { ' .This , and the full stack course helps alot + always appreciated }.(๐Ÿ‘)=>{ ' Great job and valuable content. '}.(๐Ÿ‘);

  3. The difference between newbies and seniors are how you organize your code in a clean, readable, efficient, and future-proof code. ^^ A great learning journey! I do have a question: if one page contains a lot of small projects and each has its own long js file, will adding more such projects to this page slow down the speed of the whole page? If it's in this case, what is the best way to handle this?

Leave a Reply