Design comparison
SolutionDesign
Community feedback
- @Thewatcher13Posted over 1 year ago
HTML
- There should be always a main landmark element in your html for semantics reasons
- Don't skip the headings order in the html, you can't have an h2 before you have an h1
- Make sure that your image has an alt atribute (important!) (if you're image is broken, but also for screenreaders)
CSS
- You should have in every project a css reset (look at Andy's Bell website for a clear and good one)
- Your font-size should never be in (absolute values) px but in rem (relative value) https://fedmentor.dev/posts/font-size-px/
- Don't set a height on a container, the content provides the height
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