Submitted over 1 year agoA solution to the Blog preview card challenge
Blog preview card challenge using CSS
@aaronli722

Solution retrospective
When to use class and when to use id?
- In my HTML code, I use <p> for most text and give a class for each of them for easy CSS coding. I am not user I should give them a class or a id.
Is it fine to take <main> as the card container class?
Code
Loading...
Please log in to post a comment
Log in with GitHubCommunity feedback
No feedback yet. Be the first to give feedback on Aaron Li'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