Responsive three column preview card using React and SCSS

Solution retrospective
I wrapped up my 2nd challenge and I have the following queries:
-
I have used semantic HTML as much as possible. In src/components/Card /Card.jsx instead of <div>, I used <article> and <section>. My reasoning is that <section> is handy for grouping similar content and <article> is for grouping text like blog. So, is the usage of these two tags correct in my code? Or do you have other recommendations?
-
What do you think of the test cases that I created (please refer to /src/components/Card/Card.test.jsx, src/components/Footer/Footer.test.jsx, src/components/GroupCard/GroupCard.test.jsx)? Am I following good practices? Should I have considered something differently?
Looking forward to your responses
Please log in to post a comment
Log in with GitHubCommunity feedback
No feedback yet. Be the first to give feedback on Rupali's solution.
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