Top posts

Every blog post that took off on Hacker News, ranked by the votes of its best submission. 8,469 posts.

Web & Frontend
Any year
2521

JS things I didn’t know existed

I was reading through the MDN docs the other day and found these JS features and APIs I never knew existed. So here is a short list of those things, useful or not - learning JS seemingly never ends. Label Statements [https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/

2533

Syntax Highlighting Is Backwards (2018)

Most code editors color different pieces of your program in different ways. For instance, they’ll make keywords like if bold and bright so that you notice when you’ve misspelled them. They’ll make non-executable parts like comments and documentation fainter so that you know that the computer isn’t seeing that part of…

2541

Serve Videos Instead of GIFs

The Graphics Interchange Format ( GIF ) is over 30 years old but is a pervasive part of internet culture. We use GIFs to serve short, silent, and looping videos, which frequently become memes . Entire services exist to create and share them, and many smartphone keyboards have built-in GIF support.

2546

CSS-Tricks in Limbo

I’m sad to say that CSS-Tricks is stuck in limbo again. The site was acquired by Digital Ocean in 2022, and it continued to run under their ownership until February of 2023, when DigitalOcean fired the people working on it. The site stayed latent for a year before DigitalOcean re-hired lead editor Geoff Graham in June…