You know those annoying “subscribe to our newsletter” modals that websites display?
What’s extra annoying is that they still pop up even if you’re subscribed to the newsletter.
Liked https://mastodon.online/@IdahoLark@syringa.social/111223393253736198.
You know those annoying “subscribe to our newsletter” modals that websites display?
What’s extra annoying is that they still pop up even if you’re subscribed to the newsletter.
Some thoughts on cooking Korean Stir-Fried Shredded Potatoes (Gamjachae Bokkeum) from Lopez-Alt’s The Wok cookbook. 3 stars ★★★☆☆. Turns out it’s really hard to beat french fries.
You can switch things around. Instead of adding lots of event handlers to lots of elements, you can add one event handler to the root element. Then figure out whether the element that just got clicked is special or not.
This is a good short article on JS event handling.