Skip to content

cenacrharsh/JS-30-Day-1

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JS-30-Day-1

JS Drum Kit

I learned How to prevent a delay in audio when hitting a key repeatedly and how to use data- to create our own html attributes.

alt text

Features & Usage

- Used attribute selector in JS for the first time.
- Used `data-` to create our own HTML attributes eg. data-key
- we used `audio.currentTime = 0` to prevent a delay when we play sound if we keep hitting a key repeatedly.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published