P
Matt Studdert• 13,611
@mattstuddert
Posted
Nice work on this Joe, it looks great! Here's a couple of tips after looking at your code:
- I would recommend putting all of your styles in a separate CSS file instead of in
style
tags at the top of the HTML. This makes your CSS far more reusable if you were to ever add a new page and also de-clutters your HTML. - I would also recommend to never use IDs for styling purposes. Their specificity is really high and also they can't be reused on the same page. I always stick with classes, pseudo selectors, attribute selectors, and type selectors. It makes your CSS far more maintainable as it grows.
I hope those tips help. Keep up the great work!
0