Submitted almost 3 years agoA solution to the QR code component challenge
QR code component solution using CSS Flex
@aaronli722

Solution retrospective
-
Is there a common practice of the css properties order? for example, display comes first, then width/height, and then margin/padding, etc?
-
When to use class, when to use id?
In my concept, id is use when the element is unique, for example #card in this challenge. But when I studied the html code of other pages, I found that they may also use class to describe unique element. So when to use class, when to use id?
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