Skip to content
  • Unlock Pro
  • Log in with GitHub
Solution
Submitted about 1 year ago

Responsive product list with cart using nextjs, typescript, and tailw

next, tailwind-css, typescript
Fernando A. Malfavón•370
@Wlfernando
A solution to the Product list with cart challenge
View live sitePreview (opens in new tab)View codeCode (opens in new tab)

Solution retrospective


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

The neat code and readibility

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

This is my first time using typescript as same for tailwind so finding the correct types for the DOM and narrowing the variables was a challenge; use class names without wirting in the style sheet was exciting because was completely new.

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

In the future, I wish to understand how to implement the server actions. In this run, I tried but something went wrong with useActionState, so I didnt use it absolutely.

Code
Loading...

Please log in to post a comment

Log in with GitHub

Community feedback

No feedback yet. Be the first to give feedback on Fernando A. Malfavón'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

Stay up to datewith new challenges, featured solutions, selected articles, and our latest news

Frontend Mentor

  • Unlock Pro
  • Contact us
  • FAQs
  • Become a partner

Explore

  • Learning paths
  • Challenges
  • Solutions
  • Articles

Community

  • Discord
  • Guidelines

For companies

  • Hire developers
  • Train developers
© Frontend Mentor 2019 - 2025
  • Terms
  • Cookie Policy
  • Privacy Policy
  • License