Finding ways to improve and optimize your code takes a lot of time, research and energy. Level up your coding skills one step at a time with this collection of quick tips and tricks.
Did you know you can use a native HTML attribute to add lazy load to images? Learn all you need to know with this quick tip.
Did you know you can use Chrome Developer Tools to debug your Node.js code? Find out how in this short guide.
Use the HTML
autocomplete attribute to create more secure and accessible password fields.
Learn how to make your CSS transitions feel perfect when users interact with elements on the page with this simple tip.
Resource prefetching is a great technique to improve perceived page speed on your website and one that requires little to no effort. Learn how to use it today.
It's generally not a good idea to use bare
except clause in Python, but do you know why?
Learn the difference between two common ways to access values in Python dictionaries and level up your code today.
Learn two ways to format a string in Python with this quick tip.
Mutable default arguments can trip up Python beginners and veterans alike. Here's a quick workaround to deal with them.
When developing React components, you might often need to conditionally apply a className. Learn how to handle empty classNames correctly using this handy tip.
Avoid unnecessary re-runs by using primitive dependencies in your React effect.
When working with multiple
useState hooks in React, things can get a bit complicated while debugging. Luckily, there's an easy way to label these values.
Did you know there's an easy way to create a descending list of numbered items with pure HTML? Learn how with this handy tip.