's Avatar

@justcodecats

17
Followers
123
Following
2
Posts
08.07.2025
Joined
Posts Following

Latest posts by @justcodecats

decentralization is when you fuck up the CSS so its not properly centered

23.02.2026 06:36 👍 67 🔁 11 💬 0 📌 0

Very impressive!! Well done. Works great on mobile too

22.02.2026 16:13 👍 3 🔁 0 💬 0 📌 0
Dark-themed code snippet showing URLPattern examples on MDN: two JavaScript blocks matching "/books" and "/books/:id" with console.log outputs.

Dark-themed code snippet showing URLPattern examples on MDN: two JavaScript blocks matching "/books" and "/books/:id" with console.log outputs.

🆕 The URL Pattern API is Newly Available!

Use it to match and extract parts of URLs, no need to reinvent routing logic. Supports literals, wildcards, named groups, and even regex constraints.

Learn how it works 👇
developer.mozilla.org/en-US/docs/...

26.01.2026 11:00 👍 53 🔁 7 💬 0 📌 0
Post image

It sure takes some time to get used to those methods 😭 Reminds me of a tweet I posted years ago about some weird behavior with Array.prototype.at()

Be careful when you use `Array.prototype.at()` as it converts whatever you pass into a number and even NaN works surprisingly.

19.11.2025 18:51 👍 0 🔁 0 💬 0 📌 0