Pen Settings

HTML

CSS

CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URL's added here will be added as <link>s in order, and before the CSS in the editor. If you link to another Pen, it will include the CSS from that Pen. If the preprocessor matches, it will attempt to combine them before processing.

+ add another resource

JavaScript

Babel is required to process package imports. If you need a different preprocessor remove all packages first.

Add External Scripts/Pens

Any URL's added here will be added as <script>s in order, and run before the JavaScript in the editor. You can use the URL of any other Pen and it will include the JavaScript from that Pen.

+ add another resource

Behavior

Save Automatically?

If active, Pens will autosave every 30 seconds after being saved once.

Auto-Updating Preview

If enabled, the preview panel updates automatically as you code. If disabled, use the "Run" button to update.

Format on Save

If enabled, your code will be formatted when you actively save your Pen. Note: your code becomes un-folded during formatting.

Editor Settings

Code Indentation

Want to change your Syntax Highlighting theme, Fonts and more?

Visit your global Editor Settings.

HTML

              
                #app(v-cloak)
    h1 JS30 學習筆記連結目錄
    img(src="https://4.bp.blogspot.com/-v454rZDbicY/WIDCrq8RueI/AAAAAAAAxpM/JS9AkI1iHWcAyuBtCZtAWgxpZyuf57dfgCPcB/s1600/JS30.png")
    p 我覺得 JS30 真的是非常好的 JS 練習,關於 JS30 的說明可以參考 #[a(href="https://pjchender.blogspot.tw/2017/01/js30-day0.html" target="_blank") 這一篇(JS30 系列 Day0 - 課程說明)] ,下面列的是個人的學習筆記,如果有錯誤的部分歡迎告知:
    ul.quotation
        li(v-for="item in tableOfContents" v-show="item.link")
            a(:href="item.link" target="blank") {{ item.title }} 
                i.fa.fa-thumbs-up(v-if="item.recommend")
            br
            span.code tags
            span : {{item.tags}}
              
            
!

CSS

              
                $green: #41CEC0;
$vue: #41b883;
$blue: #35495e;
$purple: #A53860;
$red: #C63647;
$yellow: #FFDF2C;
$orange: #E96900;

[v-cloak]{
  display: none;
}


              
            
!

JS

              
                let tableOfContents = [
    {
        title: "[Day1] JavaScript Drum Kit",
        link:
            "https://hackmd.io/MwBgrGCGCcAsAmBaAxpATGRsDs1uOnjADNFIQBGNbbK6MbANiA==",
        tags:
            "偵測鍵盤, key, 播放音效, audio, class manipulation, 操作 class, transitionend",
        recommend: true
    },
    {
        title: "[Day2] CSS + JS Clock",
        link:
            "https://hackmd.io/JwVgLA7MDMBGCGBaApgEwBy0WAZmai8ADAIzrYBMqYRqI0I8OJQA",
        tags: "時間, time,CSS操作",
        recommend: false
    },
    {
        title: "[Day3] Playing with CSS Variables and JS",
        link:
            "https://hackmd.io/IYFgpiDGCsBskFoAmAGMSEgEyRAgRgBwCMeAzMAJxj5YqVJiTBA=",
        tags: "CSS Variables, CSS變數, data-attribute",
        recommend: true
    },
    {
        title: "[Day4] Array Cardio Day 1",
        link:
            "https://hackmd.io/EYZgjAxhCmCssFoAsAmVyAMIMIJwDYB2FBFDAExRAEN95qVqg===",
        tags: "Array, 陣列, filter, map, sort, reduce",
        recommend: false
    },
    {
        title: "[Day5] Flex Panels Image Gallery",
        link:
            "https://hackmd.io/BwIwZgjBCsBMCcBaC8AmBDRAWAbOgDIuhqogOzASxbSoCmdWEwQA",
        tags: "flex",
        recommend: false
    },
    {
        title: "[Day6] Ajax Type Ahead",
        link:
            "https://hackmd.io/AwNgTCCmCGAsBmBaAzGeAORtoCNPXQGMB2LYATlGGLGQBMwwg===",
        tags:
            "JS30, AJAX, Fetch, regex, match, replace, 正規表達式, 資料篩選, 資料過濾, filter",
        recommend: true
    },
    {
        title: "[Day7] Array Cardio Day 2",
        link: "https://hackmd.io/IYNgJgRgTAjArBAtJA7AZkQFgBwFMaLaYCcGaKxAxtsFAGYgR0pA",
        tags: "Array, 陣列, some, every, find, findIndex",
        recommend: false
    },
    {
        title: "[Day8] Fun with HTML5 Canvas",
        link: "",
        tags: "",
        recommend: false
    },
    {
        title: "[Day9] 14 Must Know Dev Tools Tricks",
        link: "",
        tags: "",
        recommend: false
    },
    {
        title: "[Day10] Hold Shift to Check Multiple Checkboxes",
        link: "",
        tags: "",
        recommend: false
    },
    {
        title: "[Day11] Custom HTML5 Video Player",
        link: "",
        tags: "",
        recommend: false
    },
    {
        title: "[Day12] Key Sequence Detection (KONAMI CODE)",
        link: "",
        tags: "",
        recommend: false
    },
    {
        title: "[Day13] Slide In on Scroll",
        link: "",
        tags: "",
        recommend: false
    },
    {
        title: "[Day14] Object and Arrays - Reference VS Copy",
        link: "",
        tags: "",
        recommend: false
    },
    {
        title: "[Day15] LocalStorage and Event Delegation",
        link: "",
        tags: "",
        recommend: false
    },
    {
        title: "[Day16] CSS Text Shadow Mouse Move Effect",
        link: "",
        tags: "",
        recommend: false
    },
    {
        title: "[Day17] Sorting Band Names without articles",
        link: "",
        tags: "",
        recommend: false
    },
    {
        title: "[Day18] Tally String Times with Reduce",
        link: "",
        tags: "",
        recommend: false
    },
    {
        title: "[Day19] Unreal Webcam Fun",
        link: "",
        tags: "",
        recommend: false
    },
    {
        title: "[Day20] Native Speech Recognition",
        link: "",
        tags: "",
        recommend: false
    },
    {
        title: "[Day21] Geolocation based Speedometer and Compass",
        link: "",
        tags: "",
        recommend: false
    },
    {
        title: "[Day22] Follow Along Links",
        link: "",
        tags: "",
        recommend: false
    },
    { title: "[Day23] Speech Synthesis", link: "", tags: "", recommend: false },
    { title: "[Day24] Sticky Nav", link: "", tags: "", recommend: false },
    {
        title: "[Day25] Event Capture, Propagation, Bubbling and Once",
        link: "",
        tags: "",
        recommend: false
    },
    {
        title: "[Day26] Stripe Follow Along Dropdown",
        link: "",
        tags: "",
        recommend: false
    },
    {
        title: "[Day27] Click and Drag to Scroll",
        link:
            "https://hackmd.io/GwFgrAZgnARpC0MoBMLxAdjMxMCmATPAIbAFhSkCM25QA===",
        tags: "coordinate system, drag, 座標系統",
        recommend: true
    },
    {
        title: "[Day28] Video Speed Controller UI",
        link: "",
        tags: "",
        recommend: false
    },
    { title: "[Day29] Countdown Clock", link: "", tags: "", recommend: false },
    { title: "[Day30] Whack A Mole Game", link: "", tags: "", recommend: false }
];

new Vue({
    el: "#app",
    data: {
        tableOfContents
    }
});

              
            
!
999px

Console