├── raw-files ├── starter.txt ├── sounds │ ├── boom.wav │ ├── clap.wav │ ├── kick.wav │ ├── ride.wav │ ├── tink.wav │ ├── tom.wav │ ├── hihat.wav │ ├── snare.wav │ └── openhat.wav ├── style.css ├── index-START.html └── index-FINISHED.html ├── Meta-data └── README.md /raw-files/starter.txt: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /Meta-data: -------------------------------------------------------------------------------- 1 | - Status: On hold. 2 | - Reason: Waiting for it. 3 | -------------------------------------------------------------------------------- /raw-files/sounds/boom.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jishanshaikh4/drum-kit/HEAD/raw-files/sounds/boom.wav -------------------------------------------------------------------------------- /raw-files/sounds/clap.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jishanshaikh4/drum-kit/HEAD/raw-files/sounds/clap.wav -------------------------------------------------------------------------------- /raw-files/sounds/kick.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jishanshaikh4/drum-kit/HEAD/raw-files/sounds/kick.wav -------------------------------------------------------------------------------- /raw-files/sounds/ride.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jishanshaikh4/drum-kit/HEAD/raw-files/sounds/ride.wav -------------------------------------------------------------------------------- /raw-files/sounds/tink.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jishanshaikh4/drum-kit/HEAD/raw-files/sounds/tink.wav -------------------------------------------------------------------------------- /raw-files/sounds/tom.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jishanshaikh4/drum-kit/HEAD/raw-files/sounds/tom.wav -------------------------------------------------------------------------------- /raw-files/sounds/hihat.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jishanshaikh4/drum-kit/HEAD/raw-files/sounds/hihat.wav -------------------------------------------------------------------------------- /raw-files/sounds/snare.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jishanshaikh4/drum-kit/HEAD/raw-files/sounds/snare.wav -------------------------------------------------------------------------------- /raw-files/sounds/openhat.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jishanshaikh4/drum-kit/HEAD/raw-files/sounds/openhat.wav -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | ## :saxophone: Drum-Kit (#1) 2 | > Very simple kit of drum with sounds and playable on the go. 3 | 4 | ### Teaching credits 5 | - [JavaScript 30.](https://www.javascript30.com/) 6 | - [w3schools.com](https://www.w3schools.com/default.asp?language='js') 7 | -------------------------------------------------------------------------------- /raw-files/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 | -------------------------------------------------------------------------------- /raw-files/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 | -------------------------------------------------------------------------------- /raw-files/index-FINISHED.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | JS Drum Kit 8 | 9 | 10 | 11 | 12 | 13 |
14 |
15 | A 16 | clap 17 |
18 |
19 | S 20 | hihat 21 |
22 |
23 | D 24 | kick 25 |
26 |
27 | F 28 | openhat 29 |
30 |
31 | G 32 | boom 33 |
34 |
35 | H 36 | ride 37 |
38 |
39 | J 40 | snare 41 |
42 |
43 | K 44 | tom 45 |
46 |
47 | L 48 | tink 49 |
50 |
51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 82 | 83 | 84 | 85 | 86 | --------------------------------------------------------------------------------