How to Resolve NextJS Not Returning Correct Status for 404 PagesI was struggling to understand why my NextJS project using app router was not returning a 404 status code when I used the built in notFound() function. This took to me some time to figure out, so I am sharing the fix here in hopes that it will help s...2 min read·chjweb.seAug 25, 2025
3 Common Alt Attribute MistakesMost web developers are aware of the alt attribute and have probably read something like: “always include the alt attribute to improve accessibility.” A common misconception is that simply putting any kind of text inside the alt attribute will improv...6 min read·chjweb.seFeb 1, 2025
The Problem with Using Placeholder AttributesI am not the first person to write about the accessibility issues of placeholders, but I keep seeing them pop up in different projects. It is not uncommon to see a design that looks like the following: An input field, where the only way to discern i...4 min read·chjweb.seJan 21, 2025
Gradient Border in Pure CSSIt's been a while since I last made an post in the Pure CSS series, but now it's time to add another entry to it. This post will show you how to create a gradient border in Pure CSS. The "Pure CSS" part mainly refers to not having to use a third-part...4 min read·chjweb.seFeb 10, 2022
A Better Way To Build With FaunaMost tutorials on FaunaDB tells you to upload your GraphQL schema via their UI. When I started using Fauna, I felt that this workflow was very tedious. Every time I'd make a change in my schema, however small, I'd have to open the Fauna dashboard and...4 min read·chjweb.seFeb 8, 2022