Task
Find the YOUR TASK block at the top of the file. Inside each Add-to-cart button's click handler, POST { id: id, quantity: 1 } to /cart/add.js as a JSON body (JSON.stringify it, like the primer shows), then call refresh() (it re-reads the cart and redraws the drawer) and openDrawer(). The money, render, refresh, and openDrawer helpers are written for you lower down.