Front-End
Event Delegation in JavaScript and When to Use It
You render a list of 300 rows, attach a click listener to each delete button, and everything works until new rows arrive from...
Front-end lead
Lorenzo started as a visual designer and moved into CSS after watching too many of his layouts fall apart on phones. He writes about front-end craft, interfaces and accessibility, and still tests everything with the keyboard first.
Front-End
You render a list of 300 rows, attach a click listener to each delete button, and everything works until new rows arrive from...
Accessibility
A sighted user glances at a pricing table and instantly knows that "$29" belongs to the Pro plan and the "Monthly" row.
Front-End
Your search box fires an API request on every keystroke, so typing "headphones" sends ten requests and the results flicker as...
A screen reader user lands on your toolbar and hears "button, button, button, button".
Front-End
You start a layout with flexbox, add a wrap, fight the last row that will not line up with the rows above it, and end up with a...
Accessibility
A modal opens, a keyboard user presses Tab, and focus quietly slips behind the overlay into a page they can no longer see.