---
# System prepended metadata

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

---

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

函式觀念一
---
建議同學都將以下程式碼貼入 CodePen 執行、觀察結果。

### 函式寫法教學 ([參考章節](https://courses.hexschool.com/courses/20201113/lectures/34094706))

```js=
// 步驟一: 命名函式 (在此 morningAction 是自定義的名稱)
function morningAction() {
    // 定義函式執行內容
    console.log("刷牙");
    console.log("洗臉");
} 

// 步驟二: 呼叫函式 (函式可以重複使用)
morningAction();
morningAction();
```


問題
---
請親自撰寫一次以上觀念的程式碼，並可以用註解強化知識點。


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

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

| Slack  |                 CodePen                 |
|:------:|:---------------------------------------:|
| 蔡明達 | https://codepen.io/bmzpfyxe/pen/NWgKQZB |
|CloThEs | https://codepen.io/bogwdnxx-the-sans/pen/ZEJaBeq|
| Aaron Tu | https://codepen.io/aarontu/pen/KKvyNBG |
| Iris Huang | https://codepen.io/ythuang/pen/BadmQVm |
|Bonnie | https://codepen.io/bonnieli1414/pen/oNeoYax?editors=0011|
| Genos | https://codepen.io/pb220416/pen/vYJWyQx |
| 傅劍軒 | https://codepen.io/seonkuraito/pen/gOxXLKR?editors=0010 |
| kevin嘉軒 | https://codepen.io/kevin-chang-the-sasster/pen/WNEXomg |
|POPEYE |https://codepen.io/popeye_ux/pen/qBXVqvZ |
|張喆|https://codepen.io/wow767t/pen/GRvONLM|
Tim Lin|https://codepen.io/TimmyLin/pen/PoKObMQ|
| Karen Huang     | https://codepen.io/Coding_Snorlax/pen/abyVpov                      |
| jojoy           | https://codepen.io/jojoy/pen/pordRoB?editors=0011                  |
| 米米            | https://codepen.io/Jameshsu0407/pen/eYEegmO?editors=0011           |
| YuriT           | https://codepen.io/wenfisht/pen/dyzZOqX                            |
| Cheng Pei-hsuan | https://codepen.io/PaCheng/pen/zYdGKpO                             |
| Peter Chen      | https://codepen.io/yuckugjy-the-sasster/pen/ZEJaLQz?editors=1112   |
| 大衛            | https://codepen.io/exnsrpjc/pen/abyVpdN?editors=0010               |
| 劉維倫          | https://codepen.io/lun0223/pen/NWvwdxE?editors=0010                |
| lumei           | https://codepen.io/l_umei/pen/RwZjKKQ                              |
| Elaine Liu      | https://codepen.io/elaine7598/pen/PoKOWRx?editors=0010             |
| 連小艾          | https://codepen.io/bolaslien/pen/ExvbZpW?editors=1112              |
| Andy Huang      | https://codepen.io/HsuHuaHuang/pen/BadmpOb                         |
| YC              | https://codepen.io/YCLu/pen/RwZjKBB                                |
| Jun Ting Lin    | https://codepen.io/jake1155/pen/KKvyarw                            |
| Bean Huang      | https://codepen.io/Beanhuang/pen/JjyOEwr?editors=0011              |
| 洋蔥            | https://codepen.io/oikdkmxq-the-looper/pen/WNEXRaV?editors=0011    |
| 林小君          | https://codepen.io/hcvbcjqq-the-vuer/pen/vYJWgba                   |
| Arista          | https://codepen.io/arista-hsieh/pen/wvqPJwV                        |
| Sam             | https://codepen.io/sam-hsu/pen/BadmpoP                             |
| 有廖先生(Rain)  | https://codepen.io/billpop741/pen/ExvbWaw                          |
| Gill            | https://codepen.io/Gill-Chin/pen/xxLPqRW?editors=0011              |
| Lai             | https://codepen.io/co_lai/pen/yLoPMzb?editors=1010                 |
| 陳暐中          | https://codepen.io/wei-z/pen/zYdPZML                               |
| kk              | https://codepen.io/potatokaka/pen/YzxEVKz?editors=0011             |
| 雪莉            | https://codepen.io/utshang216/pen/NWvwjKj                          |
| ZY Hsu          | https://codepen.io/zihyin/pen/WNEXjbE?editors=1011                 |
| Yunei           | https://codepen.io/Yunei/pen/VwzrWZp                               |
| Riley           | https://codepen.io/jjpxbprd/pen/dyzZROR                            |
| ZOE WU          | https://codepen.io/Zoechiueh/pen/JjyOJEb?editors=0011              |
| Phil            | https://codepen.io/ctkeftjp-the-animator/pen/MWvOovW?editors=0011  |
| 群嘉            | https://codepen.io/pen/?editors=1011                               |
| ShinyChen       | https://codepen.io/shinychen/pen/ExvbWMd                           |
| Jie Du          | https://codepen.io/qgqonost-the-flexboxer/pen/YzxExzO?editors=0011 |
| Calon           | https://codepen.io/Calon0118/pen/YzxExQB                           |
| Jasper          | https://codepen.io/li-jasper/pen/LYjOjOg                           |
| 蔣秉彣          | https://codepen.io/the-pierre/pen/bGrojWJ?editors=0010             |
| 溫溫            | https://codepen.io/ZPXO1928/pen/WNEXZrE?editors=1010               |
| 小紹            | https://codepen.io/shaoci/pen/ZEJaazd?editors=1111              |
|Steven Chan |https://codepen.io/Steven1220/pen/dyzZZqJ?editors=1011  |
| Kelvin Hsu | https://codepen.io/kelvin001/pen/LYjOOKQ |
|Hsiang|https://codepen.io/chao20211/pen/dyzZdYb|
| Ching | https://codepen.io/Jaimedede/pen/RwZjQxG?editors=1010 |
|Trista | https://codepen.io/trista6140/pen/KKvyodE|
|Sandy|https://codepen.io/Sandy_L/pen/gOxXeqQ?editors=0011|
|Yunyi | https://codepen.io/yunyi12374/pen/ZEJbKVW?editors=1111|
| Jean Chiang |https://codepen.io/jeanchiang1221/pen/RwZjybe |
|Hamaji| https://codepen.io/hamajibashi/pen/QWMOrpN |
| 黃士桓 | https://codepen.io/shr-huan-huang/pen/vYJWjdM?editors=0010 |
|Alvin|https://codepen.io/Alvin20201116/pen/MWvOXvq?editors=1011|
|Jeff|https://codepen.io/jeff-cheng/pen/eYEeKyb?editors=1111|
|許閔翔|https://codepen.io/oupbzfxq-the-scripter/pen/LYjOrdE|
|Vicky Kao|https://codepen.io/vicky03035/pen/bGrYKKa|
|Peggy Tsai|https://codepen.io/pei-chi-tsai/pen/NWvwzzy?editors=0010|
|喜美|https://codepen.io/Candace802/pen/xxLPJoL?editors=0010|
|phi|https://codepen.io/aiya861202/pen/eYEmVjR?editors=1112|
|艾瑞克|https://codepen.io/ericla/pen/RwZjXqz?editors=0011|
|鄭安志|https://codepen.io/lwmtsgek/pen/XWaVWzm?editors=0011|
| Yof | https://codepen.io/yangyof/pen/porpoaM?editors=1011 |
|Gui|https://codepen.io/guitimliu/pen/ZEJvEgW|
|Yashin Lin|https://codepen.io/YashienLin/pen/VwzyLQL|
|鉦勝|https://codepen.io/atckmax823/pen/gOxombQ?editors=1011|
|  肉魚  |  https://codepen.io/zoechen13/pen/eYEyWjQ  |
| Jun Hua | https://codepen.io/ydsyvkph/pen/GRvyEov |
| Louis | https://codepen.io/Louis164156/pen/NWvXvQR?editors=1010 |
|Booker|https://codepen.io/bookbasketball/pen/porpdpm|
| YOYO          | https://codepen.io/lumedkle/pen/wvqpROa?editors=1011                          |
|danny123| https://codepen.io/binlandz123/pen/WNEdWeB?editors=0010 |
|Jocelyn|https://codepen.io/enjoyful/pen/ZEJrbVz?editors=0011|
|乃萱|https://codepen.io/nainaikuo/pen/rNzJxZm|
|Anna|https://codepen.io/kycrleao/pen/eYEVvvz?editors=101|
|LTL|https://codepen.io/ltlin93/pen/WNEMEVr?editors=0110|
|lingxuan|https://codepen.io/penglingxuan/pen/BadYGxY?editors=0010|
| Celeste | https://codepen.io/Celeste17/pen/YzxedyE?editors=0011 |
| 三隻小貓 | https://codepen.io/pen/?editors=0011 |
| 阿修 | https://codepen.io/edw-kyo/pen/porLEpo?editors=0011 |
|YU-LING TUNG|https://codepen.io/igzdflpu/pen/eYEVxmR|
|AKI|https://codepen.io/akichen27/pen/YzxaBPj|
|Irene Wang|https://codepen.io/irene-wang-the-looper/pen/ExvLqVq|
|Mingyo|https://codepen.io/Nick-Yo/pen/zYdaKQr?editors=0011 |
|柯勝華| https://codepen.io/Chill-Nick/pen/eYEKbQq?editors=0010|
|Zooey Cheng|https://codepen.io/noraneko0430/pen/ZEJjbxv?editors=0012
|zaii|https://codepen.io/ivy2846357/pen/mdMzJJR?editors=0010|
|kailun|https://codepen.io/Kailun/pen/GRvYQor|
|吐司|https://codepen.io/malolulu/pen/porGMom|
|傑瑞|https://codepen.io/auatwood909815/pen/oNeRZMB?editors=0010|
paul|https://codepen.io/printfootya/pen/JjyqWVb?editors=0011|