Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/error-four-o-four/fcc-drum-machine
Build an app that is functionally similar to this: https://drum-machine.freecodecamp.rocks/.
https://github.com/error-four-o-four/fcc-drum-machine
Last synced: 23 days ago
JSON representation
Build an app that is functionally similar to this: https://drum-machine.freecodecamp.rocks/.
- Host: GitHub
- URL: https://github.com/error-four-o-four/fcc-drum-machine
- Owner: error-four-o-four
- License: mit
- Created: 2023-01-17T16:34:21.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-01-22T10:54:34.000Z (almost 2 years ago)
- Last Synced: 2024-04-18T07:07:39.463Z (9 months ago)
- Language: JavaScript
- Size: 61.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# fcc-project - drum machine
[freeCodeCamp](https://www.freecodecamp.org/learn/front-end-development-libraries/front-end-development-libraries-projects/build-a-drum-machine)\
[Example Repo](https://github.com/freeCodeCamp/demo-projects/tree/main/apps/drum-machine)\
[Example Demo](https://drum-machine.freecodecamp.rocks/)- [x] User Story #1: I should be able to see an outer container with a corresponding id="drum-machine" that contains all other elements.
- [x] User Story #2: Within #drum-machine I can see an element with a corresponding id="display".
- [x] User Story #3: Within #drum-machine I can see 9 clickable drum pad elements, each with a class name of drum-pad, a unique id that describes the audio clip the drum pad will be set up to trigger, and an inner text that corresponds to one of the following keys on the keyboard: Q, W, E, A, S, D, Z, X, C. The drum pads MUST be in this order.
- [x] User Story #4: Within each .drum-pad, there should be an HTML5 audio element which has a src attribute pointing to an audio clip, a class name of clip, and an id corresponding to the inner text of its parent .drum-pad (e.g. id="Q", id="W", id="E" etc.).
- [x] User Story #5: When I click on a .drum-pad element, the audio clip contained in its child audio element should be triggered.
- [x] User Story #6: When I press the trigger key associated with each .drum-pad, the audio clip contained in its child audio element should be triggered (e.g. pressing the Q key should trigger the drum pad which contains the string Q, pressing the W key should trigger the drum pad which contains the string W, etc.).
- [ ] User Story #7: When a .drum-pad is triggered, a string describing the associated audio clip is displayed as the inner text of the #display element (each string must be unique).