- Courses
- 💻Programming Languages
- 🌐JavaScript
- DOM & Events
JavaScript DOM & Events
Learn how to manipulate the DOM and handle events to create interactive web pages. Master DOM APIs, event handling, and form validation.
📄️Manipulating DOM elements
Learn how to effectively Manipulate DOM Elements in JavaScript! Master key methods for Selecting Elements (like getElementById and querySelector) and discover how to Change, Add, and Remove them using properties and methods like innerHTML, setAttribute, createElement, appendChild, and remove.
📄️Animations
Learn the professional way to create smooth JavaScript Animations! Discover the essential requestAnimationFrame() method for telling the browser to optimize your animation updates before the next repaint. See practical examples for controlling timing and moving DOM elements to build high-performance visual effects.
📄️HTML events
Explore the most common HTML Events for dynamic web pages! Learn about key event categories. Window Events (onload), Form Events (onsubmit), Keyboard Events (onkeydown), and Mouse Events (onclick). Understand how to capture user interactions like clicks, key presses, and form submissions using JavaScript.
📄️Event handling and propagation
Master JavaScript Event Handling and Propagation! Learn the preferred method using addEventListener() to attach multiple, non-overwriting handlers. Dive deep into Event Propagation, understanding the Capturing and Bubbling phases. Plus, see how to control event flow and default actions with stopPropagation() and preventDefault().
📄️Form Validation
Learn the essentials of JavaScript Form Validation! See a practical example demonstrating how to prevent default submission and use Regular Expressions (Regex) to check input formats, such as email. Start writing client-side validation logic to ensure data integrity and enhance user experience.
Found this helpful? Share the knowledge...
... or support this project to keep it alive!
Previous
MinHeap implementation
Next
Manipulating DOM elements