# 🏅 4/16 (五) 每日任務 ###### tags: `JS 直播班 - 2021 春季班` 問題 --- 請同學使用 [這個模板](https://codepen.io/znlcgmgk/pen/yLgKMpK?editors=0011) 進行練習,嘗試實作「修改購物車數量」的功能。 > 1. 每次點擊「+」的符號數量就會加 1。 > 2. 每次點擊「-」的符號數量就會減 1。 > 3. 當數量減去至 0 的時候,將這筆購物車項目刪除。 回報流程 --- 將答案寫在 CodePen 並複製 CodePen 連結貼至 thread 中回報就算完成了喔! 解答請參考下圖(需打開程式碼的部分觀看)  <!-- 解答 https://codepen.io/znlcgmgk/pen/rNjdyxd -->
×
Sign in
Email
Password
Forgot password
or
By clicking below, you agree to our
terms of service
.
Sign in via Facebook
Sign in via Twitter
Sign in via GitHub
Sign in via Dropbox
Sign in with Wallet
Wallet (
)
Connect another wallet
New to HackMD?
Sign up