Git Product home page Git Product logo

akcumeh / drumkit Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 631 KB

This is the fourth major project in the course The Complete 2022 Web Development Bootcamp by Dr. Angela Yu. It mimics a drumkit set, with buttons onscreen that can be activated either by clicking or pressing keys - a great way to understand and event listeners in JavaScript, and further opportunity to toy with the Document Object Model.

HTML 21.99% CSS 31.46% JavaScript 46.55%

drumkit's Introduction

Drumkit Project

This Drum Kit project was created following Section 13 of The Complete 2022 Web Development Bootcamp by Dr. Angela Yu, available on Udemy. This is the fourth major project in the course. It mimics a drumkit set, with buttons onscreen that can be activated either by clicking or pressing keys - a great way to understand and use event listeners in JavaScript as well as further opportunity to toy with the Document Object Model.

Table of contents

Overview

The challenge

Create a mimic drumset. Employ your understanding of basic JavaScript as well as advanced DOM manipulation (event listeners).

Links

My process

Built with

  • Semantic HTML5 markup
  • CSS custom properties
  • JavaScript + DOM manipulation

What I learned

I've been learning a lot in this course, and in this section where we focused on advanced JavaScript and more DOM manipulation, I learned...

  • more about event listeners and the kinds of events that can trigger them.
  • about JavaScript objects and constructor functions: I understood how objects can acquire both properties and methods through a constructor function.
  • about higher order functions and callback functions and the relationship between them: While a higher order function is one that is able to accept another function as one of its inputs (e.g. the method addEventListener()), a callback function is the function that is passed into a higher order one as an input (e.g., addEventListener() takes two inputs: a string representing the event type to be listened for, and a function to be executed only after that event is detected. So any function that is passed in as the second parameter of the method is a callback function); the latter then waits for a result from the computation of the function to proceed.
  • a reinforced understanding of and acquired confidence with anonymous functions, which are declared with function() {}.

Author

Thanks for reading this far! You can view and follow my profiles:

drumkit's People

Contributors

akcumeh avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.