Help us code a shopping cart | JavaScript, CSS, HTML

preview_player
Показать описание

This week, Leanne and Michael are coding a shopping cart with HTML, CSS and JavaScript! 🛒

We'll look at:
🛒 Adding items to the cart
🛒 Removing items from the cart
🛒 Incrementing/decrementing the amount of items
🛒 Calculating the total cost
🛒 Adding a coupon
🛒 Clearing the cart

💡Think you can do it better than them? Come along and share your tips in the chat!

💻Check out Scrimba’s interactive learning platform:

🐦Say hi on Twitter:
Рекомендации по теме
Комментарии
Автор

A thumbs up for the dataset property @ 40:06, learned a new thing today! Cheers! This provides an easy way (and a pretty readable one) to pass data from an html element to js.

georgesdahdouh
Автор

Hello. You are doing really good stuff teaching us! Thank you Leanne! I finally understand where to put the code after for loop. Thank you guys!

SicuroO
Автор

Hi to all the new teachers. Wish they have a exciting few weeks ahead of them

indrayudhroy
Автор

I have a question, can you put the code for removing items from the list?

SicuroO
Автор

can i get a scrim to the complete code? thanks.

yorubaigbo