Hacker News new | ask | show | jobs
by philmcc 1427 days ago
Confession: I use it constantly. The thought of having to look up how to do absolutely everything makes me wince.

I am -genuinely- open to suggestions on how to get over that I just can’t currently justify making everything harder “for a short while” when that short while feels like it could be weeks or months to catch up to fluency.

1 comments

Instead of elems = $(selector, context), use elems = […context.querySelectorAll(selector)]

Instead of $.get(), use await fetch()

Instead of .on(eventtype, handler), use elem.addEventListener(eventtype, handler)

Instead of .animate(), use CSS animations