learnshopify.dev/Workspace
js component

Fill in `updateShippingBar(cart)`. Set `barEl.style.width` to the percentage of `cart.total_price` toward `THRESHOLD` (cap at 100). If the threshold is met, set the message to `You've unlocked free shipping!` and add the `is-complete` class to `barEl`; otherwise set it to `You're {remaining} away from free shipping` using the `money` helper.

0 / 1 task solved
northwind-coffee.com
Live Storefront