Our Approach: Web Components and Utility Classes


placeholder

This is a premium lesson.

Subscribe to get access to the entire course.

Sign up now

We’ve gone through nearly half a dozen options for writing user interfaces. The two that we’ll be writing in this course are:

In summary, you’ll write CSS classes because:

As for web components, you’ll write them because:

Utility classes or components?

The great thing about using these two options is that they can often help bolster each other’s shortcomings. We can use utility classes to apply global styles without JavaScript, and we can use web components to encapsulate complex markup. We’ll even use a handful of our utility clas