Gatsby
Up and Running with Gatsby: Styling

Assignment: CSS Modules

PRO

Let's do an exercise to help solidify your knowledge of CSS modules.

In the last video, we learned about CSS modules. Let's do an assignment to practice.

Convert the Header.js component to use CSS modules instead of a separate global stylesheet. Hint: you should end up with header.module.css instead of header.css.

I'll show you the solution in the next video.