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

Responsive Dessert Menu Using HTML, CSS and Javascript

MonkeyDMauri•20
@MonkeyDMauri
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?

This is the first challenge I've done so far, I'm really proud of it since all the knowledge and practice I've got over the course of my learning path was put into this

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

It was really difficult for me to display the items added to the cart and then remove them whenever the remove button was clicked and also keep track of how many orders of the same dessert were being ordered, I didnt know how to do it at first but then I learned about set and map in javascript which helped me create an array with unique items and also keep track of the times an items was being duplicated so I used key-value pairs for that

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 MonkeyDMauri'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
  • Use cases

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