Featured Slider

A DEVELOPER’S WORKING NOTEBOOK

Things I’m learning.
Things I’m building.

A collection of things I’ve learned, built and figured out along the way.

const journey = {
  learn: true,
  build: true,
  keepGoing: true
};

5 Things to Test before shipping a Search Box

Type a word, click Search, and results appear. Everything works, right?That confirms one successful search. Before shipping, check what happens when requests are slow, input is empty or someone navigates without a mouse.Here are five checks worth adding to your testing routine.1. Empty inputWhat happens when someone clicks Search without typing anything? What about entering only spaces?Decide the…

5 Website Performance Improvements and How to Check They Work

A slow website can have several causes: oversized images, expensive rendering, unnecessary downloads or fonts that delay readable content.Before changing anything, record a baseline using browser developer tools, Lighthouse or PageSpeed In…

Using Geolocation in a Weather App: Permissions, Failures and API Keys

Getting weather for someone’s location sounds simple: request coordinates, call a weather API and display the temperature.But what happens when they decline location access? What if their location loads successfully but the weather request…

Fetching API Data in JavaScript: Loading, Errors and Responses

Fetching API data takes more than sending a request. Your interface also needs to handle waiting, empty results, failed requests and unexpected response formats.This guide uses the browser’s Fetch API to explain those steps.Fetch, Axios an…

Docker Basics: Images, Containers, VMs and Compose Explained

An application works on one developer’s computer but fails on another because their dependencies or runtime versions differ.Docker helps reduce these environment differences by packaging software and its dependencies into images that can r…