scrimba
Asynchronous Code from Odin Project (Updated)
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

Asynchronous Code from Odin Project (Updated)
AboutCommentsNotes
Asynchronous Code from Odin Project (Updated)
Expand for more info
index.js
run
preview
console
const myDiv = document.querySelector("div#myDiv")

myDiv.addEventListener("click", function(){
console.log("You clicked me!")
})

// const array = [1,2,3,4]

// array.forEach(function (num){
// console.log(num)
// })

// function callback(arg){
// console.log(arg)
// }
Console
/index.html
-11:56