Joachim• 840
@Thewatcher13
Posted
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 helpful
0