Design comparison
SolutionDesign
Solution retrospective
How can i improve my code?
Community feedback
- @DereemiiPosted over 1 year ago
About structure
I would recommend creating different folders to organize your project. Assets folder to add CSS and images
About naming CSS classes
I would recommend using descriptive classes. Try to fix the name "child" because if I go directly to the css file, I won't know which element this refers to.
Avoid adding CSS styles to html <tags>
If your project grows, maybe you will have new images, so add a class or use nested selectors to add a style for example container.child.img to select this tag
Marked as helpful0
Please log in to post a comment
Log in with GitHubJoin 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