Responsive results summary component using typescript and react

Solution retrospective
I'm most proud of successfully building a fully responsive and accessible results summary component using React and Tailwind CSS. I implemented data fetching, dynamic styling, ARIA roles for accessibility, and improved keyboard navigation.
Next time, I’d plan the asset structure more carefully to avoid path-related deployment issues and test the deployment environment earlier in the process.
What challenges did you encounter, and how did you overcome them?One of the main challenges was loading local JSON data and asset images correctly in a Vite + React setup. Initially, the icons failed to load because they were referenced via relative paths in the JSON file, which doesn't work as expected in Vite. I overcame this by moving the icons to the public
directory and updating the JSON file to use public URLs instead, ensuring they loaded correctly at runtime.
Another challenge was ensuring accessibility and responsiveness. I addressed this by incorporating semantic HTML, ARIA roles, keyboard focus styles, and responsive layout utilities from Tailwind CSS.
What specific areas of your project would you like help with?I would like help with the following areas of my project:
-
Optimizing Accessibility Further: While I added ARIA roles and improved semantic structure, I'd appreciate a review to ensure it's fully accessible for screen readers and keyboard users.
-
Improving Asset Handling: I want to better understand best practices for managing and referencing images or other static assets when working with local JSON and Vite.
-
Performance Optimization: Suggestions for making the app more efficient—especially when scaling or preparing for deployment—would be helpful.
-
Design and UI Feedback: I'd love feedback on how to make the UI more intuitive, engaging, and visually polished across all screen sizes.
Please log in to post a comment
Log in with GitHubCommunity feedback
- @Utkarsh9571
it's very wide than the design, maybe narrow it down, everything looks fine to me.
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