Comment

Comment by whilenot-dev

Very nice blog post, thank you for sharing!

I spotted a small error in the Finally, Colors. section:

  const color = floor(random() * palette.length);
...should probably be

  const paletteIdx = floor(random() * palette.length);
  const color = palette[paletteIdx];

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton