How to Discover a CSS Trick | CSS-Tricks

How to Discover a CSS Trick | CSS-Tricks

Do we invent or discover CSS tricks? Michelangelo described his sculpting process as chiseling away superfluous material to reveal the sculpture hidden inside the marble, and Stephen King says his ideas are pre-existing things he locates and uncovers “like fossils in the ground.” Paragraph one is early for me to get pretentious enough to liken…

Read More
Handling JavaScript Event Listeners With Parameters — Smashing Magazine

Handling JavaScript Event Listeners With Parameters — Smashing Magazine

Event listeners are essential for interactivity in JavaScript, but they can quietly cause memory leaks if not removed properly. And what if your event listener needs parameters? That’s where things get interesting. Amejimaobari Ollornwi shares which JavaScript features make handling parameters with event handlers both possible and well-supported. JavaScript event listeners are very important, as…

Read More