1×
Become a member
to unlock all features

Level Up!

Access all courses & lessons on egghead today and lock-in your price for life.

Autoplay

    Style an HTML Element with Styled Component

    javascriptJavaScript

    In this lesson, we are going to learn how to make our first component using the styled-components library.

    We'll use styled.h1 to create a <h1> component and adjust it's font-family, positioning and color with css.