@mattstuddert
Posted
Hey Jon, awesome work on this challenge. Your solution and code both look great! 👍
As far as better techniques go, I'd recommend avoiding IDs as CSS selectors. They're overly specific and also can't be reused on the page. Instead, stick to class, attribute, pseudo and type selectors. This will help massively as you build larger projects.
Also, on a future project, have a go at using min-width
media queries instead of max-width
. Working mobile-first and using min-width
queries often leads to less CSS code and it also has the benefit of loading in fewer styles for mobile users.
I hope these pointers help. Keep up the great work! 👍