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.

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:


#CodeReview #JavaScript #CodeRefactor

Original source

9 thoughts on “Code Review – Small JavaScript Projects

  • May 18, 2019 at 17:59

    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.

  • May 18, 2019 at 17:59

    πŸ‘=> { ' 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. '}.(πŸ‘);

  • May 18, 2019 at 17:59

    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