...

/

Challenge: Styling Nested Components

Challenge: Styling Nested Components

Practice what we have learned about CSS modules.

Problem statement

Components usually should be encapsulated and contain their markup, logic, and styles. However, there are cases where it’s useful to allow a parent component to provide styles and modify the look of a child component. Your task is to create styles and provide them to a child component.

Challenge

...