@mattstuddert
Posted
Hey Hany, that's great to hear that you feel like you've improved since going through the CSS section of the course you're taking. Your solution looks really good! I've got a couple of small suggestions related to your CSS:
- I'd recommend avoiding using IDs for styling purposes. They're too specific and can't be reused on the page. Instead, I stick to attribute, class, pseudo, and type selectors to make your code more maintainable.
- Using
min-width
instead ofmax-width
media queries can lead to less code. They also reduce the CSS that mobile users load-in, which is a performance benefit.
Keep up the great work! 👍
@Hany-soliman
Posted
@mattstuddert thank you! I will work on it and update the solution.