---
title: "Carl Hallén Jansson (@chjweb) | Hashnode"
description: "Frontend developer and freelancer. Read the latest articles by Carl Hallén Jansson on Hashnode."
url: "https://hashnode.com/@chjweb"
---

@chjweb

# Carl Hallén Jansson

@chjweb · Sweden · Joined October 2020

Frontend developer and freelancer

[Website](https://chjweb.se/en)

### [How to Resolve NextJS Not Returning Correct Status for 404 Pages](https://chjweb.se/blog/how-to-resolve-nextjs-not-returning-correct-status-for-404-pages?utm_source=hashnode&utm_medium=feed)

I 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.se](https://chjweb.se/blog/how-to-resolve-nextjs-not-returning-correct-status-for-404-pages?utm_source=hashnode&utm_medium=feed)

[Aug 25, 2025](https://hashnode.com/posts/how-to-resolve-nextjs-not-returning-correct-status-for-404-pages/68ac7f253be184244613aaef)

### [3 Common Alt Attribute Mistakes](https://chjweb.se/blog/3-common-alt-attribute-mistakes?utm_source=hashnode&utm_medium=feed)

Most 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.se](https://chjweb.se/blog/3-common-alt-attribute-mistakes?utm_source=hashnode&utm_medium=feed)

[Feb 1, 2025](https://hashnode.com/posts/3-common-alt-attribute-mistakes/679e529805a071de49a7dbcd)

### [The Problem with Using Placeholder Attributes](https://chjweb.se/blog/the-problem-with-placeholders?utm_source=hashnode&utm_medium=feed)

I 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.se](https://chjweb.se/blog/the-problem-with-placeholders?utm_source=hashnode&utm_medium=feed)

[Jan 21, 2025](https://hashnode.com/posts/the-problem-with-placeholders/678ff6ed4607deb16eff3417)

### [Gradient Border in Pure CSS](https://chjweb.se/blog/gradient-border-in-pure-css?utm_source=hashnode&utm_medium=feed)

It'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.se](https://chjweb.se/blog/gradient-border-in-pure-css?utm_source=hashnode&utm_medium=feed)

[Feb 10, 2022](https://hashnode.com/posts/gradient-border-in-pure-css/6204fdc1b6c216065a35d539)

### [A Better Way To Build With Fauna](https://chjweb.se/blog/a-better-way-to-build-with-fauna?utm_source=hashnode&utm_medium=feed)

Most 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.se](https://chjweb.se/blog/a-better-way-to-build-with-fauna?utm_source=hashnode&utm_medium=feed)

[Feb 8, 2022](https://hashnode.com/posts/a-better-way-to-build-with-fauna/62029eb4457dec06830c84aa)
