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

Result summary card using HTML and CSS (Sass)

sass/scss, accessibility
Kairung Vangmanaw•290
@VangmanawKairung
A solution to the Results summary 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 how I successfully combined CSS Grid and Flexbox to create a clean, responsive layout while maintaining accessibility through semantic HTML and ARIA attributes. The gradient backgrounds and dynamic category styling were also standout achievements that elevated the component’s visual appeal. Next time, I’d focus more on adding animations and experimenting with JavaScript to make the component more interactive and engaging.

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

One of the biggest challenges I encountered was fine-tuning the gradient fade positions to achieve a smooth blend, especially in the background and the circular score box. It was tricky to balance the color transitions and ensure they aligned with the design specifications. I overcame this by experimenting with different percentage values and using developer tools in Chrome to visualize and adjust the gradient positions in real time. This iterative approach helped me achieve the desired look effectively.

What specific areas of your project would you like help with?

I’d like help with optimizing the gradient transitions to ensure they are consistent across all devices and screens, as I found it challenging to maintain uniformity. Additionally, I’d appreciate guidance on further improving accessibility, particularly for screen readers, to make the component as inclusive as possible. Finally, any suggestions for adding interactivity using JavaScript or improving the efficiency of my Sass structure would be invaluable.

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