Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Turning a Common UI Pattern into a Web Component

Kevin Powell via YouTube

Overview

Coursera Flash Sale
40% Off Coursera Plus for 3 Months!
Grab it
Learn to transform a common UI pattern into a reusable Web Component through this comprehensive tutorial featuring guest expert Michael Warren. Explore the fundamentals of creating custom elements, understanding Shadow DOM, and implementing lifecycle hooks in Web Components. Master event listeners and memory management while building practical validation logic and error handling systems. Discover how to define properties, customize error messages, and style Web Components effectively. Enhance user experience by leveraging CSS Parts and gain access to valuable resources for continued Web Component learning. Follow along as you build a functional form groups web component from scratch, covering everything from basic setup to advanced styling techniques and user feedback implementation.

Syllabus

00:00 - Introduction
03:02 - Creating Custom Elements
06:11 - Understanding Shadow DOM
08:54 - Lifecycle Hooks in Web Components
12:03 - Event Listeners and Memory Management
14:45 - Implementing Validation Logic
17:50 - Error Handling and User Feedback
36:13 - Defining Properties and Error Handling
39:10 - Customizing Error Messages
49:42 - Styling Web Components
01:00:18 - Enhancing User Experience with CSS Parts
01:10:06 - Resources for Learning Web Components

Taught by

Kevin Powell

Reviews

Start your review of Turning a Common UI Pattern into a Web Component

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.