From 84759592a08fdbbaf93dbd42fe431540b3693525 Mon Sep 17 00:00:00 2001 From: "yuting.song" Date: Tue, 25 Jun 2019 12:42:20 +0800 Subject: [PATCH 1/5] [yuting] fix #58 variable name --- 04 - Array Cardio Day 1/index-SOYAINE.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/04 - Array Cardio Day 1/index-SOYAINE.html b/04 - Array Cardio Day 1/index-SOYAINE.html index f9f8dbf..a1ff32a 100644 --- a/04 - Array Cardio Day 1/index-SOYAINE.html +++ b/04 - Array Cardio Day 1/index-SOYAINE.html @@ -132,7 +132,7 @@ // 7. sort Exercise // Sort the people alphabetically by last name // 按照姓氏的字母进行排序 - const sortName = inventors.sort((a, b) => { + const sortName = people.sort((a, b) => { return (a.last > b.last) ? 1 : -1; }) console.table(sortName); From f45d8636f4954730751785a50ff91e3f28462f15 Mon Sep 17 00:00:00 2001 From: soyaine Date: Tue, 25 Jun 2019 14:32:38 +0800 Subject: [PATCH 2/5] style: lint comment code --- 09 - Dev Tools Domination/index-SOYAINE.html | 103 +++++++++--------- .../index-SOYAINE.html | 4 +- 2 files changed, 56 insertions(+), 51 deletions(-) diff --git a/09 - Dev Tools Domination/index-SOYAINE.html b/09 - Dev Tools Domination/index-SOYAINE.html index a8780bd..4dcbabd 100644 --- a/09 - Dev Tools Domination/index-SOYAINE.html +++ b/09 - Dev Tools Domination/index-SOYAINE.html @@ -9,7 +9,13 @@

×点×我×呀×

diff --git a/14 - JavaScript References VS Copying/index-SOYAINE.html b/14 - JavaScript References VS Copying/index-SOYAINE.html index acf3f62..4e11b80 100644 --- a/14 - JavaScript References VS Copying/index-SOYAINE.html +++ b/14 - JavaScript References VS Copying/index-SOYAINE.html @@ -101,8 +101,8 @@ } }; -// console.clear(); -// console.log(wes); + // console.clear(); + // console.log(wes); const dev = Object.assign({}, wes); From a5d2659ceec9b14256f85286720ecbbc05d52e85 Mon Sep 17 00:00:00 2001 From: soyaine Date: Thu, 27 Jun 2019 12:09:58 +0800 Subject: [PATCH 3/5] style: lint code --- 06 - Type Ahead/index-SOYAINE.html | 84 ++++++++++++++---------------- 1 file changed, 38 insertions(+), 46 deletions(-) diff --git a/06 - Type Ahead/index-SOYAINE.html b/06 - Type Ahead/index-SOYAINE.html index 927d08d..890247a 100644 --- a/06 - Type Ahead/index-SOYAINE.html +++ b/06 - Type Ahead/index-SOYAINE.html @@ -14,61 +14,53 @@
  • - - - - - - - - + }).join(''); + // console.log(html); + suggestions.innerHTML = html; + } + const search = document.querySelector('.search'); + const suggestions = document.querySelector('.suggestions'); + search.addEventListener('change', displayMatches); + search.addEventListener('keyup', displayMatches); + // console.log(poetrys); + + + \ No newline at end of file From 0f60362b17dfed0b5d299c7ba961aa9cd9e694d0 Mon Sep 17 00:00:00 2001 From: Hide <355085070@qq.com> Date: Wed, 24 Jul 2019 22:17:55 +0800 Subject: [PATCH 4/5] 1 --- 01 - JavaScript Drum Kit/index-START.html | 131 ++++++++++++--------- 09 - Dev Tools Domination/index-START.html | 1 + 2 files changed, 75 insertions(+), 57 deletions(-) diff --git a/01 - JavaScript Drum Kit/index-START.html b/01 - JavaScript Drum Kit/index-START.html index c771dea..dfc6316 100644 --- a/01 - JavaScript Drum Kit/index-START.html +++ b/01 - JavaScript Drum Kit/index-START.html @@ -1,65 +1,82 @@ - - - JS Drum Kit - - - + + + JS Drum Kit + + + +
    +
    + A + clap +
    +
    + S + hihat +
    +
    + D + kick +
    +
    + F + openhat +
    +
    + G + boom +
    +
    + H + ride +
    +
    + J + snare +
    +
    + K + tom +
    +
    + L + tink +
    +
    -
    -
    - A - clap -
    -
    - S - hihat -
    -
    - D - kick -
    -
    - F - openhat -
    -
    - G - boom -
    -
    - H - ride -
    -
    - J - snare -
    -
    - K - tom -
    -
    - L - tink -
    -
    + + + + + + + + + - - - - - - - - - + - - - + diff --git a/09 - Dev Tools Domination/index-START.html b/09 - Dev Tools Domination/index-START.html index 196fffd..54b5430 100644 --- a/09 - Dev Tools Domination/index-START.html +++ b/09 - Dev Tools Domination/index-START.html @@ -6,6 +6,7 @@ +

    ×BREAK×DOWN×

    + + + diff --git a/09 - Dev Tools Domination/index-START.html b/09 - Dev Tools Domination/index-START.html index 54b5430..196fffd 100644 --- a/09 - Dev Tools Domination/index-START.html +++ b/09 - Dev Tools Domination/index-START.html @@ -6,7 +6,6 @@ -

    ×BREAK×DOWN×