Async & Defer
async and defer control how scripts are downloaded and executed relative to HTML parsing, directly impacting performance, execution order, and DOM availability.
Posts related to JavaScript.
async and defer control how scripts are downloaded and executed relative to HTML parsing, directly impacting performance, execution order, and DOM availability.
After hearing and seeing the term callback functions but not fully understanding what they were, I found clarity by recognizing how they are used in a component I built – an image carousel.
A brief look at some commonly used methods on the document object
JavaScript is the programming language of the web. It can run in many environments (web browsers, servers (Node.js), robots, house appliances), and most importantly, the web browser.
A breakdown of how I built a simple image carousel, focusing on how state, event listeners, and timing work together to create the interaction.