Skip to content
Submitted about 15 hours ago

Responsive E-commerce Product Page

react, vite, accessibility
P
LVL 3
Dima•443
@doomyhub229
A solution to the E-commerce product page challenge

Solution retrospective


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

I'm most proud of building a responsive and accessible e-commerce product page using React and Vite, with reusable components, custom hooks, and clean state management.

The deployed website achieved Lighthouse scores of 97 for Performance and 100 for Accessibility, Best Practices, and SEO.

Next time, I would introduce automated component testing and accessibility testing earlier in the development process.

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

The main challenges were managing shared shopping cart state, synchronizing the product gallery with the lightbox, implementing responsive layouts, and handling keyboard navigation and focus restoration.

I overcame these challenges using custom React hooks, immutable state updates, native HTML dialogs, reusable components, and manual browser testing.

I also refactored the application to improve code maintainability without changing its design or functionality.

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

I would appreciate feedback on:

  • React component architecture.
  • Custom hooks and state management.
  • Code quality and maintainability.
  • Accessibility and keyboard navigation.
  • Responsive design and visual accuracy.
  • Performance optimization.
  • Potential improvements for future React projects.
Code
Loading...

Please log in to post a comment

Log in

Community feedback

No feedback yet. Be the first to give feedback on Dima’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