static job listings using react and css - any tips welcome

Solution retrospective
any tips for improvement?
Please log in to post a comment
Log in with GitHubCommunity feedback
- @fayax555
Take a look at CSS modules. It creates local CSS instead of global. With this approach, conventions like
BEM
become unnecessary.To use it with React, change the file name to
someComponent.module.css.
and import it in your files like `import styles from './someComponent.module.css'.And use it in your classname.
<section className={styles.filterbox}>
.If you have any more questions reply to this comment.
Marked as helpful
Join our Discord community
Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!
Join our Discord