FreeCodeCamp #3 HTML5 and CSS === ###### tags: `分享` `聚會` --- ## 歡迎來到 Monospace 共同工作空間 ![](https://scontent.ftpe8-4.fna.fbcdn.net/v/t1.0-1/p200x200/26229906_140073386658908_8749203177495610613_n.png?_nc_cat=0&_nc_eui2=v1%3AAeFLC0Zs_ZV1aNoNy2dr2nrEkOpch7Likdq3eylu_yyAHL_MBq7cj0k2sdnrziH1PjhMGT6OwmkEed8r9PWW11lH0KZRg4DTWQE8WYz_RyVr7w&oh=bbe9502284a5071b792015202cc6b6fe&oe=5B59E6B8) 請點擊👉 [連結](https://www.facebook.com/monospace.tw/) 按個讚 👍 ---- ## 歡迎加入 FreeCodeCamp 繁中化計畫 * 發起人:Ryan 👏🏻 * FB社團:搜尋「FreeCodeCamp 繁中化計畫」 * 固定聚會:每週三晚上7點 * 線上群組:請點擊👉 [連結](https://join.slack.com/t/freecodecampclub/shared_invite/enQtMzQ2NDgxMjc2NDgxLTNlOGY1Y2U3MTc2YzM5NGNjMzM2ZTEzNjdkY2E1NDg0NTI4MzM4MDc0MWY3NDJkNzY5ZTBhOGI0NTljMjk4MWY) 加入 Slack ---- # 活動照片 ![](https://scontent.ftpe8-4.fna.fbcdn.net/v/t1.0-9/31318403_10156398176814433_5483763766955634758_n.jpg?_nc_cat=0&_nc_eui2=v1%3AAeEDpZwi-O4Xb2CzgzqTkd-NvDbqtj2ToAlJY9gPD_tvYslC-IWdC2r5wh3vCWYP05HFtJ-F5yBh9hdlGcI1ghyzhLuKfJ2UY00NLi1byBqwrQ&oh=d3e9c84e04e25f7e691f3f11f5288a3c&oe=5B9D4922) --- # 在這邊... - 不收費<!-- .element: class="fragment" data-fragment-index="1" --> - 沒有講師,只有 mentor<!-- .element: class="fragment" data-fragment-index="2" --> - 能學多少、多深,端看你願意花多少時間<!-- .element: class="fragment" data-fragment-index="3" --> ---- # 請主動跟上,如果你不問問題... - 我不會等你,<!-- .element: class="fragment" data-fragment-index="1" --> - 我不會等你,<!-- .element: class="fragment" data-fragment-index="2" --> - 我不會等你!<!-- .element: class="fragment" data-fragment-index="3" --> --- ## 準備好 - 開啟 & 登入 [FreeCodeCamp](https://www.freecodecamp.org/map) - 開啟 Slack 到 #beginner 頻道 - 你積極的態度 --- ## 什麼是切版?「切」什麼? ![](https://i.imgur.com/ajyMnjC.png) --- <!-- .slide: data-background="#FFF" --> ## 怎麼「切」? <p style="color: #1c6400">謹記口訣</p> - 由上到下,<!-- .element: class="fragment" data-fragment-index="1" --> - 由左至右,<!-- .element: class="fragment" data-fragment-index="2" --> - 由粗到細<!-- .element: class="fragment" data-fragment-index="3" --> --- ### 練習:「切」設計圖 (1/4) ![](https://i.imgur.com/Wjemk4p.png) ---- ### 練習:「切」設計圖 (1/4) - 參考 ![](https://i.imgur.com/eLuJBwG.png) ---- ### 練習:「切」設計圖 (2/4) ![](https://i.imgur.com/6ipAEch.png) ---- ### 練習:「切」設計圖 (2/4) - 參考 ![](https://i.imgur.com/Q4Gqp5k.png) ---- ### 練習:「切」設計圖 (3/4) ![](https://i.imgur.com/b7SPJ7w.png) ---- ### 練習:「切」設計圖 (3/4) - 參考 ![](https://i.imgur.com/LRdUmEj.png) ---- ### 練習:「切」設計圖 (4/4) ![](https://i.imgur.com/LuWiDWg.png) --- <!-- .slide: data-background="#FFF" --> ### 「切」成什麼? HTML - 是「 HyperText Markup Language 」的縮寫, - 是 <span style="color: #1c6400">標記語言</span> - 並 <span style="color: red">不是程式語言</span> - 常見的 HTML 長這樣 ![](http://citsf221.community.uaf.edu/files/2009/08/taganatomy.png) --- ## 怎麼學 HTML? - 看一個 - 查一個 - 學一個 - 👉 字典:[w3schools](https://www.w3schools.com/tags/ref_byfunc.asp) 在手 - 推薦閱讀 👉 [Chris 前端新手村](https://ithelp.ithome.com.tw/articles/10191397) ---- 👉 [連結:練習1](https://www.freecodecamp.org/challenges/inform-with-the-paragraph-element) ---- ```html <!DOCTYPE html> <html> <head> <title>My first web page</title> </head> <body> <h1>My very first web page</h1> <p> This is pretty much the most awesome thing ever. Seriously. </p> </body> </html> ``` --- 今日任務 👉 [連結:練習2](https://www.freecodecamp.org/challenges/give-a-background-color-to-a-div-element) ![](https://i.imgur.com/5iVQ3Ou.png) --- ## 來點樣式瞧瞧 示範:before HTML5 的作法 ---- ## HTML & CSS HTML is the content, CSS is the style ![](https://cdn-images-1.medium.com/max/792/1*lJ32Bl-lHWmNMUSiSq17gQ.png) ---- ![](http://dgovil.com/wp-content/uploads/2017/02/css-declaration-small.png) --- 👉 [練習2 (加入CSS)] --- ## 下一步... - CSS 選擇器 (class, id) - CSS 優先權 👉 [參考資料](https://www.minwt.com/webdesign-dev/css/17118.html) - CSS BOX MODEL - There is More...a lot more 😹 ---- ## 作業: ![](https://i.imgur.com/jOc1JF1.png) ---- ## 作業2: ![](http://i.imgur.com/0dnCF58.png) ---- ## 更多好料: - [20萬+點閱!Chris 前端新手村](https://ithelp.ithome.com.tw/users/20107637/ironman/1457) - [必收藏 w3schools](https://www.w3schools.com/tags/ref_byfunc.asp) - [網頁前端入門](https://docs.google.com/presentation/d/1fPJ4twSp9q5w7hpunaDC4DFkjufyi2ORNCzFNaZ2NTs/edit#slide=id.g1c582c356e_0_0) - [一張圖看懂優先權](http://cssspecificity.com/) --- ## 參考資料 - [切版舉例用圖來源](https://www.websitebuilderexpert.com/awesome-home-page-design-layouts/) - [CSS 畫幾合圖形](http://www.cnblogs.com/jscode/archive/2012/10/19/2730905.html) --- > *關於我* > ## LeeBoy > - Web developer > - [GitHub](https://github.com/Leeboyd) > - [Medium](https://medium.com/@jobboy0101) > - 近期研究: Angular、RxJS
{"metaMigratedAt":"2023-06-14T16:21:27.068Z","metaMigratedFrom":"Content","title":"FreeCodeCamp #3 HTML5 and CSS","breaks":true,"contributors":"[]"}
    621 views