Skip to content

craigea92/a-javascript-drumkit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A JavaScript Drumkit

Project Description

In this project, I developed a fun website drumkit that allows users to click on a button and generate a corresponding sound. The implementation was executed using a javascript switch statement, which detects the key or button click and triggers the corresponding sound effect.

The primary objective of this project was to leverage javascript as the sole means to drive all actions on the website. While this approach was relatively more challenging than using CSS for hover animation, I utilized online resources such as StackOverflow to craft a simple javascript function for adding a class to the element.

Rather than pushing my limits, the aim of this project was to revisit and reinforce my prior knowledge acquired nearly two years ago. While it is crucial to acquire new skills, it is equally important not to overlook the fundamentals.

Tech Stack

javascript html5 css3

How to Install and Run

Try it here: https://craigea92.github.io/a-javascript-drumkit/

git clone https://github.com/craigea92/a-javascript-drumkit.git
open index.html

Screenshot

image

Document.querySelector()

The Document method querySelector() returns the first Element within the document that matches the specified selector, or group of selectors. If no matches are found, null is returned.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors