Prefetching resources in the browser
Resource prefetching is a great way to improve perceived page speed on your website and requires little effort. Learn how to use it today.
30 seconds of code contains a curated collection of code articles covering a wide range of development needs. The collection spans many topics, ranging from simple coding problems to theoretical concepts and development techniques.
Resource prefetching is a great way to improve perceived page speed on your website and requires little effort. Learn how to use it today.
Ever wanted to delete a property from a JavaScript object? Here are a few way you can accomplish that.
Learn everything you need to know about JavaScript modules with this handy cheatsheet.
Discover how to improve your website's performance by implementing lazy loading for images using a native HTML attribute.
Messing up the order of chained then
and catch
methods in JavaScript promises can cause problems. Here's a short primer on the subject.
Learn how to use the cubic-bezier()
class of easing functions and create beautiful animations that stand out.
JavaScript developers often get confused by JavaScript's variables and scope. Here's a quick guide to understanding these concepts.
Learn how to swap the values of two variables in JavaScript using a single line of ES6 code.
Learn how to make your CSS transitions feel perfect when users interact with elements on the page with this simple tip.
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.
JavaScript has three different empty states for variables. Learn their differences and how you can check for each one.
Learn all you need to know about the differences between JavaScript's double equals and triple equals operators.
Learn what HTML5 attribute you can use to customize the names of your downloadable files with this quick tip.
Learn the differences between PropTypes.objectOf()
and PropTypes.shape()
and where to use each one with this quick guide.
Ever needed to create a git commit with a different date? Here's a quick and easy way to do it.
Familiarize yourself with the most common HTTP status codes with this handy cheatsheet.
Learn how to add multiple authors to a git commit with this quick and easy tip.
Learn everything you need to know about CSS units with this handy cheatsheet.
Object.is()
and the triple equals operator (===
) can both be used for equality checking in JavaScript, but when should you use each one?
Use the HTML autocomplete
attribute to create more secure and accessible password fields.
Did you know you can use Chrome Developer Tools to debug your Node.js code? Find out how in this short guide.
Maximize your productivity when working with a bash or other shell terminal by using these keyboard shortcuts.