

704: Stump'd JS + CSS Interview Questions
Dec 13, 2023
Wes and Scott dive into a lively quiz of JavaScript and CSS interview questions. They tackle topics like the CSS 'contain' property and the intricacies of CSS Grid layouts. Discussions include the seven parts of CSS Houdini, and differences between pseudo elements and classes. The duo explores error handling in JavaScript and the limitations of serverless architecture, along with accessibility in SVGs. They also uncover flex properties and share tips on organizing your coding life with a touch of humor.
AI Snips
Chapters
Transcript
Episode notes
CSS Contain
- CSS
contain
improves rendering performance by controlling what the browser renders. - It's useful for critical performance situations, affecting layout, size, and paint.
CSS Grid Equal Columns
- In CSS Grid,
repeat(1fr, 3)
doesn't guarantee equal columns due to content overflow. - Use
minmax(0, 1fr)
for truly equal width columns, handling content overflow gracefully.
HTML Bidirectional Text
- The
<bdi>
tag isolates bidirectional text, preventing surrounding text direction conflicts. <bdo>
overrides the text direction.