* 記得錄影 * 中場休息觀看六角後台 * [歷屆批改筆記](https://hackmd.io/48BTVPQVR_y4jq2E0PFHXQ?view) ## input 表單標籤 * input 常見種類與屬性介紹 * form、input、submit 三劍客 * name 屬性為後端傳值、id 為 label 所用 * [w3schools](https://www.w3schools.com/html/html_forms.asp) * [MDN](https://developer.mozilla.org/zh-CN/docs/Web/HTML/Element/Input) * 設計響應式時需注意的項目(date、tel) * 屬性:value、readonly、disabled * select option 在 mobile 的侷限 ## 中場休息 - 專題週報 10min - 溝通頻率 - 樣本數為年資平均兩年的「[Node 企業專題班](https://liberating-turtle-5a2.notion.site/2023-Node-js-bf602a4b3216463eaf66717111f95971?pvs=4)」 - 要學習非同步溝通 (Line、Discord、Slack),以專題教練為例 - 每週需同步一天開會討論,比較適合在週一~二 - 對齊大家對專題的期待,例如要做到 6~8 頁面 ## css reset 差異 * [meyerweb CSS Reset](https://meyerweb.com/eric/tools/css/reset/) * [normalize](https://necolas.github.io/normalize.css/) ## CSS Base * CSS Reset :清除瀏覽器預設樣式 * CSS Base:全站設定 * [Bootstrap SCSS 結構](https://github.com/twbs/bootstrap/tree/master/scss) > 用 BS5 的話,就不需要再次載入 CSS Reset ## base Code 參考([BS5 reboot.scss 參考](https://github.com/twbs/bootstrap/blob/main/scss/_reboot.scss)) ### 1. [Gill](https://github.com/gill74123/week3/tree/main/app) 4. [Jerry Yen](https://github.com/jerry160726/Week-3---QA/blob/main/sass/all.scss) 5. [Joseph Tang ](https://github.com/jie810731/image-webside/blob/master/scss/_base.scss) ## 載入 BS5,展示一個 btn * [教學連結](https://bootstrap5.hexschool.com/docs/5.1/getting-started/introduction/) ## Utilities, flex, spacing * [通用類別 Flex](https://bootstrap5.hexschool.com/docs/5.1/utilities/flex/) * [通用類別 spacing](https://bootstrap5.hexschool.com/docs/5.1/utilities/spacing/) ## BS5 元件介紹 * [按鈕 (Buttons)](https://bootstrap5.hexschool.com/docs/5.1/components/buttons/) * [分頁 (Pagination)](https://bootstrap5.hexschool.com/docs/5.1/components/pagination/) ## [清除 BS5 ul li 樣式](https://bootstrap5.hexschool.com/docs/5.1/content/typography/#unstyled) * ul 移除逗點 * 清除列表實心圓內容 BS5:`list-unstyled` ## Bootstrap 表單 + util + Btn * [表單 (Forms)](https://bootstrap5.hexschool.com/docs/5.1/forms/form-control/) ## Modal * [互動視窗 (Modal)](https://bootstrap5.hexschool.com/docs/5.1/components/modal/#live-demo) ## 手寫 SCSS 結構參考 ``` @import "variable";// 變數 @import "reset"; // reset.css @import "base"; // 全站設定 @import "util"; // 工具類 class,.mb-1、.pr-3 // layout 共同框架,第一層 @import "layout/header"; @import "layout/footer"; @import "layout/menu"; @import "layout/aisde"; // 頁面設計 @import "pages/index"; @import "pages/cart"; ``` ## 第五週開發方向 1. 開始嘗試用 BS5 的 util 搭配自己手寫 2. 純手寫,並嘗試自己做 base+util ## 第五週主線任務 * <a href="https://rpg.hexschool.com/training/36/task?type=detail&id=350" target="_top">第五週 - 後台版型</a>、<a href="https://xd.adobe.com/view/456141fc-d0a0-44d4-93ad-6ab54a4b5351-1032/grid" target="_top">設計稿</a>、[圖片下載](https://github.com/hexschool/2022-web-layout-training) ## 作業等級表 1. LV1:做一頁版型 2. LV2:做兩頁以上,並有設計 Modal 功能 3. LV3:全部頁面都做 ![](https://i.imgur.com/CVEUaXq.jpg) ![](https://i.imgur.com/39JtB0q.jpg)