This is my first relatively big project made from scratch.
I’ve rendered the item cards from scratch with help from the Shopping Cart tutorial on fCC to make it and the Shopping Cart.
https://codepen.io/CasualWanderer20XX/pen/emmGVVL
It’s not finished yet, but I would like some feedback on how it looks/works so far.
Do you have some specific things you want feedback about? That helps focus the replies.
I think i’ll start with it’s functionality.
Does everything work? Are there any bugs I need to fix?
After that, then maybe any adjustments on features or lack of such to make it work well.
(Honestly, I’m pulling a blank on the above sentence. I’m not sure what else to suggest other than functionality and presentation.)
Actually, there is something I do want to focus on.
How does the code look? How can i optimize my code to make it take less room and easier to understand?
Shorter code isn’t “optimal”. Easier to understand definitely is though.
Hi @CasualWanderer20XX
Great looking site.
I just looked at the functionality.
When I entered a negative number, the quantity supplied increased by that amount, and I had a negative quantity of the item in the cart.
How about when an item is sold out it disappears from the display?
Happy coding