A deceptively complex form / HTML & CSS / Frontend Mentor

Kevin Powell September 3, 2025
Video Thumbnail

About

No channel description available.

Video Description

The project on Frontend Mentor: https://www.frontendmentor.io/challenges/contact-form--G-hYlqKJj?via=kevinpowell Finished code: https://github.com/kevin-powell/fem-contact-form/ ✅ 20:20 - Cascade layers (@layer): https://youtu.be/NDNRGW-_1EE ✅ 27:30 Container queries: https://youtu.be/2rlWBZ17Wes ✅ CSS DevTools for Beginners free course: https://devtoolsforbeginners.kevinpowell.co/ ✅ 19:52 More on self-hosting fonts: https://youtu.be/zK-yy6C2Nck ✅ More on variable fonts: https://youtu.be/0fVymQ7SZw0 ✅ https://kevinpowell.co/courses #css ✉ 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](https://cssdemystified.com/) 🚀 Already mastered CSS? Check out my advanced course, Beyond CSS: https://www.beyondcss.dev/ ⌚ Timestamps 00:00 - Introduction 01:00 - The HTML 04:00 - form-group vs. wrapping inside a label 06:25 - Continuing the HTML 09:40 - Using a fieldset for the radio buttons 15:30 - Adding the checkbox 18:00 - Starting the CSS 24:20 - Creating the layout for the form 31:20 - Styling the inputs 35:45 - Adding the star to the required labels 39:20 - Fixing the star for the fieldset and radio labels 44:00 - Adding the border and background to the radio selectors 49:00 - The fieldset layout 51:20 - The height of the text area without magic numbers 54:50 - Styling the button 56:60 - Making the entire radio button area clickable 1:00:00 - Error states --- 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 editor: VS Code - https://code.visualstudio.com/ 🌈 My theme: One Dark Pro Var Night 🔤 My font: Cascadia Code --- I'm on some other places on the internet too! If you'd like a behind the scenes and previews of what's coming up on my YouTube channel: Bluesky: https://bsky.app/profile/kevinpowell.co Codepen: https://codepen.io/kevinpowell/ Github: https://github.com/kevin-powell --- And whatever you do, don't forget to keep on making your corner of the internet just a little bit more awesome!

Craft Your Web Mastery

AI-recommended products based on this video

Loading...
Of Course It's Good!: Aggressively Delicious Meals ANYONE Can Make and EVERYONE Will Love

Of Course It's Good!: Aggressively Delicious Meals ANYONE Can Make and EVERYONE Will Love

(668)
$29.01
FREE delivery Mon, Feb 16 on your first order
Loading...
Genki 1 Third Edition: An Integrated Course in Elementary Japanese 1 Textbook & Workbook Set

Genki 1 Third Edition: An Integrated Course in Elementary Japanese 1 Textbook & Workbook Set

(1,725)
$73.99
FREE delivery Mon, Sep 15
Loading...
ENOMIR Wireless Carplay Adapter for iPhone, Android Auto Wireless Adapter Fast Stable Auto-Connect, Mini USB Design Plug & Play Most Car Models & iOS Systems

ENOMIR Wireless Carplay Adapter for iPhone, Android Auto Wireless Adapter Fast Stable Auto-Connect, Mini USB Design Plug & Play Most Car Models & iOS Systems

(30)
$68.99
FREE delivery Sun, Nov 2
Loading...
Cordless Car Handheld Vacuum: Car Vacuum Cleaner with 16000Pa Ultra-Strong Suction, Brushless Motor & HEPA Filter - Lightweight Design for Drivers and Office Workers - Ashen

Cordless Car Handheld Vacuum: Car Vacuum Cleaner with 16000Pa Ultra-Strong Suction, Brushless Motor & HEPA Filter - Lightweight Design for Drivers and Office Workers - Ashen

(34)
$49.98
FREE delivery Sat, Apr 11
Loading...
Monster Sleep Ear100 Ear Buds, Sleep Earbuds with Stereo Sound, Design for Side Sleeper, 32H Playtime, Bluetooth 6.0, ENC Noise Cancelling, IPX6 Waterproof Mini Headphones, White

Monster Sleep Ear100 Ear Buds, Sleep Earbuds with Stereo Sound, Design for Side Sleeper, 32H Playtime, Bluetooth 6.0, ENC Noise Cancelling, IPX6 Waterproof Mini Headphones, White

(4)
$39.99
FREE delivery Mon, Mar 2
Loading...
Monster Sleep Ear100 Ear Buds, Sleep Earbuds with Stereo Sound, Design for Side Sleeper, 32H Playtime, Bluetooth 6.0, ENC Noise Cancelling, IPX6 Waterproof Mini Headphones, Black

Monster Sleep Ear100 Ear Buds, Sleep Earbuds with Stereo Sound, Design for Side Sleeper, 32H Playtime, Bluetooth 6.0, ENC Noise Cancelling, IPX6 Waterproof Mini Headphones, Black

(15)
$39.99
FREE delivery Mon, Feb 23
Loading...
Monster Persona 4th ANC Active Noise Canceling Headphones, Wireless Bluetooth Over-Ear Headphones with 3 EQ Modes, and 70H Playtime, Bluetooth 6.0, Deep Bass, Foldable Comfort Design for Travel, Black

Monster Persona 4th ANC Active Noise Canceling Headphones, Wireless Bluetooth Over-Ear Headphones with 3 EQ Modes, and 70H Playtime, Bluetooth 6.0, Deep Bass, Foldable Comfort Design for Travel, Black

(8)
$69.99
FREE delivery Sun, Jan 4