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.
Opening a link in a new tab comes with a security vulnerability that you may not be aware of. Protect your users with this simple trick.
Ever wanted to get the value of an HTML input element as a number? Learn an easy way to do it with this handy trick.
There are various ways to create an empty link, but some options are more appropriate than others. Learn the best way to handle empty links with this quick tip.
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.