@Francoshum95Submitted almost 2 years ago
I welcome any code review or feedback to improve the performance of this implementation. Please checkout Repo for more details. Thank you.
I welcome any code review or feedback to improve the performance of this implementation. Please checkout Repo for more details. Thank you.
Hello! Great job on completing the challenge!
I was going through your project and found out that if user adds only one item to the cart and keeps pressing on the add to cart
button few times, it doubles the amount of item automatically. I think, it would be nicer user experience if you fix that bug!
one solution for that can be following: you can add event listener on add to cart
button and within the function for every click define the item number innerHTML equal to 0 or 1.