This is my fiddle with shopping list. http://ift.tt/24I3us9 It's almost done, the last thing I struggle with is adding again once removed item (that's the commented piece of code). I works for subtracting item price from amount to pay, when I change its class, but "else" doesn't want to add the price again. I'm very beginner in coding, I'm attending coding bootcamp right now and I can't find any reason why my if/else statement is not working properly. I'll be very grateful for all suggestions.
Aucun commentaire:
Enregistrer un commentaire