Solution using HTML and CSS with Universal Selectors

Solution retrospective
The most difficult part of this while using Universal Selectors was figuring out the color schemes and the best place to put them in the css stylesheet.
I am wondering the best practices when implementing universal items or if best practice is to avoid using this at all? Thanks so much and looking forward to the next challenge!
Please log in to post a comment
Log in with GitHubCommunity feedback
- P@miguelzaga
Hi Eddie, It is usually used for CSS resetting. If you want to know more about that, I would recommend you this article https://css-tricks.com/an-interview-with-elad-shechter-on-the-new-css-reset/. There are multiple approaches and the topic gets you thinking deep about CSS.
About the color schemes, I would reccomend you researching about CSS custom properties. It is a clean way to organize them and it is easy to maintain.
After that, as you get more comfortable, I would suggest you to try SASS/SCSS and try some structures like this https://css-irl.info/a-modern-front-end-workflow-part-3/
Marked as helpful
Join our Discord community
Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!
Join our Discord