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”
If you want to see me review your project next leave a link here!
i love the silly intros lmao
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.
came here from Dev Ed channel . And loved your content.
#subscribed ๐
Great work ๐. Thanks for sharing. You should some of these as live streams also ๐ค๐ฅ
I like you to review my project ->
https://github.com/natqe/utilizes#readme
๐=> { ' 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. '}.(๐);
Nice one. A lot of good info dude.
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?