Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found

Submitted

Results Summary Component Solution using Next.js + Tailwind CSS

@jmadilia

Desktop design screenshot for the Results summary component coding challenge

This is a solution for...

  • HTML
  • CSS
1newbie
View challenge

Design comparison


SolutionDesign

Solution retrospective


Employing a mobile-first design with Tailwind can be very simple if approached with the correct scaffolding for the DOM. Just a few media query utility classes and the design is configured for larger screen sizes.

I tried to figure out a way to dynamically read in the JSON data but couldn't quite work it out. For now, I've only parsed the JSON and referenced the data points with hardcoded values. Any advice for a better, more dynamic, approach to this is greatly appreciated!

Community feedback

Please log in to post a comment

Log in with GitHub
Discord logo

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