我們在網頁最常用的是什麼?就是 header 中的 menu 呀🙆♂️🙆♂️🙆♂️
那這週我來把解釋如何使用 Jquery 做具有 RWD…
BEM 其實是一種 CSS class 命名的設計模式🤩,把原本的 class 名稱用不同的區塊來做寫法上的區分,讓人更容易閱讀,BEM 分成以下三個:
ES6 新語法有很多,第一篇就以先前 JavaScript小學-variable變數 作延伸,介紹 let、const ,為什麼不用 var 就好非要多了解新的語法呢?來看看吧~
let
const
var
object物件是一個複合資料型態 (composite data type),可以把它想成儲存各種資料的瓶子,瓶子適用一個{} 所包起來,裡面每組資料是由一個屬性名稱與一個或數個值所形成,並且除了最後一組之外,尾巴都要用 …
{}
函式 function 就是可以把一個重複的動作先打包成一套動作,方便重複使用和維護。先來看看函式的基礎架構,有函式名稱、在()中的參數arguments 、最後{}中方入需要執行的動作。
()
arguments
Array…
Array