Comment

Comment by austincheney

    onkeydown=function(event){if(event.key==="Enter"){mySubmit();}}
You are clearly overthinking the challenge.

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton