Profile Card Component using HTML and CSS

Solution retrospective
I’m most proud of trying out two things I had never done before: using a snippet and applying :root variables inside a media query. I had previously used snippets, but I never thought :root could work within a media query, so I was excited to experiment—and it worked! That sense of discovery and learning something new makes me really proud.
Next time, I would focus on planning variable usage and snippets more strategically from the start, so I can make my code even cleaner and more maintainable.
What challenges did you encounter, and how did you overcome them?One of the main challenges I encountered was positioning the background images, since their placement changes depending on the screen size. I overcame this by experimenting with the calc() function to calculate the exact positions, adjusting it several times until it looked right. Another challenge was breaking my usual habit of always using top for images at the top; I tried using bottom in some cases, and it successfully achieved the desired placement.
What specific areas of your project would you like help with?I would like help with making my code more concise and organized. I feel there might be functions, techniques, or ways to group CSS rules that could make the code cleaner and easier to maintain, and I’d love to learn how to improve in this area.
Please log in to post a comment
Log in with GitHubCommunity feedback
No feedback yet. Be the first to give feedback on Kairung Vangmanaw's solution.
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