tubeshowcaseโ—1,668,429 videosโ™ก My collection 0
โ† Learn to Code

Learn to Code04:07

Add error messages to your CSS

Kevin Powell โ†—

From the creator

๐Ÿ‘‰ Writing Resilient CSS is the newest module in CSS Demystified, and the whole course is 32% off for Black Friday: https://thecascade.dev/courses/css-demystified/?utm_source=youtube&utm_medium=social&utm_campaign=regular-video Use :has() and :not() to flag components that are being used wrong, with an outline and an error message you can read right in DevTools (and that an AI reads when you paste the code into a chat). ๐Ÿ”— Links โœ… Testing HTML With Modern CSS (Heydon Pickering): https://heydonworks.com/article/testing-html-with-modern-css/ โœ… CSS Demystified: https://thecascade.dev/courses/css-demystified/?utm_source=youtube&utm_medium=social&utm_campaign=regular-video โœ‰ Keep up to date with everything I'm up to https://www.kevinpowell.co/newsletter ๐Ÿ’ฌ Come hang out with other devs in my Discord Community https://discord.gg/nTYCvrK โญ Are you a beginner? HTML & CSS for absolute beginners is for you: https://learn.kevinpowell.co ๐ŸŽ“ Start writing CSS with confidence with CSS Demystified: https://cssdemystified.com ๐Ÿš€ Already mastered CSS? Check out my advanced course, Beyond CSS: https://www.beyondcss.dev/ --- Help support my channel ๐Ÿ‘จโ€๐ŸŽ“ Get a course: https://www.kevinpowell.co/courses ๐Ÿ‘• Buy a shirt: https://cottonbureau.com/people/kevin-powell ๐Ÿ’– Support me on Patreon: https://www.patreon.com/kevinpowell or through YT memberships: https://youtube.com/@kevinpowell/join --- ๐Ÿง‘โ€๐Ÿ’ป My editors: In most videos, Iโ€™m using CodePen these days: https://codepen.io/ - with High Contrast Dar

Published 2026-11-18 ยท Watch on YouTube โ†—
Availability and playback restrictions are controlled by the original channel.

Keep exploring Learn to Code