scrimba
sleigh blastoff
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

sleigh blastoff
AboutCommentsNotes
sleigh blastoff
Expand for more info
index.js
run
preview
console
const crew = document.getElementById("crew")
const btn = document.getElementById("btn")
const xmasMusic = new Audio('ho-ho-ho.wav')
btn.addEventListener("click", launchCrew)

function launchCrew() {
crew.classList.add("slide-out-blurred-top")
xmasMusic.play()
}

// Task:
// - Write a function to launch the sleigh!
// - See CSS for more tasks.

// Stretch goals:
// - Add a cheering sound when the sleigh takes off.
// - Add a countdown to the launch time.
Console
/index.html
LIVE