Skip to content
JavaScript Reference
Search
Ctrl
K
Cancel
GitHub
Select theme
Dark
Light
Auto
Welcome!
Welcome to JavaScript
The JS Ecosystem
Vorbereitungen
Example Reference
JS Basics
Data Types
Variables
The flow of a function
Arrow functions
Intro to objects
If/else statements
The NOT operator
Null and Undefined
The BOM and the DOM
Selecting an Element
Changing classes
Listeing to events
Callbacks
Functions
Understanding functions
Function Syntax
Arrays and Loops
Introduction to Arrays
Array Methods
Advanced Array Methods
Array Rest and Spread
Loops
Node Lists vs. Arrays
Objects
Object Syntax
Object Destructuring
The DOM
The DOM
Events
Event basics
Features and best practices
Rest and Spread Operators
Date and Time
Date
Keyboard and Focus
Keyboard
Async JS
Fetch API
Guides
Example Guide
Syntax CheatSheet
GitHub
Select theme
Dark
Light
Auto
Listeing to events
Listeing for events
Section titled “Listeing for events”
Listening for a click
Section titled “Listening for a click”
Does the listener exist?
Section titled “Does the listener exist?”
Changing the DOM through events
Section titled “Changing the DOM through events”
Click to change, click again to revert
Section titled “Click to change, click again to revert”
The event object
Section titled “The event object”