Profile Card Using SCSS, partials and variables

Solution retrospective
I used rem as the unit of measurement for almost everything... Was this the right move? Any other suggestions, tips, hints, tricks?
Please log in to post a comment
Log in with GitHubCommunity feedback
- @ykyouki
Hi @ irosen419 you do great and everything works fine even though you are missing some statistic elements, but I don't care. Let's focus on your question. During my experience as a beginner, using
rem
for everything is not a very good thing and it creates other bugs when we work on other complex projects. Maybe we won't find the problem in a simple project, but we'll face it when we do it (use brakes for everything) for other complex jobs.My tips:
- Use
rem
forfont-size
andpadding
. - Use
em
for your margins. - Use
px
or%
to measure your elements. I don't guarantee this 100% but I work on it for all my projects, so I'm confident enough to share it with you.
Hope this provides a reference, Thank you
- Use
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