├── .gitignore ├── 00 - Getting Started └── index-VUE.html ├── 01 - JavaScript Drum Kit ├── index-FINISHED.html ├── index-START.html ├── index-VUE-V1.html ├── index-VUE-V2.html ├── sounds │ ├── boom.wav │ ├── clap.wav │ ├── hihat.wav │ ├── kick.wav │ ├── openhat.wav │ ├── ride.wav │ ├── snare.wav │ ├── tink.wav │ └── tom.wav └── style.css ├── 02 - JS and CSS Clock ├── index-FINISHED.html ├── index-START.html └── index-VUE.html ├── 03 - CSS Variables ├── index-FINISHED.html ├── index-START.html ├── index-VUE-COMPUTED-STYLES.html └── index-VUE-CSS-VARIABLES.html ├── 04 - Array Cardio Day 1 ├── index-FINISHED.html └── index-START.html ├── 05 - Flex Panel Gallery ├── index-FINISHED.html ├── index-START.html └── index-VUE.html ├── 06 - Type Ahead ├── index-FINISHED.html ├── index-START.html ├── index-VUE.html └── style.css ├── 07 - Array Cardio Day 2 ├── index-FINISHED.html └── index-START.html ├── 08 - Fun with HTML5 Canvas ├── index-FINISHED.html ├── index-START.html └── index-VUE.html ├── 09 - Dev Tools Domination ├── index-FINISHED.html └── index-START.html ├── 10 - Hold Shift and Check Checkboxes ├── index-FINISHED.html ├── index-START.html └── index-VUE.html ├── 11 - Custom Video Player ├── index.html ├── scripts-FINISHED.js ├── scripts.js └── style.css ├── 12 - Key Sequence Detection ├── index-FINISHED.html └── index-START.html ├── 13 - Slide in on Scroll ├── index-FINISHED.html └── index-START.html ├── 14 - JavaScript References VS Copying ├── index-FINISHED.html └── index-START.html ├── 15 - LocalStorage ├── index-FINISHED.html ├── index-START.html └── style.css ├── 16 - Mouse Move Shadow ├── index-finished.html └── index-start.html ├── 17 - Sort Without Articles ├── index-FINISHED.html └── index-START.html ├── 18 - Adding Up Times with Reduce ├── index-FINISHED.html └── index-START.html ├── 19 - Webcam Fun ├── index.html ├── package.json ├── scripts-FINISHED.js ├── scripts.js └── style.css ├── 20 - Speech Detection ├── index-FINISHED.html ├── index-START.html └── package.json ├── 21 - Geolocation ├── index-FINISHED.html ├── index-START.html └── package.json ├── 22 - Follow Along Link Highlighter ├── index-FINISHED.html ├── index-START.html └── style.css ├── 23 - Speech Synthesis ├── index-FINISHED.html ├── index-START.html └── style.css ├── 24 - Sticky Nav ├── index-FINISHED.html ├── index-START.html ├── style-FINISHED.css └── style-START.css ├── 25 - Event Capture Propagation Bubbling and Once ├── index-FINISHED.html └── index-START.html ├── 26 - Stripe Follow Along Nav ├── index-FINISHED.html └── index-START.html ├── 27 - Click and Drag ├── index-FINISHED.html ├── index-START.html └── style.css ├── 28 - Video Speed Controller ├── index-FINISHED.html ├── index-START.html └── style.css ├── 29 - Countdown Timer ├── index.html ├── scripts-FINISHED.js ├── scripts-START.js └── style.css ├── 30 - Whack A Mole ├── dirt.svg ├── index-FINISHED.html ├── index-START.html ├── mole.svg └── style.css ├── PULL_REQUEST_TEMPLATE.md ├── assets └── a-new-vue-on-js30.jpg ├── index.html ├── package.json ├── readme.md └── sandbox.config.json /.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | node_modules/ 3 | *.log 4 | haters/ 5 | .idea/ 6 | -------------------------------------------------------------------------------- /00 - Getting Started/index-VUE.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | GETTING STARTED 6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | {{ message }} 14 |
15 | 16 | 17 | 33 | 34 | 35 | 37 | 38 | 39 | -------------------------------------------------------------------------------- /01 - JavaScript Drum Kit/index-FINISHED.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | JS Drum Kit 6 | 7 | 8 | 9 | 10 | 11 |
12 |
13 | A 14 | clap 15 |
16 |
17 | S 18 | hihat 19 |
20 |
21 | D 22 | kick 23 |
24 |
25 | F 26 | openhat 27 |
28 |
29 | G 30 | boom 31 |
32 |
33 | H 34 | ride 35 |
36 |
37 | J 38 | snare 39 |
40 |
41 | K 42 | tom 43 |
44 |
45 | L 46 | tink 47 |
48 |
49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 80 | 81 | 82 | 83 | 84 | -------------------------------------------------------------------------------- /01 - JavaScript Drum Kit/index-START.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | JS Drum Kit 6 | 7 | 8 | 9 | 10 | 11 |
12 |
13 | A 14 | clap 15 |
16 |
17 | S 18 | hihat 19 |
20 |
21 | D 22 | kick 23 |
24 |
25 | F 26 | openhat 27 |
28 |
29 | G 30 | boom 31 |
32 |
33 | H 34 | ride 35 |
36 |
37 | J 38 | snare 39 |
40 |
41 | K 42 | tom 43 |
44 |
45 | L 46 | tink 47 |
48 |
49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 63 | 64 | 65 | 66 | 67 | -------------------------------------------------------------------------------- /01 - JavaScript Drum Kit/index-VUE-V1.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | JS Drum Kit 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 |
14 |
15 |
16 | A 17 | clap 18 |
19 |
20 | S 21 | hihat 22 |
23 |
24 | D 25 | kick 26 |
27 |
28 | F 29 | openhat 30 |
31 |
32 | G 33 | boom 34 |
35 |
36 | H 37 | ride 38 |
39 |
40 | J 41 | snare 42 |
43 |
44 | K 45 | tom 46 |
47 |
48 | L 49 | tink 50 |
51 |
52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 |
63 | 64 | 65 | 90 | 91 | 92 | 93 | -------------------------------------------------------------------------------- /01 - JavaScript Drum Kit/index-VUE-V2.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | JS Drum Kit 6 | 7 | 8 | 9 | 10 | 11 |
12 |
13 |
19 | {{ key.keyName }} 20 | {{ key.soundName }} 21 |
22 |
23 |
24 | 25 | 60 | 61 | 62 | -------------------------------------------------------------------------------- /01 - JavaScript Drum Kit/sounds/boom.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davefollett/JavaScript30/0c7003efce0dbebcc7705920fe42ee70da2db8e2/01 - JavaScript Drum Kit/sounds/boom.wav -------------------------------------------------------------------------------- /01 - JavaScript Drum Kit/sounds/clap.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davefollett/JavaScript30/0c7003efce0dbebcc7705920fe42ee70da2db8e2/01 - JavaScript Drum Kit/sounds/clap.wav -------------------------------------------------------------------------------- /01 - JavaScript Drum Kit/sounds/hihat.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davefollett/JavaScript30/0c7003efce0dbebcc7705920fe42ee70da2db8e2/01 - JavaScript Drum Kit/sounds/hihat.wav -------------------------------------------------------------------------------- /01 - JavaScript Drum Kit/sounds/kick.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davefollett/JavaScript30/0c7003efce0dbebcc7705920fe42ee70da2db8e2/01 - JavaScript Drum Kit/sounds/kick.wav -------------------------------------------------------------------------------- /01 - JavaScript Drum Kit/sounds/openhat.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davefollett/JavaScript30/0c7003efce0dbebcc7705920fe42ee70da2db8e2/01 - JavaScript Drum Kit/sounds/openhat.wav -------------------------------------------------------------------------------- /01 - JavaScript Drum Kit/sounds/ride.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davefollett/JavaScript30/0c7003efce0dbebcc7705920fe42ee70da2db8e2/01 - JavaScript Drum Kit/sounds/ride.wav -------------------------------------------------------------------------------- /01 - JavaScript Drum Kit/sounds/snare.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davefollett/JavaScript30/0c7003efce0dbebcc7705920fe42ee70da2db8e2/01 - JavaScript Drum Kit/sounds/snare.wav -------------------------------------------------------------------------------- /01 - JavaScript Drum Kit/sounds/tink.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davefollett/JavaScript30/0c7003efce0dbebcc7705920fe42ee70da2db8e2/01 - JavaScript Drum Kit/sounds/tink.wav -------------------------------------------------------------------------------- /01 - JavaScript Drum Kit/sounds/tom.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davefollett/JavaScript30/0c7003efce0dbebcc7705920fe42ee70da2db8e2/01 - JavaScript Drum Kit/sounds/tom.wav -------------------------------------------------------------------------------- /01 - JavaScript Drum Kit/style.css: -------------------------------------------------------------------------------- 1 | html { 2 | font-size: 10px; 3 | background: url(http://i.imgur.com/b9r5sEL.jpg) bottom center; 4 | background-size: cover; 5 | } 6 | body,html { 7 | margin: 0; 8 | padding: 0; 9 | font-family: sans-serif; 10 | } 11 | 12 | .keys { 13 | display: flex; 14 | flex: 1; 15 | min-height: 100vh; 16 | align-items: center; 17 | justify-content: center; 18 | } 19 | 20 | .key { 21 | border: .4rem solid black; 22 | border-radius: .5rem; 23 | margin: 1rem; 24 | font-size: 1.5rem; 25 | padding: 1rem .5rem; 26 | transition: all .07s ease; 27 | width: 10rem; 28 | text-align: center; 29 | color: white; 30 | background: rgba(0,0,0,0.4); 31 | text-shadow: 0 0 .5rem black; 32 | } 33 | 34 | .playing { 35 | transform: scale(1.1); 36 | border-color: #ffc600; 37 | box-shadow: 0 0 1rem #ffc600; 38 | } 39 | 40 | kbd { 41 | display: block; 42 | font-size: 4rem; 43 | } 44 | 45 | .sound { 46 | font-size: 1.2rem; 47 | text-transform: uppercase; 48 | letter-spacing: .1rem; 49 | color: #ffc600; 50 | } 51 | -------------------------------------------------------------------------------- /02 - JS and CSS Clock/index-FINISHED.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | JS + CSS Clock 6 | 7 | 8 | 9 | 10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 | 18 | 19 | 71 | 72 | 98 | 99 | 100 | -------------------------------------------------------------------------------- /02 - JS and CSS Clock/index-START.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | JS + CSS Clock 6 | 7 | 8 | 9 | 10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 | 18 | 19 | 68 | 69 | 73 | 74 | 75 | -------------------------------------------------------------------------------- /02 - JS and CSS Clock/index-VUE.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | JS + CSS Clock 6 | 7 | 8 | 9 | 10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 | 18 | 48 | 49 | 101 | 102 | 103 | -------------------------------------------------------------------------------- /03 - CSS Variables/index-FINISHED.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Scoped CSS Variables and JS 6 | 7 | 8 |

Update CSS Variables with JS

9 | 10 |
11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 61 | 62 | 73 | 74 | 75 | 76 | 77 | -------------------------------------------------------------------------------- /03 - CSS Variables/index-START.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Scoped CSS Variables and JS 6 | 7 | 8 |

Update CSS Variables with JS

9 | 10 |
11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 46 | 47 | 49 | 50 | 51 | 52 | -------------------------------------------------------------------------------- /03 - CSS Variables/index-VUE-COMPUTED-STYLES.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Scoped CSS Variables and JS 6 | 7 | 8 | 9 |
10 |

Update CSS Variables with JS

11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 |
22 | 23 | 24 |
25 | 26 | 48 | 49 | 71 | 72 | -------------------------------------------------------------------------------- /03 - CSS Variables/index-VUE-CSS-VARIABLES.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Scoped CSS Variables and JS 6 | 7 | 8 | 9 |
10 |

Update CSS Variables with JS

11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 |
22 | 23 | 24 |
25 | 26 | 71 | 72 | 104 | 105 | -------------------------------------------------------------------------------- /04 - Array Cardio Day 1/index-FINISHED.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Array Cardio 💪 6 | 7 | 8 |

Psst: have a look at the JavaScript Console 💁

9 | 105 | 106 | 107 | -------------------------------------------------------------------------------- /04 - Array Cardio Day 1/index-START.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Array Cardio 💪 6 | 7 | 8 |

Psst: have a look at the JavaScript Console 💁

9 | 58 | 59 | 60 | -------------------------------------------------------------------------------- /05 - Flex Panel Gallery/index-FINISHED.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Flex Panels 💪 6 | 7 | 8 | 9 | 90 | 91 | 92 |
93 |
94 |

Hey

95 |

Let's

96 |

Dance

97 |
98 |
99 |

Give

100 |

Take

101 |

Receive

102 |
103 |
104 |

Experience

105 |

It

106 |

Today

107 |
108 |
109 |

Give

110 |

All

111 |

You can

112 |
113 |
114 |

Life

115 |

In

116 |

Motion

117 |
118 |
119 | 120 | 138 | 139 | 140 | 141 | -------------------------------------------------------------------------------- /05 - Flex Panel Gallery/index-START.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Flex Panels 💪 6 | 7 | 8 | 9 | 74 | 75 | 76 |
77 |
78 |

Hey

79 |

Let's

80 |

Dance

81 |
82 |
83 |

Give

84 |

Take

85 |

Receive

86 |
87 |
88 |

Experience

89 |

It

90 |

Today

91 |
92 |
93 |

Give

94 |

All

95 |

You can

96 |
97 |
98 |

Life

99 |

In

100 |

Motion

101 |
102 |
103 | 104 | 107 | 108 | 109 | 110 | 111 | 112 | -------------------------------------------------------------------------------- /05 - Flex Panel Gallery/index-VUE.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Flex Panels 💪 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 |
14 |
15 |
22 |

{{ p.topWord }}

23 |

{{ p.middleWord }}

24 |

{{ p.bottomWord }}

25 |
26 |
27 |
28 | 29 | 30 | 55 | 56 | 57 | 139 | 140 | 141 | -------------------------------------------------------------------------------- /06 - Type Ahead/index-FINISHED.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Type Ahead 👀 6 | 7 | 8 | 9 | 10 |
11 | 12 | 16 |
17 | 60 | 61 | 62 | -------------------------------------------------------------------------------- /06 - Type Ahead/index-START.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Type Ahead 👀 6 | 7 | 8 | 9 | 10 |
11 | 12 | 16 |
17 | 21 | 22 | 23 | -------------------------------------------------------------------------------- /06 - Type Ahead/index-VUE.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Type Ahead 👀 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 |
14 |
15 | 16 | 31 |
32 |
33 | 34 | 35 | 76 | 77 | 78 | -------------------------------------------------------------------------------- /06 - Type Ahead/style.css: -------------------------------------------------------------------------------- 1 | html { 2 | box-sizing: border-box; 3 | background:#ffc600; 4 | font-family:'helvetica neue'; 5 | font-size: 20px; 6 | font-weight: 200; 7 | } 8 | *, *:before, *:after { 9 | box-sizing: inherit; 10 | } 11 | input { 12 | width: 100%; 13 | padding:20px; 14 | } 15 | 16 | .search-form { 17 | max-width:400px; 18 | margin:50px auto; 19 | } 20 | 21 | input.search { 22 | margin: 0; 23 | text-align: center; 24 | outline:0; 25 | border: 10px solid #F7F7F7; 26 | width: 120%; 27 | left: -10%; 28 | position: relative; 29 | top: 10px; 30 | z-index: 2; 31 | border-radius: 5px; 32 | font-size: 40px; 33 | box-shadow: 0 0 5px rgba(0, 0, 0, 0.12), inset 0 0 2px rgba(0, 0, 0, 0.19); 34 | } 35 | 36 | 37 | .suggestions { 38 | margin: 0; 39 | padding: 0; 40 | position: relative; 41 | /*perspective:20px;*/ 42 | } 43 | .suggestions li { 44 | background:white; 45 | list-style: none; 46 | border-bottom: 1px solid #D8D8D8; 47 | box-shadow: 0 0 10px rgba(0, 0, 0, 0.14); 48 | margin:0; 49 | padding:20px; 50 | transition:background 0.2s; 51 | display:flex; 52 | justify-content:space-between; 53 | text-transform: capitalize; 54 | } 55 | 56 | .suggestions li:nth-child(even) { 57 | transform: perspective(100px) rotateX(3deg) translateY(2px) scale(1.001); 58 | background: linear-gradient(to bottom, #ffffff 0%,#EFEFEF 100%); 59 | } 60 | .suggestions li:nth-child(odd) { 61 | transform: perspective(100px) rotateX(-3deg) translateY(3px); 62 | background: linear-gradient(to top, #ffffff 0%,#EFEFEF 100%); 63 | } 64 | 65 | span.population { 66 | font-size: 15px; 67 | } 68 | 69 | .hl { 70 | background:#ffc600; 71 | } -------------------------------------------------------------------------------- /07 - Array Cardio Day 2/index-FINISHED.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Array Cardio 💪💪 6 | 7 | 8 |

Psst: have a look at the JavaScript Console 💁

9 | 67 | 68 | 69 | -------------------------------------------------------------------------------- /07 - Array Cardio Day 2/index-START.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Array Cardio 💪💪 6 | 7 | 8 |

Psst: have a look at the JavaScript Console 💁

9 | 40 | 41 | 42 | -------------------------------------------------------------------------------- /08 - Fun with HTML5 Canvas/index-FINISHED.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | HTML5 Canvas 6 | 7 | 8 | 9 | 65 | 66 | 71 | 72 | 73 | 74 | -------------------------------------------------------------------------------- /08 - Fun with HTML5 Canvas/index-START.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | HTML5 Canvas 6 | 7 | 8 | 9 | 11 | 12 | 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /08 - Fun with HTML5 Canvas/index-VUE.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | HTML5 Canvas 6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 20 | 21 |
22 | 23 | 24 | 81 | 82 | 83 | 88 | 89 | 90 | -------------------------------------------------------------------------------- /09 - Dev Tools Domination/index-FINISHED.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Console Tricks! 6 | 7 | 8 | 9 |

×BREAK×DOWN×

10 | 11 | 88 | 89 | 90 | -------------------------------------------------------------------------------- /09 - Dev Tools Domination/index-START.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Console Tricks! 6 | 7 | 8 | 9 |

×BREAK×DOWN×

10 | 11 | 45 | 46 | 47 | -------------------------------------------------------------------------------- /10 - Hold Shift and Check Checkboxes/index-FINISHED.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Hold Shift to Check Multiple Checkboxes 6 | 7 | 8 | 56 | 62 |
63 |
64 | 65 |

This is an inbox layout.

66 |
67 |
68 | 69 |

Check one item

70 |
71 |
72 | 73 |

Hold down your Shift key

74 |
75 |
76 | 77 |

Check a lower item

78 |
79 |
80 | 81 |

Everything inbetween should also be set to checked

82 |
83 |
84 | 85 |

Try do it without any libraries

86 |
87 |
88 | 89 |

Just regular JavaScript

90 |
91 |
92 | 93 |

Good Luck!

94 |
95 |
96 | 97 |

Don't forget to tweet your result!

98 |
99 |
100 | 101 | 131 | 132 | 133 | -------------------------------------------------------------------------------- /10 - Hold Shift and Check Checkboxes/index-START.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Hold Shift to Check Multiple Checkboxes 6 | 7 | 8 | 56 | 62 |
63 |
64 | 65 |

This is an inbox layout.

66 |
67 |
68 | 69 |

Check one item

70 |
71 |
72 | 73 |

Hold down your Shift key

74 |
75 |
76 | 77 |

Check a lower item

78 |
79 |
80 | 81 |

Everything inbetween should also be set to checked

82 |
83 |
84 | 85 |

Try do it without any libraries

86 |
87 |
88 | 89 |

Just regular JavaScript

90 |
91 |
92 | 93 |

Good Luck!

94 |
95 |
96 | 97 |

Don't forget to tweet your result!

98 |
99 |
100 | 101 | 103 | 104 | 105 | -------------------------------------------------------------------------------- /10 - Hold Shift and Check Checkboxes/index-VUE.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Hold Shift to Check Multiple Checkboxes 6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 |
14 |
18 | 22 |

{{ checkbox.label }}

23 |
24 |
25 |
26 | 27 | 28 | 72 | 73 | 74 | 119 | 120 | 121 | -------------------------------------------------------------------------------- /11 - Custom Video Player/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | HTML Video Player 6 | 7 | 8 | 9 | 10 |
11 | 12 | 13 |
14 |
15 |
16 |
17 | 18 | 19 | 20 | 21 | 22 |
23 |
24 | 25 | 26 | 27 | 28 | -------------------------------------------------------------------------------- /11 - Custom Video Player/scripts-FINISHED.js: -------------------------------------------------------------------------------- 1 | /* Get Our Elements */ 2 | const player = document.querySelector('.player'); 3 | const video = player.querySelector('.viewer'); 4 | const progress = player.querySelector('.progress'); 5 | const progressBar = player.querySelector('.progress__filled'); 6 | const toggle = player.querySelector('.toggle'); 7 | const skipButtons = player.querySelectorAll('[data-skip]'); 8 | const ranges = player.querySelectorAll('.player__slider'); 9 | 10 | /* Build out functions */ 11 | function togglePlay() { 12 | const method = video.paused ? 'play' : 'pause'; 13 | video[method](); 14 | } 15 | 16 | function updateButton() { 17 | const icon = this.paused ? '►' : '❚ ❚'; 18 | console.log(icon); 19 | toggle.textContent = icon; 20 | } 21 | 22 | function skip() { 23 | video.currentTime += parseFloat(this.dataset.skip); 24 | } 25 | 26 | function handleRangeUpdate() { 27 | video[this.name] = this.value; 28 | } 29 | 30 | function handleProgress() { 31 | const percent = (video.currentTime / video.duration) * 100; 32 | progressBar.style.flexBasis = `${percent}%`; 33 | } 34 | 35 | function scrub(e) { 36 | const scrubTime = (e.offsetX / progress.offsetWidth) * video.duration; 37 | video.currentTime = scrubTime; 38 | } 39 | 40 | /* Hook up the event listeners */ 41 | video.addEventListener('click', togglePlay); 42 | video.addEventListener('play', updateButton); 43 | video.addEventListener('pause', updateButton); 44 | video.addEventListener('timeupdate', handleProgress); 45 | 46 | toggle.addEventListener('click', togglePlay); 47 | skipButtons.forEach(button => button.addEventListener('click', skip)); 48 | ranges.forEach(range => range.addEventListener('change', handleRangeUpdate)); 49 | ranges.forEach(range => range.addEventListener('mousemove', handleRangeUpdate)); 50 | 51 | let mousedown = false; 52 | progress.addEventListener('click', scrub); 53 | progress.addEventListener('mousemove', (e) => mousedown && scrub(e)); 54 | progress.addEventListener('mousedown', () => mousedown = true); 55 | progress.addEventListener('mouseup', () => mousedown = false); 56 | -------------------------------------------------------------------------------- /11 - Custom Video Player/scripts.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davefollett/JavaScript30/0c7003efce0dbebcc7705920fe42ee70da2db8e2/11 - Custom Video Player/scripts.js -------------------------------------------------------------------------------- /11 - Custom Video Player/style.css: -------------------------------------------------------------------------------- 1 | html { 2 | box-sizing: border-box; 3 | } 4 | 5 | *, *:before, *:after { 6 | box-sizing: inherit; 7 | } 8 | 9 | body { 10 | margin: 0; 11 | padding: 0; 12 | display:flex; 13 | background:#7A419B; 14 | min-height:100vh; 15 | background: linear-gradient(135deg, #7c1599 0%,#921099 48%,#7e4ae8 100%); 16 | background-size:cover; 17 | align-items: center; 18 | justify-content: center; 19 | } 20 | 21 | .player { 22 | max-width:750px; 23 | border:5px solid rgba(0,0,0,0.2); 24 | box-shadow:0 0 20px rgba(0,0,0,0.2); 25 | position: relative; 26 | font-size: 0; 27 | overflow: hidden; 28 | } 29 | 30 | /* This css is only applied when fullscreen is active. */ 31 | .player:fullscreen { 32 | max-width: none; 33 | width: 100%; 34 | } 35 | 36 | .player:-webkit-full-screen { 37 | max-width: none; 38 | width: 100%; 39 | } 40 | 41 | .player__video { 42 | width: 100%; 43 | } 44 | 45 | .player__button { 46 | background:none; 47 | border:0; 48 | line-height:1; 49 | color:white; 50 | text-align: center; 51 | outline:0; 52 | padding: 0; 53 | cursor:pointer; 54 | max-width:50px; 55 | } 56 | 57 | .player__button:focus { 58 | border-color: #ffc600; 59 | } 60 | 61 | .player__slider { 62 | width:10px; 63 | height:30px; 64 | } 65 | 66 | .player__controls { 67 | display:flex; 68 | position: absolute; 69 | bottom:0; 70 | width: 100%; 71 | transform: translateY(100%) translateY(-5px); 72 | transition:all .3s; 73 | flex-wrap:wrap; 74 | background:rgba(0,0,0,0.1); 75 | } 76 | 77 | .player:hover .player__controls { 78 | transform: translateY(0); 79 | } 80 | 81 | .player:hover .progress { 82 | height:15px; 83 | } 84 | 85 | .player__controls > * { 86 | flex:1; 87 | } 88 | 89 | .progress { 90 | flex:10; 91 | position: relative; 92 | display:flex; 93 | flex-basis:100%; 94 | height:5px; 95 | transition:height 0.3s; 96 | background:rgba(0,0,0,0.5); 97 | cursor:ew-resize; 98 | } 99 | 100 | .progress__filled { 101 | width:50%; 102 | background:#ffc600; 103 | flex:0; 104 | flex-basis:50%; 105 | } 106 | 107 | /* unholy css to style input type="range" */ 108 | 109 | input[type=range] { 110 | -webkit-appearance: none; 111 | background:transparent; 112 | width: 100%; 113 | margin: 0 5px; 114 | } 115 | input[type=range]:focus { 116 | outline: none; 117 | } 118 | input[type=range]::-webkit-slider-runnable-track { 119 | width: 100%; 120 | height: 8.4px; 121 | cursor: pointer; 122 | box-shadow: 1px 1px 1px rgba(0, 0, 0, 0), 0 0 1px rgba(13, 13, 13, 0); 123 | background: rgba(255,255,255,0.8); 124 | border-radius: 1.3px; 125 | border: 0.2px solid rgba(1, 1, 1, 0); 126 | } 127 | input[type=range]::-webkit-slider-thumb { 128 | height: 15px; 129 | width: 15px; 130 | border-radius: 50px; 131 | background: #ffc600; 132 | cursor: pointer; 133 | -webkit-appearance: none; 134 | margin-top: -3.5px; 135 | box-shadow:0 0 2px rgba(0,0,0,0.2); 136 | } 137 | input[type=range]:focus::-webkit-slider-runnable-track { 138 | background: #bada55; 139 | } 140 | input[type=range]::-moz-range-track { 141 | width: 100%; 142 | height: 8.4px; 143 | cursor: pointer; 144 | box-shadow: 1px 1px 1px rgba(0, 0, 0, 0), 0 0 1px rgba(13, 13, 13, 0); 145 | background: #ffffff; 146 | border-radius: 1.3px; 147 | border: 0.2px solid rgba(1, 1, 1, 0); 148 | } 149 | input[type=range]::-moz-range-thumb { 150 | box-shadow: 0 0 0 rgba(0, 0, 0, 0), 0 0 0 rgba(13, 13, 13, 0); 151 | height: 15px; 152 | width: 15px; 153 | border-radius: 50px; 154 | background: #ffc600; 155 | cursor: pointer; 156 | } 157 | -------------------------------------------------------------------------------- /12 - Key Sequence Detection/index-FINISHED.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Key Detection 6 | 7 | 8 | 9 | 24 | 25 | 26 | -------------------------------------------------------------------------------- /12 - Key Sequence Detection/index-START.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Key Detection 6 | 7 | 8 | 9 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /13 - Slide in on Scroll/index-START.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Document 6 | 7 | 8 | 9 |
10 | 11 |

Slide in on Scroll

12 | 13 |

Consectetur adipisicing elit. Tempore tempora rerum, est autem cupiditate, corporis a qui libero ipsum delectus quidem dolor at nulla, adipisci veniam in reiciendis aut asperiores omnis blanditiis quod quas laborum nam! Fuga ad tempora in aspernatur pariaturlores sunt esse magni, ut, dignissimos.

14 |

Lorem ipsum cupiditate, corporis a qui libero ipsum delectus quidem dolor at nulla, adipisci veniam in reiciendis aut asperiores omnis blanditiis quod quas laborum nam! Fuga ad tempora in aspernatur pariatur fugit quibusdam dolores sunt esse magni, ut, dignissimos.

15 |

Adipisicing elit. Tempore tempora rerum..

16 |

Lorem ipsum dolor sit amet, consectetur adipisicing elit. Tempore tempora rerum, est autem cupiditate, corporis a qui libero ipsum delectus quidem dolor at nulla, adipisci veniam in reiciendis aut asperiores omnis blanditiis quod quas laborum nam! Fuga ad tempora in aspernatur pariatur fugit quibusdam dolores sunt esse magni, ut, dignissimos.

17 |

Lorem ipsum dolor sit amet, consectetur adipisicing elit. Tempore tempora rerum, est autem cupiditate, corporis a qui libero ipsum delectus quidem dolor at nulla, adipisci veniam in reiciendis aut asperiores omnis blanditiis quod quas laborum nam! Fuga ad tempora in aspernatur pariatur fugit quibusdam dolores sunt esse magni, ut, dignissimos.

18 |

Lorem ipsum dolor sit amet, consectetur adipisicing elit. Tempore tempora rerum, est autem cupiditate, corporis a qui libero ipsum delectus quidem dolor at nulla, adipisci veniam in reiciendis aut asperiores omnis blanditiis quod quas laborum nam! Fuga ad tempora in aspernatur pariatur fugit quibusdam dolores sunt esse magni, ut, dignissimos.

19 | 20 | 21 | 22 |

Lorem ipsum dolor sit amet, consectetur adipisicing elit. Voluptates, deserunt facilis et iste corrupti omnis tenetur est. Iste ut est dicta dolor itaque adipisci, dolorum minima, veritatis earum provident error molestias. Ratione magni illo sint vel velit ut excepturi consectetur suscipit, earum modi accusamus voluptatem nostrum, praesentium numquam, reiciendis voluptas sit id quisquam. Consequatur in quis reprehenderit modi perspiciatis necessitatibus saepe, quidem, suscipit iure natus dignissimos ipsam, eligendi deleniti accusantium, rerum quibusdam fugit perferendis et optio recusandae sed ratione. Culpa, dolorum reprehenderit harum ab voluptas fuga, nisi eligendi natus maiores illum quas quos et aperiam aut doloremque optio maxime fugiat doloribus. Eum dolorum expedita quam, nesciunt

23 | 24 | 25 | 26 |

at provident praesentium atque quas rerum optio dignissimos repudiandae ullam illum quibusdam. Vel ad error quibusdam, illo ex totam placeat. Quos excepturi fuga, molestiae ea quisquam minus, ratione dicta consectetur officia omnis, doloribus voluptatibus? Veniam ipsum veritatis architecto, provident quas consequatur doloremque quam quidem earum expedita, ad delectus voluptatum, omnis praesentium nostrum qui aspernatur ea eaque adipisci et cumque ab? Ea voluptatum dolore itaque odio. Eius minima distinctio harum, officia ab nihil exercitationem. Tempora rem nemo nam temporibus molestias facilis minus ipsam quam doloribus consequatur debitis nesciunt tempore officiis aperiam quisquam, molestiae voluptates cum, fuga culpa. Distinctio accusamus quibusdam, tempore perspiciatis dolorum optio facere consequatur quidem ullam beatae architecto, ipsam sequi officiis dignissimos amet impedit natus necessitatibus tenetur repellendus dolor rem! Dicta dolorem, iure, facilis illo ex nihil ipsa amet officia, optio temporibus eum autem odit repellendus nisi. Possimus modi, corrupti error debitis doloribus dicta libero earum, sequi porro ut excepturi nostrum ea voluptatem nihil culpa? Ullam expedita eligendi obcaecati reiciendis velit provident omnis quas qui in corrupti est dolore facere ad hic, animi soluta assumenda consequuntur reprehenderit! Voluptate dolor nihil veniam laborum voluptas nisi pariatur sed optio accusantium quam consectetur, corrupti, sequi et consequuntur, excepturi doloremque. Tempore quis velit corporis neque fugit non sequi eaque rem hic. Facere, inventore, aspernatur. Accusantium modi atque, asperiores qui nobis soluta cumque suscipit excepturi possimus doloremque odit saepe perferendis temporibus molestiae nostrum voluptatum quis id sint quidem nesciunt culpa. Rerum labore dolor beatae blanditiis praesentium explicabo velit optio esse aperiam similique, voluptatem cum, maiores ipsa tempore. Reiciendis sed culpa atque inventore, nam ullam enim expedita consectetur id velit iusto alias vitae explicabo nemo neque odio reprehenderit soluta sint eaque. Aperiam, qui ut tenetur, voluptate doloremque officiis dicta quaerat voluptatem rerum natus magni. Eum amet autem dolor ullam.

27 | 28 | 29 | 30 |

Lorem ipsum dolor sit amet, consectetur adipisicing elit. Distinctio maiores adipisci quibusdam repudiandae dolor vero placeat esse sit! Quibusdam saepe aperiam explicabo placeat optio, consequuntur nihil voluptatibus expedita quia vero perferendis, deserunt et incidunt eveniet temporibus doloremque possimus facilis. Possimus labore, officia dolore! Eaque ratione saepe, alias harum laboriosam deserunt laudantium blanditiis eum explicabo placeat reiciendis labore iste sint. Consectetur expedita dignissimos, non quos distinctio, eos rerum facilis eligendi. Asperiores laudantium, rerum ratione consequatur, culpa consectetur possimus atque ab tempore illum non dolor nesciunt. Neque, rerum. A vel non incidunt, quod doloremque dignissimos necessitatibus aliquid laboriosam architecto at cupiditate commodi expedita in, quae blanditiis. Deserunt labore sequi, repellat laboriosam est, doloremque culpa reiciendis tempore excepturi. Enim nostrum fugit itaque vel corporis ullam sed tenetur ipsa qui rem quam error sint, libero. Laboriosam rem, ratione. Autem blanditiis

31 | 32 | 33 |

laborum neque repudiandae quam, cumque, voluptate veritatis itaque, placeat veniam ad nisi. Expedita, laborum reprehenderit ratione soluta velit natus, odit mollitia. Corporis rerum minima fugiat in nostrum. Assumenda natus cupiditate hic quidem ex, quas, amet ipsum esse dolore facilis beatae maxime qui inventore, iste? Maiores dignissimos dolore culpa debitis voluptatem harum, excepturi enim reiciendis, tempora ab ipsam illum aspernatur quasi qui porro saepe iure sunt eligendi tenetur quaerat ducimus quas sequi omnis aperiam suscipit! Molestiae obcaecati officiis quo, ratione eveniet, provident pariatur. Veniam quasi expedita distinctio, itaque molestiae sequi, dolorum nisi repellendus quia facilis iusto dignissimos nam? Tenetur fugit quos autem nihil, perspiciatis expedita enim tempore, alias ab maiores quis necessitatibus distinctio molestias eum, quidem. Delectus impedit quidem laborum, fugit vel neque quo, ipsam, quasi aspernatur quas odio nihil? Veniam amet reiciendis blanditiis quis reprehenderit repudiandae neque, ab ducimus, odit excepturi voluptate saepe ipsam. Voluptatem eum error voluptas porro officiis, amet! Molestias, fugit, ut! Tempore non magnam, amet, facere ducimus accusantium eos veritatis neque.

34 | 35 | 36 | 37 |

Lorem ipsum dolor sit amet, consectetur adipisicing elit. Distinctio maiores adipisci quibusdam repudiandae dolor vero placeat esse sit! Quibusdam saepe aperiam explicabo placeat optio, consequuntur nihil voluptatibus expedita quia vero perferendis, deserunt et incidunt eveniet temporibus doloremque possimus facilis. Possimus labore, officia dolore! Eaque ratione saepe, alias harum laboriosam deserunt laudantium blanditiis eum explicabo placeat reiciendis labore iste sint. Consectetur expedita dignissimos, non quos distinctio, eos rerum facilis eligendi. Asperiores laudantium, rerum ratione consequatur, culpa consectetur possimus atque ab tempore illum non dolor nesciunt. Neque, rerum. A vel non incidunt, quod doloremque dignissimos necessitatibus aliquid laboriosam architecto at cupiditate commodi expedita in, quae blanditiis. Deserunt labore sequi, repellat laboriosam est, doloremque culpa reiciendis tempore excepturi. Enim nostrum fugit itaque vel corporis ullam sed tenetur ipsa qui rem quam error sint, libero. Laboriosam rem, ratione. Autem blanditiis laborum neque repudiandae quam, cumque, voluptate veritatis itaque, placeat veniam ad nisi. Expedita, laborum reprehenderit ratione soluta velit natus, odit mollitia. Corporis rerum minima fugiat in nostrum. Assumenda natus cupiditate hic quidem ex, quas, amet ipsum esse dolore facilis beatae maxime qui inventore, iste? Maiores dignissimos dolore culpa debitis voluptatem harum, excepturi enim reiciendis, tempora ab ipsam illum aspernatur quasi qui porro saepe iure sunt eligendi tenetur quaerat ducimus quas sequi omnis aperiam suscipit! Molestiae obcaecati officiis quo, ratione eveniet, provident pariatur. Veniam quasi expedita distinctio, itaque molestiae sequi, dolorum nisi repellendus quia facilis iusto dignissimos nam? Tenetur fugit quos autem nihil, perspiciatis expedita enim tempore, alias ab maiores quis necessitatibus distinctio molestias eum, quidem. Delectus impedit quidem laborum, fugit vel neque quo, ipsam, quasi aspernatur quas odio nihil? Veniam amet reiciendis blanditiis quis reprehenderit repudiandae neque, ab ducimus, odit excepturi voluptate saepe ipsam. Voluptatem eum error voluptas porro officiis, amet! Molestias, fugit, ut! Tempore non magnam, amet, facere ducimus accusantium eos veritatis neque.

38 |

Lorem ipsum dolor sit amet, consectetur adipisicing elit. Distinctio maiores adipisci quibusdam repudiandae dolor vero placeat esse sit! Quibusdam saepe aperiam explicabo placeat optio, consequuntur nihil voluptatibus expedita quia vero perferendis, deserunt et incidunt eveniet temporibus doloremque possimus facilis. Possimus labore, officia dolore! Eaque ratione saepe, alias harum laboriosam deserunt laudantium blanditiis eum explicabo placeat reiciendis labore iste sint. Consectetur expedita dignissimos, non quos distinctio, eos rerum facilis eligendi. Asperiores laudantium, rerum ratione consequatur, culpa consectetur possimus atque ab tempore illum non dolor nesciunt. Neque, rerum. A vel non incidunt, quod doloremque dignissimos necessitatibus aliquid laboriosam architecto at cupiditate commodi expedita in, quae blanditiis. Deserunt labore sequi, repellat laboriosam est, doloremque culpa reiciendis tempore excepturi. Enim nostrum fugit itaque vel corporis ullam sed tenetur ipsa qui rem quam error sint, libero. Laboriosam rem, ratione. Autem blanditiis laborum neque repudiandae quam, cumque, voluptate veritatis itaque, placeat veniam ad nisi. Expedita, laborum reprehenderit ratione soluta velit natus, odit mollitia. Corporis rerum minima fugiat in nostrum. Assumenda natus cupiditate hic quidem ex, quas, amet ipsum esse dolore facilis beatae maxime qui inventore, iste? Maiores dignissimos dolore culpa debitis voluptatem harum, excepturi enim reiciendis, tempora ab ipsam illum aspernatur quasi qui porro saepe iure sunt eligendi tenetur quaerat ducimus quas sequi omnis aperiam suscipit! Molestiae obcaecati officiis quo, ratione eveniet, provident pariatur. Veniam quasi expedita distinctio, itaque molestiae sequi, dolorum nisi repellendus quia facilis iusto dignissimos nam? Tenetur fugit quos autem nihil, perspiciatis expedita enim tempore, alias ab maiores quis necessitatibus distinctio molestias eum, quidem. Delectus impedit quidem laborum, fugit vel neque quo, ipsam, quasi aspernatur quas odio nihil? Veniam amet reiciendis blanditiis quis reprehenderit repudiandae neque, ab ducimus, odit excepturi voluptate saepe ipsam. Voluptatem eum error voluptas porro officiis, amet! Molestias, fugit, ut! Tempore non magnam, amet, facere ducimus accusantium eos veritatis neque.

39 | 40 | 41 | 42 | 43 |
44 | 45 | 62 | 63 | 118 | 119 | 120 | 121 | -------------------------------------------------------------------------------- /14 - JavaScript References VS Copying/index-FINISHED.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | JS Reference VS Copy 6 | 7 | 8 | 9 | 97 | 98 | 99 | 100 | -------------------------------------------------------------------------------- /14 - JavaScript References VS Copying/index-START.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | JS Reference VS Copy 6 | 7 | 8 | 9 | 54 | 55 | 56 | 57 | -------------------------------------------------------------------------------- /15 - LocalStorage/index-FINISHED.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | LocalStorage 6 | 7 | 8 | 9 | 13 | 14 | 15 | 16 |
17 |

LOCAL TAPAS

18 |

19 | 22 |
23 | 24 | 25 |
26 |
27 | 28 | 73 | 74 | 75 | 76 | 77 | 78 | -------------------------------------------------------------------------------- /15 - LocalStorage/index-START.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | LocalStorage 6 | 7 | 8 | 9 | 13 | 14 | 15 | 16 |
17 |

LOCAL TAPAS

18 |

19 | 22 |
23 | 24 | 25 |
26 |
27 | 28 | 34 | 35 | 36 | 37 | 38 | 39 | -------------------------------------------------------------------------------- /15 - LocalStorage/style.css: -------------------------------------------------------------------------------- 1 | 2 | html { 3 | box-sizing: border-box; 4 | background:url('http://wes.io/hx9M/oh-la-la.jpg') center no-repeat; 5 | background-size:cover; 6 | min-height:100vh; 7 | display:flex; 8 | justify-content: center; 9 | align-items: center; 10 | text-align: center; 11 | font-family: Futura,"Trebuchet MS",Arial,sans-serif 12 | } 13 | *, *:before, *:after {box-sizing: inherit; } 14 | 15 | svg { 16 | fill:white; 17 | background: rgba(0,0,0,0.1); 18 | padding: 20px; 19 | border-radius: 50%; 20 | width:200px; 21 | margin-bottom: 50px; 22 | } 23 | 24 | .wrapper { 25 | padding: 20px; 26 | max-width: 350px; 27 | background: rgba(255,255,255,0.95); 28 | box-shadow: 0 0 0 10px rgba(0,0,0,0.1); 29 | } 30 | 31 | h2 { 32 | text-align: center; 33 | margin: 0; 34 | font-weight: 200; 35 | } 36 | 37 | .plates { 38 | margin: 0; 39 | padding: 0; 40 | text-align: left; 41 | list-style: none; 42 | } 43 | 44 | .plates li { 45 | border-bottom: 1px solid rgba(0,0,0,0.2); 46 | padding: 10px 0; 47 | font-weight: 100; 48 | display: flex; 49 | } 50 | 51 | .plates label { 52 | flex:1; 53 | cursor: pointer; 54 | 55 | } 56 | 57 | .plates input { 58 | display: none; 59 | } 60 | 61 | .plates input + label:before { 62 | content: '⬜️'; 63 | margin-right: 10px; 64 | } 65 | 66 | .plates input:checked + label:before { 67 | content: '🌮'; 68 | } 69 | 70 | .add-items { 71 | margin-top: 20px; 72 | } 73 | 74 | .add-items input { 75 | padding:10px; 76 | outline:0; 77 | border:1px solid rgba(0,0,0,0.1); 78 | } 79 | -------------------------------------------------------------------------------- /16 - Mouse Move Shadow/index-finished.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Mouse Shadow 6 | 7 | 8 | 9 |
10 |

🔥WOAH!

11 |
12 | 13 | 37 | 38 | 66 | 67 | 68 | -------------------------------------------------------------------------------- /16 - Mouse Move Shadow/index-start.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Mouse Shadow 6 | 7 | 8 | 9 |
10 |

🔥WOAH!

11 |
12 | 13 | 36 | 37 | 39 | 40 | 41 | -------------------------------------------------------------------------------- /17 - Sort Without Articles/index-FINISHED.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Sort Without Articles 6 | 7 | 8 | 9 | 43 | 44 | 45 | 46 | 63 | 64 | 65 | 66 | -------------------------------------------------------------------------------- /17 - Sort Without Articles/index-START.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Sort Without Articles 6 | 7 | 8 | 9 | 43 | 44 | 45 | 46 | 51 | 52 | 53 | 54 | -------------------------------------------------------------------------------- /18 - Adding Up Times with Reduce/index-FINISHED.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Videos 6 | 7 | 8 | 184 | 206 | 207 | 208 | -------------------------------------------------------------------------------- /18 - Adding Up Times with Reduce/index-START.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Videos 6 | 7 | 8 | 184 | 186 | 187 | 188 | -------------------------------------------------------------------------------- /19 - Webcam Fun/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Get User Media Code Along! 6 | 7 | 8 | 9 | 10 |
11 |
12 | 13 | 33 |
34 | 35 | 36 | 37 |
38 |
39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | -------------------------------------------------------------------------------- /19 - Webcam Fun/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "gum", 3 | "version": "1.0.0", 4 | "description": "", 5 | "main": "scripts.js", 6 | "scripts": { 7 | "start": "browser-sync start --server --files \"*.css, *.html, *.js\"" 8 | }, 9 | "author": "", 10 | "license": "ISC", 11 | "devDependencies": { 12 | "browser-sync": "^2.12.5 <2.23.2" 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /19 - Webcam Fun/scripts-FINISHED.js: -------------------------------------------------------------------------------- 1 | const video = document.querySelector('.player'); 2 | const canvas = document.querySelector('.photo'); 3 | const ctx = canvas.getContext('2d'); 4 | const strip = document.querySelector('.strip'); 5 | const snap = document.querySelector('.snap'); 6 | 7 | function getVideo() { 8 | navigator.mediaDevices.getUserMedia({ video: true, audio: false }) 9 | .then(localMediaStream => { 10 | console.log(localMediaStream); 11 | video.src = window.URL.createObjectURL(localMediaStream); 12 | video.play(); 13 | }) 14 | .catch(err => { 15 | console.error(`OH NO!!!`, err); 16 | }); 17 | } 18 | 19 | function paintToCanvas() { 20 | const width = video.videoWidth; 21 | const height = video.videoHeight; 22 | canvas.width = width; 23 | canvas.height = height; 24 | 25 | return setInterval(() => { 26 | ctx.drawImage(video, 0, 0, width, height); 27 | // take the pixels out 28 | let pixels = ctx.getImageData(0, 0, width, height); 29 | // mess with them 30 | // pixels = redEffect(pixels); 31 | 32 | pixels = rgbSplit(pixels); 33 | // ctx.globalAlpha = 0.8; 34 | 35 | // pixels = greenScreen(pixels); 36 | // put them back 37 | ctx.putImageData(pixels, 0, 0); 38 | }, 16); 39 | } 40 | 41 | function takePhoto() { 42 | // played the sound 43 | snap.currentTime = 0; 44 | snap.play(); 45 | 46 | // take the data out of the canvas 47 | const data = canvas.toDataURL('image/jpeg'); 48 | const link = document.createElement('a'); 49 | link.href = data; 50 | link.setAttribute('download', 'handsome'); 51 | link.innerHTML = `Handsome Man`; 52 | strip.insertBefore(link, strip.firsChild); 53 | } 54 | 55 | function redEffect(pixels) { 56 | for (let i = 0; i < pixels.data.length; i+=4) { 57 | pixels.data[i + 0] = pixels.data[i + 0] + 200; // RED 58 | pixels.data[i + 1] = pixels.data[i + 1] - 50; // GREEN 59 | pixels.data[i + 2] = pixels.data[i + 2] * 0.5; // Blue 60 | } 61 | return pixels; 62 | } 63 | 64 | function rgbSplit(pixels) { 65 | for (let i = 0; i < pixels.data.length; i+=4) { 66 | pixels.data[i - 150] = pixels.data[i + 0]; // RED 67 | pixels.data[i + 500] = pixels.data[i + 1]; // GREEN 68 | pixels.data[i - 550] = pixels.data[i + 2]; // Blue 69 | } 70 | return pixels; 71 | } 72 | 73 | function greenScreen(pixels) { 74 | const levels = {}; 75 | 76 | document.querySelectorAll('.rgb input').forEach((input) => { 77 | levels[input.name] = input.value; 78 | }); 79 | 80 | for (i = 0; i < pixels.data.length; i = i + 4) { 81 | red = pixels.data[i + 0]; 82 | green = pixels.data[i + 1]; 83 | blue = pixels.data[i + 2]; 84 | alpha = pixels.data[i + 3]; 85 | 86 | if (red >= levels.rmin 87 | && green >= levels.gmin 88 | && blue >= levels.bmin 89 | && red <= levels.rmax 90 | && green <= levels.gmax 91 | && blue <= levels.bmax) { 92 | // take it out! 93 | pixels.data[i + 3] = 0; 94 | } 95 | } 96 | 97 | return pixels; 98 | } 99 | 100 | getVideo(); 101 | 102 | video.addEventListener('canplay', paintToCanvas); 103 | -------------------------------------------------------------------------------- /19 - Webcam Fun/scripts.js: -------------------------------------------------------------------------------- 1 | const video = document.querySelector('.player'); 2 | const canvas = document.querySelector('.photo'); 3 | const ctx = canvas.getContext('2d'); 4 | const strip = document.querySelector('.strip'); 5 | const snap = document.querySelector('.snap'); 6 | -------------------------------------------------------------------------------- /19 - Webcam Fun/style.css: -------------------------------------------------------------------------------- 1 | html { 2 | box-sizing: border-box; 3 | } 4 | 5 | *, *:before, *:after { 6 | box-sizing: inherit; 7 | } 8 | 9 | html { 10 | font-size: 10px; 11 | background:#ffc600; 12 | } 13 | 14 | .photobooth { 15 | background:white; 16 | max-width:150rem; 17 | margin: 2rem auto; 18 | border-radius:2px; 19 | } 20 | 21 | /*clearfix*/ 22 | .photobooth:after { 23 | content: ''; 24 | display: block; 25 | clear: both; 26 | } 27 | 28 | .photo { 29 | width:100%; 30 | float:left; 31 | } 32 | 33 | .player { 34 | position: absolute; 35 | top:20px; 36 | right: 20px; 37 | width:200px; 38 | } 39 | 40 | /* 41 | Strip! 42 | */ 43 | 44 | .strip { 45 | padding:2rem; 46 | } 47 | .strip img { 48 | width:100px; 49 | overflow-x: scroll; 50 | padding:0.8rem 0.8rem 2.5rem 0.8rem; 51 | box-shadow:0 0 3px rgba(0,0,0,0.2); 52 | background:white; 53 | } 54 | 55 | .strip a:nth-child(5n+1) img { transform: rotate(10deg); } 56 | .strip a:nth-child(5n+2) img { transform: rotate(-2deg); } 57 | .strip a:nth-child(5n+3) img { transform: rotate(8deg); } 58 | .strip a:nth-child(5n+4) img { transform: rotate(-11deg); } 59 | .strip a:nth-child(5n+5) img { transform: rotate(12deg); } 60 | -------------------------------------------------------------------------------- /20 - Speech Detection/index-FINISHED.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Speech Detection 6 | 7 | 8 | 9 |
10 |
11 | 12 | 43 | 44 | 45 | 84 | 85 | 86 | 87 | -------------------------------------------------------------------------------- /20 - Speech Detection/index-START.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Speech Detection 6 | 7 | 8 | 9 |
10 |
11 | 12 | 17 | 18 | 19 | 58 | 59 | 60 | 61 | -------------------------------------------------------------------------------- /20 - Speech Detection/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "gum", 3 | "version": "1.0.0", 4 | "description": "", 5 | "main": "scripts.js", 6 | "scripts": { 7 | "start": "browser-sync start --directory --server --files \"*.css, *.html, *.js\"" 8 | }, 9 | "author": "", 10 | "license": "ISC", 11 | "devDependencies": { 12 | "browser-sync": "^2.12.5 <2.23.2" 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /21 - Geolocation/index-FINISHED.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Document 6 | 7 | 8 | 9 | 10 | 11 | 12 |

13 | 0 14 | KM/H 15 |

16 | 17 | 60 | 72 | 73 | 74 | -------------------------------------------------------------------------------- /21 - Geolocation/index-START.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Document 6 | 7 | 8 | 9 | 10 | 11 | 12 |

13 | 0 14 | KM/H 15 |

16 | 17 | 60 | 62 | 63 | 64 | -------------------------------------------------------------------------------- /21 - Geolocation/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "gum", 3 | "version": "1.0.0", 4 | "description": "", 5 | "main": "scripts.js", 6 | "scripts": { 7 | "start": "browser-sync start --directory --server --files \"*.css, *.html, *.js\" --https" 8 | }, 9 | "author": "", 10 | "license": "ISC", 11 | "devDependencies": { 12 | "browser-sync": "^2.12.5 <2.23.2" 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /22 - Follow Along Link Highlighter/index-FINISHED.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 👀👀👀Follow Along Nav 6 | 7 | 8 | 9 | 10 | 19 | 20 |
21 |

Lorem ipsum dolor sit amet, consectetur adipisicing elit. Est explicabo unde natus necessitatibus esse obcaecati distinctio, aut itaque, qui vitae!

22 |

Aspernatur sapiente quae sint soluta modi, atque praesentium laborum pariatur earum quaerat cupiditate consequuntur facilis ullam dignissimos, aperiam quam veniam.

23 |

Cum ipsam quod, incidunt sit ex tempore placeat maxime corrupti possimus veritatis ipsum fugit recusandae est doloremque? Hic, quibusdam, nulla.

24 |

Esse quibusdam, ad, ducimus cupiditate nulla, quae magni odit totam ut consequatur eveniet sunt quam provident sapiente dicta neque quod.

25 |

Aliquam dicta sequi culpa fugiat consequuntur pariatur optio ad minima, maxime odio, distinctio magni impedit tempore enim repellendus repudiandae quas!

26 |
27 | 28 | 53 | 54 | 55 | 56 | -------------------------------------------------------------------------------- /22 - Follow Along Link Highlighter/index-START.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 👀👀👀Follow Along Nav 6 | 7 | 8 | 9 | 10 | 19 | 20 |
21 |

Lorem ipsum dolor sit amet, consectetur adipisicing elit. Est explicabo unde natus necessitatibus esse obcaecati distinctio, aut itaque, qui vitae!

22 |

Aspernatur sapiente quae sint soluta modi, atque praesentium laborum pariatur earum quaerat cupiditate consequuntur facilis ullam dignissimos, aperiam quam veniam.

23 |

Cum ipsam quod, incidunt sit ex tempore placeat maxime corrupti possimus veritatis ipsum fugit recusandae est doloremque? Hic, quibusdam, nulla.

24 |

Esse quibusdam, ad, ducimus cupiditate nulla, quae magni odit totam ut consequatur eveniet sunt quam provident sapiente dicta neque quod.

25 |

Aliquam dicta sequi culpa fugiat consequuntur pariatur optio ad minima, maxime odio, distinctio magni impedit tempore enim repellendus repudiandae quas!

26 |
27 | 28 | 31 | 32 | 33 | 34 | -------------------------------------------------------------------------------- /22 - Follow Along Link Highlighter/style.css: -------------------------------------------------------------------------------- 1 | html { 2 | box-sizing: border-box; 3 | } 4 | *, *:before, *:after { 5 | box-sizing: inherit; 6 | } 7 | body { 8 | min-height: 100vh; 9 | margin: 0; /* Important! */ 10 | font-family: sans-serif; 11 | background: 12 | linear-gradient(45deg, hsla(340, 100%, 55%, 1) 0%, hsla(340, 100%, 55%, 0) 70%), 13 | linear-gradient(135deg, hsla(225, 95%, 50%, 1) 10%, hsla(225, 95%, 50%, 0) 80%), 14 | linear-gradient(225deg, hsla(140, 90%, 50%, 1) 10%, hsla(140, 90%, 50%, 0) 80%), 15 | linear-gradient(315deg, hsla(35, 95%, 55%, 1) 100%, hsla(35, 95%, 55%, 0) 70%); 16 | } 17 | 18 | .wrapper { 19 | margin:0 auto; 20 | max-width:500px; 21 | font-size: 20px; 22 | line-height: 2; 23 | position: relative; 24 | } 25 | 26 | a { 27 | text-decoration: none; 28 | color:black; 29 | background:rgba(0,0,0,0.05); 30 | border-radius: 20px; 31 | } 32 | 33 | .highlight { 34 | transition: all 0.2s; 35 | border-bottom:2px solid white; 36 | position: absolute; 37 | top:0; 38 | background:white; 39 | left:0; 40 | z-index: -1; 41 | border-radius:20px; 42 | display: block; 43 | box-shadow: 0 0 10px rgba(0,0,0,0.2); 44 | } 45 | 46 | .menu { 47 | padding: 0; 48 | display: flex; 49 | list-style: none; 50 | justify-content: center; 51 | margin:100px 0; 52 | } 53 | 54 | .menu a { 55 | display: inline-block; 56 | padding:5px; 57 | margin:0 20px; 58 | color:black; 59 | } 60 | -------------------------------------------------------------------------------- /23 - Speech Synthesis/index-FINISHED.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Speech Synthesis 6 | 7 | 8 | 9 | 10 | 11 |
12 | 13 |

The Voiceinator 5000

14 | 15 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 |
30 | 31 | 73 | 74 | 75 | 76 | -------------------------------------------------------------------------------- /23 - Speech Synthesis/index-START.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Speech Synthesis 6 | 7 | 8 | 9 | 10 | 11 |
12 | 13 |

The Voiceinator 5000

14 | 15 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 |
30 | 31 | 39 | 40 | 41 | 42 | -------------------------------------------------------------------------------- /23 - Speech Synthesis/style.css: -------------------------------------------------------------------------------- 1 | html { 2 | font-size: 10px; 3 | box-sizing: border-box; 4 | } 5 | 6 | *, *:before, *:after { 7 | box-sizing: inherit; 8 | } 9 | 10 | body { 11 | margin: 0; 12 | padding: 0; 13 | font-family: sans-serif; 14 | background-color:#3BC1AC; 15 | display:flex; 16 | min-height: 100vh; 17 | align-items: center; 18 | 19 | background-image: 20 | radial-gradient(circle at 100% 150%, #3BC1AC 24%, #42D2BB 25%, #42D2BB 28%, #3BC1AC 29%, #3BC1AC 36%, #42D2BB 36%, #42D2BB 40%, transparent 40%, transparent), 21 | radial-gradient(circle at 0 150%, #3BC1AC 24%, #42D2BB 25%, #42D2BB 28%, #3BC1AC 29%, #3BC1AC 36%, #42D2BB 36%, #42D2BB 40%, transparent 40%, transparent), 22 | radial-gradient(circle at 50% 100%, #42D2BB 10%, #3BC1AC 11%, #3BC1AC 23%, #42D2BB 24%, #42D2BB 30%, #3BC1AC 31%, #3BC1AC 43%, #42D2BB 44%, #42D2BB 50%, #3BC1AC 51%, #3BC1AC 63%, #42D2BB 64%, #42D2BB 71%, transparent 71%, transparent), 23 | radial-gradient(circle at 100% 50%, #42D2BB 5%, #3BC1AC 6%, #3BC1AC 15%, #42D2BB 16%, #42D2BB 20%, #3BC1AC 21%, #3BC1AC 30%, #42D2BB 31%, #42D2BB 35%, #3BC1AC 36%, #3BC1AC 45%, #42D2BB 46%, #42D2BB 49%, transparent 50%, transparent), 24 | radial-gradient(circle at 0 50%, #42D2BB 5%, #3BC1AC 6%, #3BC1AC 15%, #42D2BB 16%, #42D2BB 20%, #3BC1AC 21%, #3BC1AC 30%, #42D2BB 31%, #42D2BB 35%, #3BC1AC 36%, #3BC1AC 45%, #42D2BB 46%, #42D2BB 49%, transparent 50%, transparent); 25 | background-size:100px 50px; 26 | } 27 | 28 | 29 | .voiceinator { 30 | padding:2rem; 31 | width:50rem; 32 | margin:0 auto; 33 | border-radius:1rem; 34 | position: relative; 35 | background:white; 36 | overflow: hidden; 37 | z-index: 1; 38 | box-shadow:0 0 5px 5px rgba(0,0,0,0.1); 39 | } 40 | 41 | h1 { 42 | width:calc(100% + 4rem); 43 | margin: -2rem 0 2rem -2rem; 44 | padding:.5rem; 45 | background: #ffc600; 46 | border-bottom: 5px solid #F3C010; 47 | text-align: center; 48 | font-size: 5rem; 49 | font-weight: 100; 50 | font-family: 'Pacifico', cursive; 51 | text-shadow:3px 3px 0 #F3C010; 52 | 53 | } 54 | 55 | .voiceinator input, 56 | .voiceinator button, 57 | .voiceinator select, 58 | .voiceinator textarea { 59 | width: 100%; 60 | display: block; 61 | margin:10px 0; 62 | padding:10px; 63 | border:0; 64 | font-size: 2rem; 65 | background:#F7F7F7; 66 | outline:0; 67 | } 68 | 69 | textarea { 70 | height: 20rem; 71 | } 72 | 73 | input[type="select"] { 74 | 75 | } 76 | 77 | .voiceinator button { 78 | background:#ffc600; 79 | border:0; 80 | width: 49%; 81 | float:left; 82 | font-family: 'Pacifico', cursive; 83 | margin-bottom: 0; 84 | font-size: 2rem; 85 | border-bottom: 5px solid #F3C010; 86 | cursor:pointer; 87 | position: relative; 88 | } 89 | 90 | .voiceinator button:active { 91 | top:2px; 92 | } 93 | 94 | .voiceinator button:nth-of-type(1) { 95 | margin-right: 2%; 96 | } 97 | -------------------------------------------------------------------------------- /24 - Sticky Nav/style-FINISHED.css: -------------------------------------------------------------------------------- 1 | html { 2 | box-sizing: border-box; 3 | background:#eeeeee; 4 | font-family:'helvetica neue'; 5 | font-size: 20px; 6 | font-weight: 200; 7 | } 8 | body { 9 | margin: 0; 10 | } 11 | *, *:before, *:after { 12 | box-sizing: inherit; 13 | } 14 | 15 | .site-wrap { 16 | max-width: 700px; 17 | margin: 70px auto; 18 | background:white; 19 | padding:40px; 20 | text-align: justify; 21 | box-shadow: 0 0 10px 5px rgba(0, 0, 0, 0.05); 22 | transform: scale(0.98); 23 | transition: transform 0.5s; 24 | } 25 | 26 | body.fixed-nav .site-wrap { 27 | transform: scale(1); 28 | } 29 | 30 | 31 | header { 32 | text-align: center; 33 | height:50vh; 34 | background:url(http://wes.io/iEgP/wow-so-deep.jpg) bottom center no-repeat; 35 | background-size:cover; 36 | display:flex; 37 | align-items:center; 38 | justify-content: center; 39 | } 40 | 41 | h1 { 42 | color:white; 43 | font-size: 7vw; 44 | text-shadow: 3px 4px 0 rgba(0,0,0,0.2) 45 | } 46 | 47 | nav { 48 | background:black; 49 | top:0; 50 | width: 100%; 51 | transition:all 0.5s; 52 | position: relative; 53 | z-index: 1; 54 | } 55 | 56 | body.fixed-nav nav { 57 | position: fixed; 58 | box-shadow:0 5px 0 rgba(0,0,0,0.1); 59 | } 60 | 61 | nav ul { 62 | margin: 0; 63 | padding:0; 64 | list-style: none; 65 | display:flex; 66 | } 67 | 68 | nav li { 69 | flex:1; 70 | text-align: center; 71 | display: flex; 72 | justify-content: center; 73 | align-items: center; 74 | } 75 | 76 | li.logo { 77 | max-width:0; 78 | overflow: hidden; 79 | background: white; 80 | transition: all 0.5s; 81 | font-weight: 600; 82 | font-size: 30px; 83 | } 84 | 85 | li.logo a { 86 | color:black; 87 | } 88 | 89 | .fixed-nav li.logo { 90 | max-width:500px; 91 | } 92 | 93 | nav a { 94 | text-decoration: none; 95 | padding:20px; 96 | display: inline-block; 97 | color:white; 98 | transition:all 0.2s; 99 | text-transform: uppercase; 100 | } 101 | -------------------------------------------------------------------------------- /24 - Sticky Nav/style-START.css: -------------------------------------------------------------------------------- 1 | html { 2 | box-sizing: border-box; 3 | background:#eeeeee; 4 | font-family:'helvetica neue'; 5 | font-size: 20px; 6 | font-weight: 200; 7 | } 8 | body { 9 | margin: 0; 10 | } 11 | *, *:before, *:after { 12 | box-sizing: inherit; 13 | } 14 | 15 | .site-wrap { 16 | max-width: 700px; 17 | margin: 70px auto; 18 | background:white; 19 | padding:40px; 20 | text-align: justify; 21 | box-shadow: 0 0 10px 5px rgba(0, 0, 0, 0.05); 22 | transform: scale(0.98); 23 | transition: transform 0.5s; 24 | } 25 | 26 | header { 27 | text-align: center; 28 | height:50vh; 29 | background:url(http://wes.io/iEgP/wow-so-deep.jpg) bottom center no-repeat; 30 | background-size:cover; 31 | display:flex; 32 | align-items:center; 33 | justify-content: center; 34 | } 35 | 36 | h1 { 37 | color:white; 38 | font-size: 7vw; 39 | text-shadow: 3px 4px 0 rgba(0,0,0,0.2) 40 | } 41 | 42 | nav { 43 | background:black; 44 | top:0; 45 | width: 100%; 46 | transition:all 0.5s; 47 | position: relative; 48 | z-index: 1; 49 | } 50 | 51 | nav ul { 52 | margin: 0; 53 | padding:0; 54 | list-style: none; 55 | display:flex; 56 | } 57 | 58 | nav li { 59 | flex:1; 60 | text-align: center; 61 | display: flex; 62 | justify-content: center; 63 | align-items: center; 64 | } 65 | 66 | li.logo { 67 | max-width:0; 68 | overflow: hidden; 69 | background: white; 70 | transition: all .5s; 71 | font-weight: 600; 72 | font-size: 30px; 73 | } 74 | 75 | li.logo a { 76 | color:black; 77 | } 78 | 79 | nav a { 80 | text-decoration: none; 81 | padding:20px; 82 | display: inline-block; 83 | color:white; 84 | transition:all 0.2s; 85 | text-transform: uppercase; 86 | } 87 | -------------------------------------------------------------------------------- /25 - Event Capture Propagation Bubbling and Once/index-FINISHED.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Understanding JavaScript's Capture 6 | 7 | 8 | 9 |
10 |
11 |
12 |
13 |
14 |
15 | 16 | 39 | 40 | 41 | 63 | 64 | 65 | -------------------------------------------------------------------------------- /25 - Event Capture Propagation Bubbling and Once/index-START.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Understanding JavaScript's Capture 6 | 7 | 8 | 9 |
10 |
11 |
12 |
13 |
14 |
15 | 16 | 39 | 40 | 41 | 44 | 45 | 46 | -------------------------------------------------------------------------------- /26 - Stripe Follow Along Nav/index-FINISHED.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Follow Along Nav 6 | 7 | 8 |

Cool

9 | 76 | 77 | 222 | 223 | 257 | 258 | 259 | 260 | -------------------------------------------------------------------------------- /26 - Stripe Follow Along Nav/index-START.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Follow Along Nav 6 | 7 | 8 |

Cool

9 | 76 | 77 | 222 | 223 | 225 | 226 | 227 | 228 | -------------------------------------------------------------------------------- /27 - Click and Drag/index-FINISHED.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Click and Drag 6 | 7 | 8 | 9 |
10 |
01
11 |
02
12 |
03
13 |
04
14 |
05
15 |
06
16 |
07
17 |
08
18 |
09
19 |
10
20 |
11
21 |
12
22 |
13
23 |
14
24 |
15
25 |
16
26 |
17
27 |
18
28 |
19
29 |
20
30 |
21
31 |
22
32 |
23
33 |
24
34 |
25
35 |
36 | 37 | 69 | 70 | 71 | 72 | -------------------------------------------------------------------------------- /27 - Click and Drag/index-START.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Click and Drag 6 | 7 | 8 | 9 |
10 |
01
11 |
02
12 |
03
13 |
04
14 |
05
15 |
06
16 |
07
17 |
08
18 |
09
19 |
10
20 |
11
21 |
12
22 |
13
23 |
14
24 |
15
25 |
16
26 |
17
27 |
18
28 |
19
29 |
20
30 |
21
31 |
22
32 |
23
33 |
24
34 |
25
35 |
36 | 37 | 39 | 40 | 41 | 42 | -------------------------------------------------------------------------------- /27 - Click and Drag/style.css: -------------------------------------------------------------------------------- 1 | html { 2 | box-sizing: border-box; 3 | background: url('https://source.unsplash.com/NFs6dRTBgaM/2000x2000') fixed; 4 | background-size: cover; 5 | } 6 | 7 | *, *:before, *:after { 8 | box-sizing: inherit; 9 | } 10 | 11 | body { 12 | min-height: 100vh; 13 | display: flex; 14 | justify-content: center; 15 | align-items: center; 16 | font-family: sans-serif; 17 | font-size: 20px; 18 | margin: 0; 19 | } 20 | 21 | .items { 22 | height:800px; 23 | padding: 100px; 24 | width:100%; 25 | border:1px solid white; 26 | overflow-x: scroll; 27 | overflow-y: hidden; 28 | white-space: nowrap; 29 | user-select: none; 30 | cursor: pointer; 31 | transition: all 0.2s; 32 | transform: scale(0.98); 33 | will-change: transform; 34 | position: relative; 35 | background: rgba(255,255,255,0.1); 36 | font-size: 0; 37 | perspective: 500px; 38 | } 39 | 40 | .items.active { 41 | background: rgba(255,255,255,0.3); 42 | cursor: grabbing; 43 | cursor: -webkit-grabbing; 44 | transform: scale(1); 45 | } 46 | 47 | .item { 48 | width:200px; 49 | height: calc(100% - 40px); 50 | display: inline-flex; 51 | align-items: center; 52 | justify-content: center; 53 | font-size: 80px; 54 | font-weight: 100; 55 | color:rgba(0,0,0,0.15); 56 | box-shadow: inset 0 0 0 10px rgba(0,0,0,0.15); 57 | } 58 | 59 | .item:nth-child(9n+1) { background: dodgerblue;} 60 | .item:nth-child(9n+2) { background: goldenrod;} 61 | .item:nth-child(9n+3) { background: paleturquoise;} 62 | .item:nth-child(9n+4) { background: gold;} 63 | .item:nth-child(9n+5) { background: cadetblue;} 64 | .item:nth-child(9n+6) { background: tomato;} 65 | .item:nth-child(9n+7) { background: lightcoral;} 66 | .item:nth-child(9n+8) { background: darkslateblue;} 67 | .item:nth-child(9n+9) { background: rebeccapurple;} 68 | 69 | .item:nth-child(even) { transform: scaleX(1.31) rotateY(40deg); } 70 | .item:nth-child(odd) { transform: scaleX(1.31) rotateY(-40deg); } 71 | -------------------------------------------------------------------------------- /28 - Video Speed Controller/index-FINISHED.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Video Speed Scrubber 6 | 7 | 8 | 9 | 10 |
11 | 12 |

13 |

14 |
15 |
16 |
17 | 18 | 38 | 39 | 40 | -------------------------------------------------------------------------------- /28 - Video Speed Controller/index-START.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Video Speed Scrubber 6 | 7 | 8 | 9 | 10 |
11 | 12 |
13 |
14 |
15 |
16 | 17 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /28 - Video Speed Controller/style.css: -------------------------------------------------------------------------------- 1 | body { 2 | margin: 0; 3 | display:flex; 4 | justify-content: center; 5 | align-items: center; 6 | min-height: 100vh; 7 | background:#4C4C4C url('https://unsplash.it/1500/900?image=1021'); 8 | background-size:cover; 9 | font-family: sans-serif; 10 | } 11 | .wrapper { 12 | width:850px; 13 | display:flex; 14 | } 15 | video { 16 | box-shadow:0 0 1px 3px rgba(0,0,0,0.1); 17 | } 18 | 19 | .speed { 20 | background:#efefef; 21 | flex:1; 22 | display:flex; 23 | align-items:flex-start; 24 | margin:10px; 25 | border-radius:50px; 26 | box-shadow:0 0 1px 3px rgba(0,0,0,0.1); 27 | overflow: hidden; 28 | } 29 | .speed-bar { 30 | width:100%; 31 | background:linear-gradient(-170deg, #2376ae 0%, #c16ecf 100%); 32 | text-shadow:1px 1px 0 rgba(0,0,0,0.2); 33 | display: flex; 34 | align-items: center; 35 | justify-content: center; 36 | padding:2px; 37 | color:white; 38 | height:16.3%; 39 | } 40 | -------------------------------------------------------------------------------- /29 - Countdown Timer/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Countdown Timer 6 | 7 | 8 | 9 | 10 |
11 |
12 | 13 | 14 | 15 | 16 | 17 |
18 | 19 |
20 |
21 |
22 |

23 |

24 |
25 |
26 | 27 | 28 | 29 | 30 | -------------------------------------------------------------------------------- /29 - Countdown Timer/scripts-FINISHED.js: -------------------------------------------------------------------------------- 1 | let countdown; 2 | const timerDisplay = document.querySelector('.display__time-left'); 3 | const endTime = document.querySelector('.display__end-time'); 4 | const buttons = document.querySelectorAll('[data-time]'); 5 | 6 | function timer(seconds) { 7 | // clear any existing timers 8 | clearInterval(countdown); 9 | 10 | const now = Date.now(); 11 | const then = now + seconds * 1000; 12 | displayTimeLeft(seconds); 13 | displayEndTime(then); 14 | 15 | countdown = setInterval(() => { 16 | const secondsLeft = Math.round((then - Date.now()) / 1000); 17 | // check if we should stop it! 18 | if(secondsLeft < 0) { 19 | clearInterval(countdown); 20 | return; 21 | } 22 | // display it 23 | displayTimeLeft(secondsLeft); 24 | }, 1000); 25 | } 26 | 27 | function displayTimeLeft(seconds) { 28 | const minutes = Math.floor(seconds / 60); 29 | const remainderSeconds = seconds % 60; 30 | const display = `${minutes}:${remainderSeconds < 10 ? '0' : '' }${remainderSeconds}`; 31 | document.title = display; 32 | timerDisplay.textContent = display; 33 | } 34 | 35 | function displayEndTime(timestamp) { 36 | const end = new Date(timestamp); 37 | const hour = end.getHours(); 38 | const adjustedHour = hour > 12 ? hour - 12 : hour; 39 | const minutes = end.getMinutes(); 40 | endTime.textContent = `Be Back At ${adjustedHour}:${minutes < 10 ? '0' : ''}${minutes}`; 41 | } 42 | 43 | function startTimer() { 44 | const seconds = parseInt(this.dataset.time); 45 | timer(seconds); 46 | } 47 | 48 | buttons.forEach(button => button.addEventListener('click', startTimer)); 49 | document.customForm.addEventListener('submit', function(e) { 50 | e.preventDefault(); 51 | const mins = this.minutes.value; 52 | console.log(mins); 53 | timer(mins * 60); 54 | this.reset(); 55 | }); 56 | -------------------------------------------------------------------------------- /29 - Countdown Timer/scripts-START.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davefollett/JavaScript30/0c7003efce0dbebcc7705920fe42ee70da2db8e2/29 - Countdown Timer/scripts-START.js -------------------------------------------------------------------------------- /29 - Countdown Timer/style.css: -------------------------------------------------------------------------------- 1 | html { 2 | box-sizing: border-box; 3 | font-size: 10px; 4 | background: #8E24AA; 5 | background: linear-gradient(45deg, #42a5f5 0%,#478ed1 50%,#0d47a1 100%); 6 | } 7 | 8 | *, *:before, *:after { 9 | box-sizing: inherit; 10 | } 11 | 12 | body { 13 | margin:0; 14 | text-align: center; 15 | font-family: 'Inconsolata', monospace; 16 | } 17 | 18 | .display__time-left { 19 | font-weight: 100; 20 | font-size: 20rem; 21 | margin: 0; 22 | color:white; 23 | text-shadow:4px 4px 0 rgba(0,0,0,0.05); 24 | } 25 | 26 | .timer { 27 | display:flex; 28 | min-height: 100vh; 29 | flex-direction:column; 30 | } 31 | 32 | .timer__controls { 33 | display: flex; 34 | } 35 | 36 | .timer__controls > * { 37 | flex:1; 38 | } 39 | 40 | .timer__controls form { 41 | flex:1; 42 | display:flex; 43 | } 44 | 45 | .timer__controls input { 46 | flex:1; 47 | border:0; 48 | padding:2rem; 49 | } 50 | 51 | .timer__button { 52 | background:none; 53 | border:0; 54 | cursor: pointer; 55 | color:white; 56 | font-size: 2rem; 57 | text-transform: uppercase; 58 | background:rgba(0,0,0,0.1); 59 | border-bottom:3px solid rgba(0,0,0,0.2); 60 | border-right:1px solid rgba(0,0,0,0.2); 61 | padding:1rem; 62 | font-family: 'Inconsolata', monospace; 63 | } 64 | 65 | .timer__button:hover, 66 | .timer__button:focus { 67 | background:rgba(0,0,0,0.2); 68 | outline:0; 69 | } 70 | 71 | .display { 72 | flex:1; 73 | display:flex; 74 | flex-direction: column; 75 | align-items: center; 76 | justify-content: center; 77 | } 78 | 79 | .display__end-time { 80 | font-size: 4rem; 81 | color:white; 82 | } 83 | -------------------------------------------------------------------------------- /30 - Whack A Mole/index-FINISHED.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Whack A Mole! 6 | 7 | 8 | 9 | 10 | 11 |

Whack-a-mole! 0

12 | 13 | 14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 | 35 | 86 | 87 | 88 | -------------------------------------------------------------------------------- /30 - Whack A Mole/index-START.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Whack A Mole! 6 | 7 | 8 | 9 | 10 | 11 |

Whack-a-mole! 0

12 | 13 | 14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 | 35 | 41 | 42 | 43 | -------------------------------------------------------------------------------- /30 - Whack A Mole/mole.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | mole 5 | Created with Sketch. 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | -------------------------------------------------------------------------------- /30 - Whack A Mole/style.css: -------------------------------------------------------------------------------- 1 | html { 2 | box-sizing: border-box; 3 | font-size: 10px; 4 | background: #ffc600; 5 | } 6 | 7 | *, *:before, *:after { 8 | box-sizing: inherit; 9 | } 10 | 11 | body { 12 | padding: 0; 13 | margin:0; 14 | font-family: 'Amatic SC', cursive; 15 | } 16 | 17 | h1 { 18 | text-align: center; 19 | font-size: 10rem; 20 | line-height:1; 21 | margin-bottom: 0; 22 | } 23 | 24 | .score { 25 | background:rgba(255,255,255,0.2); 26 | padding:0 3rem; 27 | line-height:1; 28 | border-radius:1rem; 29 | } 30 | 31 | .game { 32 | width:600px; 33 | height:400px; 34 | display:flex; 35 | flex-wrap:wrap; 36 | margin:0 auto; 37 | } 38 | 39 | .hole { 40 | flex: 1 0 33.33%; 41 | overflow: hidden; 42 | position: relative; 43 | } 44 | 45 | .hole:after { 46 | display: block; 47 | background: url(dirt.svg) bottom center no-repeat; 48 | background-size:contain; 49 | content:''; 50 | width: 100%; 51 | height:70px; 52 | position: absolute; 53 | z-index: 2; 54 | bottom:-30px; 55 | } 56 | 57 | .mole { 58 | background:url('mole.svg') bottom center no-repeat; 59 | background-size:60%; 60 | position: absolute; 61 | top: 100%; 62 | width: 100%; 63 | height: 100%; 64 | transition:all 0.4s; 65 | } 66 | 67 | .hole.up .mole { 68 | top:0; 69 | } 70 | -------------------------------------------------------------------------------- /PULL_REQUEST_TEMPLATE.md: -------------------------------------------------------------------------------- 1 | 15 | -------------------------------------------------------------------------------- /assets/a-new-vue-on-js30.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davefollett/JavaScript30/0c7003efce0dbebcc7705920fe42ee70da2db8e2/assets/a-new-vue-on-js30.jpg -------------------------------------------------------------------------------- /index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | A New Vue on #JavaScript30 8 | 9 | 10 | 11 | 12 |
13 | Card image cap 14 |
15 |

16 | A New Vue On #JavaScript30 is a blog 17 | series published at davefollet.io that explores re-implementing Wes Bos’s 18 | (@wesbos) #JavaScript30 projects 19 | using Vue.js. The blog series is also cross-posted to 20 | dev.to.

21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 |
ProjectA New Vue on #JavaScript30#JavaScript30
00 - Getting Startedindex-VUE.htmlN/A
01 - Javascript Drum Kit 38 | index-VUE-V1.html 39 |
40 | index-VUE-V2.html 41 |
index-FINISHED.html
02 - JS and CSS Clockindex-VUE.htmlindex-FINISHED.html
03 - CSS Variables 52 | index-VUE-COMPUTED-STYLES.html 53 |
54 | index-VUE-CSS-VARIABLES.html 55 |
index-FINISHED.html
05 - Flex Panel Galleryindex-VUE.htmlindex-FINISHED.html
06 - Type Aheadindex-VUE.htmlindex-FINISHED.html
08 - Fun with HTML5 Canvasindex-VUE.htmlindex-FINISHED.html
75 |
76 |
77 | 78 | 79 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "a-new-vue-on-javascript30", 3 | "version": "1.0.0", 4 | "description": "This is a static template with no bundling", 5 | "main": "index.html", 6 | "scripts": { 7 | "test": "echo \"Error: no test specified\" && exit 1" 8 | }, 9 | "repository": { 10 | "type": "git", 11 | "url": "git+https://github.com/davefollett/JavaScript30.git" 12 | }, 13 | "keywords": [ "JavaScript", "Vue", "JavaScript30"], 14 | "author": "Dave Follett", 15 | "license": "MIT", 16 | "homepage": "https://davefollett.io" 17 | } -------------------------------------------------------------------------------- /readme.md: -------------------------------------------------------------------------------- 1 | # A New Vue On JavaScript30 2 | 3 | This fork is part of a blog series at [https://davefollett.io](https://davefollett.io) that re-implements each JavaScript30 project (that makes sense) with Vue. All changes found here are not intended to be merged back into the original repository. 4 | 5 | ## Change Log 6 | * Added "10 - Hold Shift and Check Checkboxes/index-VUE.html" 7 | * Added "08 - Fun with HTML5/index-VUE.html" 8 | * Added "06 - Type Ahead/index-VUE.html" 9 | * Added "05 - Flex Panel Gallery/index-VUE.html" 10 | * Added "03 - CSS Variables/index-VUE-COMPUTED-STYLES.html" and "03 - CSS Variables/index-VUE-CSS-VARIABLES.html" 11 | * Added "02 - JS and CSS Clock/index-VUE.html" 12 | * Added "01 - JavaScript Drum Kit/index-VUE-V1.html" and "01 - JavaScript Drum Kit/index-VUE-V2.html" 13 | * Added "00 - Getting Started/index-VUE.html" as a base file to build the rest of the projects from. 14 | 15 | ![](https://javascript30.com/images/JS3-social-share.png) 16 | 17 | # JavaScript30 18 | 19 | Starter Files + Completed solutions for the JavaScript 30 Day Challenge. 20 | 21 | Grab the course at [https://JavaScript30.com](https://JavaScript30.com) 22 | 23 | ## Community #JavaScript30 Content 24 | 25 | Feel free to submit a PR adding a link to your own recaps, guides or reviews! 26 | 27 | * [Arjun Khode’s blog](http://thesagittariusme.blogspot.com/search/label/JS30) about summaries for each day, including fixed glitches, bugs and extra features 28 | * [Nitish Dayal's Text Guides](https://github.com/nitishdayal/JavaScript30) are great for those who like reading over watching 29 | * [Meredith Underell's](http://meredithunderell.com/tag/javascript30/) Quick Lessons Learned 30 | * [Rowan Weismiller's](http://rowanweismiller.com/blog/javascript-30/) Recaps + Lessons Learned 31 | * [Thorsten Frommen](https://tfrommen.de/tag/javascript-30/) shares how he solved the exercises before viewing the answers 32 | * [Soyaine 写的中文指南](https://github.com/soyaine/JavaScript30)包含了过程记录和难点解释 33 | * [Ayo Isaiah's](https://freshman.tech/archive/#javascript30) Recaps and Lessons Learned 34 | * [Adriana Rios](https://stpcollabr8nlstn.github.io/JavaScript30/) shares her alternative solutions 35 | * [Michael Einsohn](http://30daysofjs.michaeleinsohn.com) publishes each challenge after watching the video once 36 | * [Mike Ekkel](https://medium.com/@mike_ekkel/javascript-30-a-30-day-vanilla-js-challenge-6a733fc9f62c#.9frjtaje9) 37 | * [Akinjide Bankole](https://github.com/akinjide/JS30days) used Node.js with [Jade](http://jadelang.net) to solve the exercises 38 | * [Yusef Habib](https://github.com/yhabib/JavaScript30) lessons and tricks learned, and a [gh-page](https://yhabib.github.io/JavaScript30/) to see working all the mini-projects. 39 | * [Amelie Yeh](https://github.com/amelieyeh/JS30) 30 lessons notes with things I've learned, and those important recaps. and directly view my demos [here](https://amelieyeh.github.io/JS30/) 🇹🇼😄 40 | * [Winar](https://github.com/winar-jin/JavaScript30-Challenge)的JavaScript30天挑战,记录练习过程,重难点和其他的解决方案。🎨 41 | * [Rayhatron](https://rayhatron.github.io/blog/) - walkthroughs, recaps and lessons learned. 42 | * [Andrei Dobra](https://github.com/andreidbr/JS30) Full repo with lessons learned and a [gh-page](https://andreidbr.github.io/JS30/) with all the exercises. 43 | * [从零到壹全栈部落](https://github.com/liyuechun/JavaScript30-liyuechun),春哥发起的从零到壹全栈部落,旨在带领大家一起学习,一起输出,文档化,代码化,中文视频化,全栈部落口号:输出是最好的学习方式。 44 | * [Usmaan Ali's](https://github.com/usyyy/javascript/blob/master/JavaScript30/analysis.md) summary of the technical skills learned from each project. He's also posting them as separate blog posts [here](https://medium.com/@usyyy) 45 | * [Axel](https://github.com/afuh/js30)'s lessons learned and a [showcase](https://afuh.github.io/js30/) with the projects. 46 | * [Chris](https://github.com/dwatow/JavaScript30) 中文實戰,目標描述、過程紀錄。 47 | * [Muhammad D. Ramadhan's](https://miayam.github.io) blog. He shamlesly mixed his personal life with 30 day JavaScript challenge so as to increase his learning retention. He also summarised the challenge on [one single page](https://miayam.github.io/js30). Do not read his blog! 48 | * [Lee Keitel's Blog](https://blog.keitel.xyz/categories/javascript30/) includes summaries of each lesson, what I learned from each one, and my thoughts about the topic taught and using them in the future. 49 | * [Dustin Hsiao](https://github.com/dustinhsiao21/Javascript30-dustin) 包含了各篇介紹、 效果Demo、各篇詳解及記錄過程,附上部分延伸閱讀及[gh-page](https://dustinhsiao21.github.io/Javascript30-dustin/)。 50 | * [GuaHsu](https://github.com/guahsu/JavaScript30) - 紀錄各篇練習過程與心得,並嘗試擴充部分練習,也做了一個包含全部練習的[介紹站](http://guahsu.io/JavaScript30/)🇹🇼 51 | * [Daniela](https://github.com/misslild)'s completed challenges on [GitHub Pages](https://misslild.github.io/WesBos-30day-Coding-challenge/) and [Codepen](https://codepen.io/collection/DapZeP/) :raised_hands: :muscle: :+1: 52 | * [Dmitrii Pashutskii's](https://github.com/guar47) code of all challenges on [GitHub with Pages](https://github.com/guar47/javascript30Summary) and review [blog posts](https://blog.dpashutskii.com/tag/javascript30/) 53 | * [Abid Hasan's](https://github.com/sabidhasan/javascript-30) completion of all challenges. This was awesome!! Learned so much! :+1: 54 | * [Yusong Notes](https://sky172839465.github.io/course/js30) Records Yusong JS 30 days note and demo :star2: 55 | * [Herminio Torres](https://github.com/herminiotorres/JavaScript30) lessons and tricks learned, and a [gh-page](https://herminiotorres.github.io/JavaScript30/) to see working all the mini-projects. 56 | 57 | ## A note on Pull Requests 58 | 59 | These are meant to be 1:1 copies of what is done in the video. If you found a better / different way to do things, great, but I will be keeping them the same as the videos. 60 | 61 | The starter files + solutions will be updated if/when the videos are updated. 62 | 63 | Thanks! 64 | -------------------------------------------------------------------------------- /sandbox.config.json: -------------------------------------------------------------------------------- 1 | { 2 | "template": "static" 3 | } --------------------------------------------------------------------------------