scrimba
Frontend Career Path
Making websites interactive
Passenger counter
The Document Object Model
Go Pro!Bootcamp

Bootcamp

Study group

Collaborate with peers in your dedicated #study-group channel.

Code reviews

Submit projects for review using the /review command in your #code-reviews channel

AboutCommentsNotes
The Document Object Model
Expand for more info
index.js
run
preview
console
let countEl = document.getElementById("count-el")
let count = 0

function increment() {
count = count + 1
countEl.innerText = count
}


Console
<h2
id=
"count-el"
>
,
/index.html
-1:51