Coding task · JavaScript and React course · Module 14: Advanced Styling

Practice: CSS Modules - Tabs

Create a Tabs component using CSS Modules. Display tabs as buttons with the styles.tab class, and mark the active tab with the styles.tabActive class. When a tab is clicked, display the corresponding content.

Task

Implement a tabs component with CSS Modules and useState