Skip to content
  • Unlock Pro
  • Log in with GitHub
Solution
Submitted about 1 month ago

Profile Card Component using HTML and CSS

accessibility
Kairung Vangmanaw•270
@VangmanawKairung
A solution to the Profile card component challenge
View live sitePreview (opens in new tab)View codeCode (opens in new tab)

Solution retrospective


What are you most proud of, and what would you do differently next time?

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.

Code
Loading...

Please log in to post a comment

Log in with GitHub

Community 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

Stay up to datewith new challenges, featured solutions, selected articles, and our latest news

Frontend Mentor

  • Unlock Pro
  • Contact us
  • FAQs
  • Become a partner
  • Use cases

Explore

  • Learning paths
  • Challenges
  • Solutions
  • Articles

Community

  • Discord
  • Guidelines

For companies

  • Hire developers
  • Train developers
© Frontend Mentor 2019 - 2025
  • Terms
  • Cookie Policy
  • Privacy Policy
  • License