Building my personal website - Part 2: Displaying my blog on my site with Hashnode API

So far we've created the MVP of my website and deployed and hosted it on Vercel which I have a walkthrough on here. It is a simple website, and only displays the necessary information, but we want to implement some dynamic features and showing my pos...

Building my personal website - Part 1: Starting with Next.js and Tailwind CSS

I have to admit it. If not to you, then at least to myself. I haven't been developing my site for a long time. I've been working with Next.js on hobby projects for quite a while, and after the release of Next.js 13, I was convinced that my site neede...

HTTP header you probably don’t know — Clear-Site-Data

Photo by Joshua Sortino on Unsplash The hypertext transfer protocol also known as HTTP is the protocol for the web. Every time you communicate through the browser, a request is sent to a server over the HTTP protocol. You have probably heard of some ...

Lets build a Throttle hook in React

Whenever we search in a web app, we often don’t send the query to the backend immediately. The query will change with every keystroke, and by sending a request for every keypress, we will send a lot of unnecessary requests, that will eventually just ...

How to make your code more readable — focus on the happy path and reduce cyclomatic complexity!

In your job as a software engineer, you might have stumbled upon many different types of code. You find the well-crafted, well-documented code that is a blast to work in given the simplicity and many unit tests to notify you when changing the code wi...

Javascript for beginners — Understanding the reduce function.

Photo by Christopher Gower on Unsplash Working as a frontend developer, you will eventually stumble upon the reduce function. A built in method that is executing a reducer function on each element of an array which will result in 1 single output valu...