@ratsagi
Posted
Greetings, Lucas!
Good job on compliting this challenge! I have some suggestions about your code that might interest you:
- Try to use html 5 semantic landmarks like "main" "section" "article" "footer" instead of div or give the div the role like "main" or "banner" navigation and so on. It is important for screen readers.
- Try to use relative units instead of absolute for instance rem for fonts and em for padding and margin. It is important because if you change font size of your browser settings it is difficult to read. The text and other things must be responsive for all screen sizes.
- Use css custom property. it is important for maintainability for example, if you want to modify something you change the property value in one thing as a result you change it everywhere it needs to be. You save your time if you use it.
I think the solustion that you are seeking is line-height. If you apply it, the paragraph of your body should look similar to design.
Marked as helpful