GithubHelp home page GithubHelp logo

aleksander-onysiak / js-td-web-1-dom Goto Github PK

View Code? Open in Web Editor NEW

This project forked from tecg-dcc/js-td-web-1-dom

0.0 0.0 0.0 1.67 MB

Une introduction au DOM (Document Object Model) en Javascript

JavaScript 71.09% CSS 0.92% HTML 27.98%

js-td-web-1-dom's Introduction

Javascript - cours 7

JavaScript - Créer des pages Web interactives, 1re partie : le DOM

Dominer le DOM (« Document Objetct Model »)

TABLE DES MATIÈRES

1. Découvrir le DOM

  • Introduction au DOM
  • Structure d'une page web
  • Premiers pas avec le DOM en JavaScript

2. Parcourir le DOM

  • La page web d'exemple
  • Sélectionner des éléments
    • Les limites du parcours du DOM nœud par nœud
    • Sélection d'éléments selon leur balise
    • Sélection d'éléments selon leur classe
    • Sélection d'un élément selon son identifiant
    • Sélection d'éléments à partir d'un sélecteur CSS
    • Choix de la méthode de sélection
  • Obtenir des informations sur les éléments
    • Le contenu HTML
    • Le contenu textuel
    • Les attributs
    • Les classes

3. Modifier la structure de la page

  • La page web d'exemple
  • Modifier un élément existant
  • Ajouter un nouvel élément
    • Création du nouvel élément ;
    • Définition des informations de l'élément ;
    • Insertion du nouvel élément dans le DOM
  • Variantes pour ajouter un élément
  • Remplacer ou supprimer un noeud
    • Remplacer un noeud existant ;
    • Supprimer un noeud existant ;
  • Manipulation du DOM et performances

4. Donner du style aux éléments

  • La page web d'exemple
  • Modifier le style d'un élément
    • La propriété style
    • Les propriétés CSS composées
  • Accéder au style d'un élément
    • Les limites de la propriété style
    • La fonction getComputedStyle

5. DOM- POO - Synthèse

VIDÉOS

  • 022 (…) Arrays.mp4 : Les instructions if / else
  • 023 (…) 023 Coding Challenge 3.mp4 : La logique boléenne

PRÉPAS

  • Prépa 1 : Enfant
  • Prépa 2 : Rêve
  • Prépa 3 : Instruments
  • Prépa 4 : Langages
  • Prépa 5 : Journaux
  • Prépa 6 : Tutos
  • Prépa 7 : Dictionnaire
  • Prépa 8 : Couleurs
  • Prépa 9 : Infos

Sources et ressources

Sources principales

=> Pour ce cours en particulier : Créez des pages web interactives avec JavaScript - Partie 1 - Dominez le DOM sur OPENCLASSROOMS, partie 1 du tutoriel d'OPENCLASSROOMS (en français, 20 heures, facile) consacrée au DOM

Ressources

js-td-web-1-dom's People

Contributors

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