Apprendre JavaScript en 1 heure - Cours Complet Débutant (4K)

Learn how to manipulate the DOM with JavaScript with my course "100+ Exercises & Projects in HTML, CSS, and JavaScript": 👉 Discover all the exercises here: https://www.commentcoder.com/udemy-ht... The DOM is what allows JavaScript to modify a web page in real time—it's the foundation of all interactivity on the web. Currently covered: Selecting elements with querySelector Modifying content, styles, and classes Creating and deleting elements Responding to events (clicks, keyboard input, form submissions) ⏱️ Table of Contents: 00:00 Introduction to the DOM 00:45 What is the DOM? 02:16 The Document Object 05:17 JavaScript Selectors 06:26 getElementById 08:01 querySelector 09:37 querySelectorAll 12:29 Modifying Content 14:06 Changing Text 16:04 Changing HTML 21:33 Data Attributes 24:22 Managing CSS Classes 27:38 Modifying Styles 30:04 Adding Elements 31:01 createElement 33:07 Insertion Methods 35:40 Practical Example: Creating a Map 39:16 Deleting an Element 40:13 Practical Exercise 42:52 Events 43:31 Event Listeners 45:46 The Event Object 46:45 Events: Click 48:30 Events: Mouse 50:35 Events: Keyboard 52:51 Events: Form 56:00 Key Events #javascript #dom #javascriptdom #beginner #webdevelopment