Hacker News new | ask | show | jobs
by sysrpl 969 days ago
Is it that hard to:

    document.querySelectorAll("#some-form input").forEach(e => e.classList.add("error"));
1 comments

No it's not