Git Product home page Git Product logo

4geeks-dom-manipulation-exercises's Introduction

Learn The DOM Interactively

By @alesanchezr and other contributors at 4Geeks Academy

last commit build by developers build by developers

This tutorial is part of a bigger group of tutorials about web development, this repository focuses only on The DOM.

You will learn the following concepts:

  1. How to select elements from your website

  2. Manipulate them with Javascript (change styles, add event listeners).

  3. Remove elements programmaticall.

  4. Change your entire website without a refresh.

I strongly recommend doing this the tutorials in this order:

  1. Introduction to HTML
  2. Introduction to CSS
  3. Introduction to Javascript
  4. Introduction to The DOM โ† you are here now ๐Ÿ”ฅ
  5. Using events & The DOM
  6. Object Oriented Programming

One click installation:

Open in Gitpod

Local Installation

  1. Make sure you have learnpack installed and node.js version v14+ and jest v27. This is the command to install the learnpack-cli and jest:
$ npm i learnpack [email protected] -g
  1. 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.

  2. Install the learnpack plugin to test and compile vanillajs:

$ learnpack plugins:install learnpack-dom
  1. Start the tutorial/exercises by running the following command from the root of the project:
$ learnpack start

How are the exercises organized?

Each exercise is a small vanillajs website containing the following files:

  1. index.js: represents the entry javascript file that will be executed when the website loads.
  2. index.html: represents the HTML entry for website.
  3. style.css: your website styles, they have to be imported from the index.html
  4. README.md: contains exercise instructions.
  5. test.js: you don't have to open this file, it contains the testing script for the exercise.

Contributors

Thanks goes to these wonderful people (emoji key):

  1. Alejandro Sanchez (alesanchezr), contribution: (coder) ๐Ÿ’ป (idea) ๐Ÿค”, (build-tests) โš ๏ธ , (pull-request-review) ๐Ÿค“ (build-tutorial) โœ… (documentation) ๐Ÿ“–

  2. Paolo (plucodev), contribution: (bug reports) ๐Ÿ›, contribution: (coder), (translation) ๐ŸŒŽ

This project follows the all-contributors specification. Contributions of any kind are welcome!

4geeks-dom-manipulation-exercises's People

Contributors

alesanchezr avatar tommygonzaleza avatar plucodev avatar elviraqdp avatar ljavierrodriguez avatar umikami avatar kiddopro avatar sadiel0 avatar lorenagubaira avatar jtoledo88 avatar hexbreak avatar dsilva06 avatar diego-sepulveda-lavin avatar gmihov001 avatar marichaljosh avatar d3mon1a avatar omiras avatar

Watchers

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