Skip to content
  • Unlock Pro
  • Log in with GitHub
Solution
Submitted 7 months ago

Responsive Social links profile page

Randy Sekyere•40
@Randy-22
A solution to the Social links profile 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?

One key thing I am proud of from this project was the practical use of CSS transitions and transforms. I applied these to enhance interactivity—such as subtle hover and focus effects on the social links—making the profile card feel more dynamic and engaging.

Another valuable lesson was learning to build responsive designs without relying heavily on media queries. Instead, I used the clamp() function for widths, paddings, margins, and font sizes, allowing the layout to adapt fluidly across screen sizes with minimal code.

Additionally, I discovered the benefit of using CSS custom properties (variables). Defining global variables improved code maintainability and reusability, especially when working with consistent color schemes and spacing values throughout the project. Specifically, I defined color variables in the :root selector at the top of my CSS file. This allowed me to store commonly used color values in one place and reference them consistently throughout the stylesheet.

What challenges did you encounter, and how did you overcome them?

A key challenge I faced during this project was understanding and applying CSS custom variables and pseudo-classes effectively. Initially, I found it difficult to grasp how these features work and how to use them correctly in a real project.

However, by referring to helpful resources such as W3Schools, I was able to overcome this challenge. Their explanations and examples provided me with the clarity I needed to implement custom variables for styling and use pseudo-classes like :hover and :focus-visible to enhance interactivity and accessibility.

This learning experience has strengthened my CSS skills and boosted my confidence in writing more scalable and user-friendly stylesheets.

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 Randy Sekyere'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