Giter Site home page Giter Site logo

createdbycc / drum-machine-freecodecamp Goto Github PK

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

This is one of the freeCodeCamp Front End Development Libraries Projects. In this project we build a react app that plays a drum sound when you click a button or the keyboard key equivalent.

Home Page: https://createdbycc.github.io/drum-machine-freecodecamp/

JavaScript 74.22% HTML 8.26% CSS 17.52%
component css eventhandler eventlistener html js react reactjs state-management useeffect

drum-machine-freecodecamp's Introduction

Drum Machine

Click here for DEMO

This is one of the freeCodeCamp Front End Development Libraries Projects.

In this project we build a react app that plays a drum sound when you click a button or the keyboard key equivalent.


I prefer to code in VS Code over CodePen

Steps I took:

Getting VS ready:

  1. Open the folder where you project folder will be saved
  2. Use terminal to install Vite npm create vite@latest - I selected React and JS

Minor tweaks to Vite files:

  1. Remove the flavicon icon in the head element of the index.html file - personal preference
  2. Clear out App.css - here you add your own styles
  3. Clear out most of Index.css - I kept some of the root styles (font-family, line-height and font-weight)
  4. Delete the content in the return method of App.jsx

Deploy the project on GitHub Pages:

  1. I usually follow the instructions in the blog listed in the Resources below
    • There is a step where you need to add a new .github folder INSIDE your main project folder

Resources:

drum-machine-freecodecamp's People

Contributors

createdbycc 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.