scrimba
Frontend Career Path
Making websites interactive
Passenger counter
Debugging online
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
Debugging online
Expand for more info
index.js
run
preview
console
let saveEl = document.getElementById("save-el")
let countEl = document.getElementById("count-el")
let count = 0

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

function save() {
let countStr = count + " - "
saveEl.innerText += countStr
}

// Google:
// innerText alternative mdn
Console
4
,
8
,
11
,
/index.html
-3:49