---
# System prepended metadata

title: "\U0001F3C5 Day 43 - 刪除功能製作"
tags: [JS 直播班 - 2022 秋季班]

---

---
tags: JS 直播班 - 2022 秋季班
---
# 🏅 Day 43 - 刪除功能製作

問題
---
請同學使用 [這個模板](https://codepen.io/hexschool/pen/NWzpKaL?editors=1011) 進行練習，嘗試實作**購物車刪除功能**，包含「刪除單一項目」以及「刪除全部項目」。

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

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



## 回報流程

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

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

<!-- 解答：  

請記得填入自己的 API 名稱
https://codepen.io/hexschool/pen/rNKyBva?editors=1010
-->




回報區
---


|   Discord    |                    CodePen / 答案                      |
|:----------:|:-------------------------------------------------------:|
|Kimi #9564|[CodePen](https://codepen.io/kimihu91/pen/ZERRPRQ)|
|威爾#1694|[CodePen](https://codepen.io/WILL_Wu/pen/NWzLNpd)|
|薯餅#3581|[CodePen](https://codepen.io/ColdingPoTaTo/pen/OJEoNmX)|
| YC#2522 | [CodePen](https://codepen.io/YCLu/pen/qBKxRqM) 
|kenki100#0068|[Codepen](https://codepen.io/ken100/pen/qBKMZrv)|
|圈圈#4060|[Codepen](https://codepen.io/wjejfczn-the-bold/pen/jOKvqdz)|
|Winnie#1306|[Codepen](https://codepen.io/WinnieWuWinnie/pen/abKaZvo?editors=1011)|
|yawun#0042|[CodePen](https://codepen.io/monicalin/pen/VwdGjBW)|
|shinyhung#3825|[CodePen](https://codepen.io/sean_1215/pen/VwdGajO?editors=1011)|
|Ruby Chen#7452|[CodePen](https://codepen.io/ruby92429/pen/qBKMamp?editors=1011)|
|m_m#5493|[CodePen](https://codepen.io/minnn7716/pen/VwdGKwy)|
|威0#6919|[codepen](https://codepen.io/n0918679182/pen/ExReNjR?editors=1011)|
|jimmyFang#9575|[codepen](https://codepen.io/pohxiqqo/pen/vYrzyXo?editors=1010)|
|PayRoom#8328|[CodePen](https://codepen.io/water38198/pen/BaVOQeZ)|
|RJRS#9430|[CodePen](https://codepen.io/RJRS/pen/abKapwO)|
|hannahTW#2224|[CodePen](https://codepen.io/hangineer/pen/VwdGxey?editors=0011)|
|mandylai#4055|[CodePen](https://codepen.io/mandy-lai-2/pen/PoadGvY)|
|banazita#5143|[CodePen](https://codepen.io/banazita/pen/gOKvmmm?editors=1011)|
|SASIMI#5099|[CodePen](https://codepen.io/sashimi1327/pen/PoadpRv)|
|masterYan#2480|[CodePen](https://codepen.io/htzwgoqt-the-looper/pen/eYKLVEM?editors=1011)|
|無名#6427|[CodePen](https://codepen.io/Nomoney/pen/WNygwYX)|
|軟綿綿 (๑•ᴗ•๑) ♡#3627|[CodePen](https://codepen.io/Connie-Chien/pen/bGKxpxR?editors=0010)|
|beta lin#1445|[CodePen](https://codepen.io/linbeta/pen/RwJYyYE)|
|yen #5757|[CodePen](https://codepen.io/TZU-HUANG-YEN/pen/YzvOYgd?editors=0011)|
|WEI_RIO#9342|[CodePen](https://codepen.io/wei_wu/pen/jOKvBeq?editors=0011)|
|Amberhh#2465|[codepen](https://codepen.io/Amberhh/pen/vYrzKLy) |
|出事了阿伯#9923|[Codepen](https://codepen.io/BradpittLai/pen/QWxZrre?editors=1011)|
|Cliff#4606|[Codepen](https://codepen.io/Cliff_hex/pen/GRGYPdX?editors=1011)|
| 小白#2406 | [CodePen](https://codepen.io/gracewhite/pen/xxzyJzx) |
|sophiee#7015|[codepn](https://codepen.io/sophiee2727/pen/ExRGjmX?editors=1011)|
|黑白兔#0684|[codepn](https://codepen.io/johnny329/pen/BaVvOBZ)|
|Hilda#7085|[codepn](https://codepen.io/vwquikad-the-vuer/pen/wvXRYYw)|
|Paul#7426|[CodePen](https://codepen.io/paul-1997/pen/yLEwMvq?editors=1011)|
|Shuo#1596|[CodePen](https://codepen.io/chiangchungshuo/pen/LYrKvgJ)|
|我是泇吟#5189|[CodePen](https://codepen.io/kljuqbxs/pen/JjZqrBY)|
|蓁心#6229|[CodePen](https://codepen.io/tlorfrnl-the-typescripter/pen/ExpYrpp?editors=1011)|

