This is a simple web application called "Drum Kit" that allows users to play different drum sounds by clicking buttons on the keyboard. Each button corresponds to a different instrument sound, and when pressed, it triggers the respective sound.
- HTML
- CSS
- JavaScript
To get started with the Drum Kit project, follow these steps:
-
Clone this repository to your local machine using the following command:
git clone https://github.com/your-username/drum-kit.git
-
Navigate to the project directory:
cd drum-kit
-
Open the
index.html
file in your web browser.
- Press the keys corresponding to the buttons displayed on the web page.
- Each key corresponds to a different drum sound.
- Enjoy creating your own drum beats!
- The project uses HTML to create the structure of the web page.
- CSS is used for styling the buttons and layout.
- JavaScript is responsible for handling user keypress events and playing the corresponding drum sounds.
The project is structured as follows:
index.html
: The main HTML file that defines the structure of the web page.style.css
: The CSS file that contains the styles for the buttons and layout.script.js
: The JavaScript file that handles user interactions and plays the drum sounds.sounds/
: A directory containing all the drum sound files in the project.
The project includes the following drum sounds:
- Kick Drum
- Snare Drum
- 4 Types of Tom
- Crash
If you'd like to contribute to this project, please follow these steps:
- Fork the repository.
- Create a new branch for your feature or bug fix.
- Make your changes and commit them with descriptive commit messages.
- Push your changes to your fork.
- Create a pull request to merge your changes into the main repository.
Feel free to reach out to us with any questions or feedback. Happy drumming! 🥁