Chris Coyier
Comparing Iterators
Matt Smith on when to use map() vs. forEach() in JavaScript. Just one of those things I can imagine asking or being asked in a coding interview. Some interesting comments below the article as well.
Seeking an Answer: Why can’t HTML alone do includes?
Is there a perfectly clear and reasonable answer? Or could we get this someday?
“A Typeface for Kids”
If you’re designing something for kids, you’ve always got Comic Sans as a typeface choice. We make fun of it, but it really is playful and nice and quite readable. It’s not nearly this egregious. I’m sure you can find other good options out there too, but big high fives to the gang at Underware […]
What’s the difference between ESLint and TypeScript?
What is the difference between ESLint and TypeScript? Perhaps that feels like a strange question as ESLint is a, uhm, linter, and TypeScript is a language that compiles to JavaScript. Josh Goldberg writes how there is some overlap: While ESLint and TypeScript operate differently and specialize in different areas of code defects, there is some […]
Newfangled Browser Alternatives
Most folks use one of the big browsers that we’ve all heard of. But there are more and more niche browsers built upon those big open source engines that differentiate themselves in interesting ways.
Pretty pretty
text-wrap: balanced; dropped first but text-wrap: pretty; wasn’t too far behind and they are both useful. The pretty value is now coming to Safari and Jen Simmons calls it “an unprecedented level of polish to typography on the web.” If you’ve already seen pretty and think of it as the thing that prevents short last […]
Lessons Learned from Recreating a Styled Dialog
Sometimes pretty simple HTML elements have a lot of things to consider and take care of, from interactivity, styling, accessibility, and more.
Minimal CSS-only blurry image placeholders
I’m not the world’s biggest fan of LQIP’s (low quality image placeholders) generally (doing nothing other than handling aspect ratio is… fine), but I really like how much creativity it inspires. I’ve seen a ton of different approaches to it over the years, that all use different technology and all have different advantages and disadvantages. […]
The Latest in the “How are we going to do masonry?” Debate: Apple Says “Item Flow”
Last we checked in with how the web platform was planning on helping us with “masonry” layout, it was a versus battle between “just use grid” and “make a new layout type”. Now Apple folks have an idea: a new shorthand property called item-flow. Nothing is decided here (I don’t think), but it seems very […]