Browsing Tag
javascript
31 posts
Making HTTP Requests with Fetch in JavaScript
I still remember the days of XMLHttpRequest — nested callbacks, verbose setup, and a syntax that never quite…
Working with Web APIs in JavaScript
For a long time, I thought “the DOM” was basically the only browser API worth learning well. Then…
Debugging Techniques and Tools in JavaScript
For a long time, my entire debugging strategy was console.log sprinkled everywhere, followed by a lot of guessing.…
Handling Errors in JavaScript
When I first started writing JavaScript professionally, I treated errors like an afterthought. I’d write my happy-path code,…
Classes and Modules in JavaScript
I remember the days before ES6 when I had to fake object-oriented patterns in JavaScript using prototype chains…
Destructuring and Spread/Rest Operators in JavaScript
I still remember the exact moment I fell in love with destructuring. I was refactoring a function that…
Arrow Functions and Template Literals in JavaScript
I can honestly say arrow functions and template literals were the two ES6 features that changed my daily…
Async/Await Syntax in JavaScript
I’ll never forget how much cleaner my code became the day I started using async/await seriously. I had…
Callback Functions and Promises in JavaScript
Before I really understood Promises, I lived in what the JavaScript community jokingly calls “callback hell” — deeply…
Understanding Asynchronous Programming in JavaScript
When I first learned JavaScript, the fact that it’s “single-threaded” confused me — how could a single-threaded language…