Design comparison
Solution retrospective
I would like to know if there is any more efficient way to give different properties to the texts This a text
in a div `` than using in CSS .content .paragraph{ color: red; }
Community feedback
- @DylandeBruijnPosted 4 months ago
@alstrow
Hiya! 👋
Congratulations on your solution, it looks very close to the design! I can tell you put a lot of effort into it. Everything looks great!
Things I like about your solution 🎉
- Use of semantic HTML elements
- Clear descriptive CSS classes
- Use of CSS custom properties
- Proper alt tags
- Responsive
In my opinion you style your texts correctly, just giving it a descriptive class and wrapping it in the right semantic HTML element is fine! You could try adding some general font rules to your
body
element so all the child elements inherit it so you write less code though. But this is a small project so it doesn't really matter that much.I hope you find my feedback helpful! 🌟
Let me know if you have more questions and I'll do my best to answer them. 🙋♂️
Happy coding! 😎
Marked as helpful1
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