difficulty | training | chapter | tags |
---|---|---|---|
1 |
true |
Chapter 5: Challenge Roundup |
vue |
There are some nasty bugs lurking around in this Shopping Cart Widget. Your task is to hunt them down and elimate them!
- The total price should update when the quantity of any item updates
- Prices should always display with 2 decimal places (for individual items and the total)
- There can be no negative values for the quantity.
If you see the
data-test
attribute anywhere in the boilerplate don't remove it.
TailwindCSS is preinstalled with the default config. It might be helpful for you, if you want to have some styles. (Not obligatory)
This is an example of what the functionality should look like for the completed exercise.