Skip to content

A little JavaScript drum kit practice honoring one of the best cartoon bands of all time, The Beets!

Notifications You must be signed in to change notification settings

malloryreuls/killer-tofu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Killer Tofu

First exercise in working my way through the JavaScript 30 tutorial (http://javascript30.com).

In the first exercise we build a little drum kit to practice:

  • Key events
  • Playing audio
  • Listening for the transition and animation end events

I took a little extra time after completing the tutorial to customize the exercise. Some things I added:

  • Change the background image
  • Fix the background to be centered and not repeating
  • Change the key codes to reflect The Beets hit song, "Killer Tofu"
  • Break the words out into two lines
  • Center the words vertically and horizontally
  • Add a more cartoon-y font
  • Change up the colors to match The Beets logo

Things I would want to improve:

  • Making the site responsive, currently the background does not optimize for smaller devices
  • The keys should shrink as you scale down the page
  • Separating out the JS from the main index file
  • Find a solution for having two different "L" sounds. Or make both L's active if clicked.
  • Change the audio to reflect parts of the actual "Killer Tofu" song
  • Add an easter egg that if the right combo/tempo of song is played, it brings up a YouTube video of the full "Killer Tofu" song (https://www.youtube.com/watch?v=p7c3bQQmwVE).

About

A little JavaScript drum kit practice honoring one of the best cartoon bands of all time, The Beets!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published