Comment

Comment by gabrielsroka

You should be able to change

  e.addEventListener("keyup"...
to

  e.onkeyup=...
but I haven't tested it.

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton