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

Ecommerce Product Page - Next React Tailwind Typescript

shalri 600

@shalri

Desktop design screenshot for the E-commerce product page coding challenge

This is a solution for...

  • HTML
  • CSS
  • JS
3intermediate
View challenge

Design comparison


SolutionDesign

Solution retrospective


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

Implementing this challenge with NextJS made it more interesting. It gave me a broader scope for learning.

This challenge proved to be more challenging than expected. Maintaining state across components required for custom hooks and useContext.

I also sprinkled some Framer animations for UX/UI enhancements. Particularly proud of the real-time animation on the car notification when updating the quantity of the items.

The localStorage also stores cart data and makes potential purchases persistent.

The lightbox implementation also leaves room for improvement. I'll refactor this when I have time.

This challenge also showed the importance of a .fig file. I spent most of the time pixel-pushing to set the dimensions, spacing, and layout just right. I am proud of the results since I was only eyeballing it.

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

Using the localStorage in NextJS needs extra code since the build looks for localStorage. Luckily, the documentation provides clear instructions to handle such issues.

This challenge also showed the importance of a .fig file. I spent most of the time pixel-pushing to set the dimensions, spacing, and layout just right. I am proud of the results since I was only eyeballing it.

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

I am fine. I am enjoying doing these challenges!

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