---
# System prepended metadata

title: "\U0001F3C5 DAY45 每日任務"
tags: [JS 直播班  - 2021 秋季班]

---

# 🏅 DAY45 每日任務
###### tags: `JS 直播班  - 2021 秋季班`

問題
---
請同學使用 [這個模板](https://codepen.io/znlcgmgk/pen/yLgKMpK?editors=0011) 進行練習，嘗試實作「修改購物車數量」的功能。
> 1. 每次點擊「+」的符號數量就會加 1。
> 2. 每次點擊「-」的符號數量就會減 1。
> 3. 當數量減去至 0 的時候，將這筆購物車項目刪除。

回報流程
---
將答案寫在 CodePen 並複製 CodePen 連結貼至 thread 中回報就算完成了喔! 解答請參考下圖（需打開程式碼的部分觀看）

![](https://i.imgur.com/6UoJVtD.png)

<!-- 解答
https://codepen.io/znlcgmgk/pen/rNjdyxd
-->

|      Slack       |       CodePen       |
|:----------------:|:-------------------:|
|   Karen Huang    |  https://codepen.io/Coding_Snorlax/pen/RwLNJvG?editors=1011 | 
|Aaron Tu|https://github.com/ken888686/Hexschool-Final|
|CloThEs | https://codepen.io/bogwdnxx-the-sans/pen/KKXgKWM|
| 米米 | https://codepen.io/Jameshsu0407/pen/abLmbJE?editors=0110 |
|lumei|https://codepen.io/l_umei/pen/jOGMOzV|
| POPEYE | https://codepen.io/popeye_ux/pen/vYeXYOV |
| Yunei | https://codepen.io/Yunei/pen/RwLGNga |
|Cheng Pei-hsuan|https://codepen.io/PaCheng/pen/zYdGKpO|
| YC | https://codepen.io/YCLu/pen/yLzaNVW |
| 小K | https://codepen.io/kelen1995/pen/RwLGrvK |
| 劉維倫 | https://codepen.io/lun0223/pen/NWaRNae |
|Calon|https://codepen.io/Calon0118/pen/RwLGVRZ|
|    Iris Huang    |    https://codepen.io/ythuang/pen/RwLGVxx    |
| Elaine Liu | https://codepen.io/elaine7598/pen/mdBrBJw?editors=1010 |
| 黃士桓 | https://codepen.io/shr-huan-huang/pen/JjrRWMQ?editors=0011 |
|洋蔥|https://codepen.io/oikdkmxq-the-looper/pen/eYGdoEK?editors=0010|
|鄭安志|https://codepen.io/lwmtsgek/pen/PoJGvGO?editors=0011|
|Genos|https://codepen.io/pb220416/pen/yLzVqdg|
| 傅劍軒 | https://codepen.io/seonkuraito/pen/GRMNQjm?editors=0012 |
paul|https://codepen.io/printfootya/pen/NWadMBR?editors=0011|
Trista|https://codepen.io/trista6140/pen/gOGmPpq|
|YuriT|https://codepen.io/wenfisht/pen/ExwWeWv|
|Jasper|https://codepen.io/li-jasper/pen/wvrdoVr
|tingyu|https://codepen.io/dgltu/pen/ZEXpJXj|
|ZY Hsu|https://codepen.io/zihyin/details/PoJKWyj|