|View this newsletter on the web.
🔥 A small rant about tables
[Robin]: I’ve been interviewing a lot of folks lately for front-end roles at Gusto (where I work) and I’ve been noticing something peculiar about the interview process. In these interviews, I test a front-end engineer’s basic HTML and CSS skills with the following mockup that I ask them to build:
However! One point of anxiety I hear from a lot of folks in these exercises is whether they should use a
table to markup that calendar. I’ve heard it perhaps a dozen times this year, where the interviewee mentions that they’ve heard that the
table element is not good practice. And that they should never, ever use it.
Which is odd, because there’s nothing wrong with it! This calendar is the perfect use case for a
table — any time you’re marking up tabular data then a
table is just fine. The only problem comes in when you start using that element specifically for doing layouts. Like, say you want a grid of elements on a page – but that data is not tabular – then that’s not a great idea!
Anyway, I just thought I’d mention that because it’s mighty interesting to see this common concern leak out into our industry.