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

Desserts e-commerce page using React and Ant Design with Vite(deload)

@sksksk2024

Desktop design screenshot for the Product list with cart coding challenge

This is a solution for...

  • HTML
  • CSS
  • JS
2junior
View challenge

Design comparison


SolutionDesign

Solution retrospective


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

Getting more comfortable writting the code in React, and then deploying on live is a big win for me at the moment!

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

Posting the site live

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

Any advice on how to prevent the errors to occur to a React project is welcome!

Community feedback

@edwinc73

Posted

Hey this is awesome! Nice use of context api, to improve this you could use useReducer to make managing complicated states easier. Your method works though.

I dont see any react specific errors. good job on completing the challenge.

1

@sksksk2024

Posted

Firstly, thanks for your feedback, @edwinc73! 😁

Secondly, I meant about the accessibility issues that you see above the comment section and the solution retrospective. I don't know how to clear it!

0

@edwinc73

Posted

I dont have the best solution to this as mine is kind of invalid, however you could change the add to cart elements to a button element which will make it more accessible for keyboard navigation.

0

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