By @alesanchezr and other contributors at 4Geeks Academy
This tutorial its part of a bigger group of tutorials about web development, this repository focuses only on Javascript Events, you will learn Mouse Events, Keyboard events, Frame Events and how to react to those events to make your web application interactive.
You can start the tutorial online in just 10 seconds or download the source files to do it locally.
I strongly recommend doing this tutorials in this order:
- Introduction to HTML
- Introduction to CSS
- Introduction to Javascript
- Introduction to The DOM
- Using events & The DOM ← you are here now 🔥
- Object Oriented Programming
- Make sure you have the breathecode-cli installed and
node.js
version 10+ and python version 3+. This is the command to install the breathecode-cli
$ npm i breathecode-cli -g
-
Clone or download this repository. Once you finish downloading, you will find a new folder with a subdirectory "exercises" that contains all the exercises within.
-
Start the tutorial/exercises by running the following command from the root of the project:
$ npm i jest@24.8.0
$ breathecode run
Each exercise is a small react application containing the following files:
- app.js: represents the entry python file that will be executed by the computer.
- index.html: represents the entry website.
- style.css: your website styles, they have to be imported from the index.html
- README.md: contains exercise instructions.
- test.js: you don't have to open this file, it contains the testing script for the exercise.
Thanks goes to these wonderful people (emoji key):
- Alejandro Sanchez (alesanchezr), contribution: (coder) 💻 (idea) 🤔, (build-tests)
⚠️ , (pull-request-review) 👀 (build-tutorial) ✅ (documentation) 📖 - Paolo (plucodev), contribution: (bug reports) 🐛, contribution: (coder), (translation) 🌎
This project follows the all-contributors specification. Contributions of any kind are welcome!