scrimba
Frontend Career Path
Making websites interactive
Chrome Extension
Create the myLeads array and inputEl
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

Create the myLeads array and inputEl
AboutCommentsNotes
Create the myLeads array and inputEl
Expand for more info
index.js
run
preview
console
// Create two variables:
// myLeads -> should be assigned to an empty array
// inputEl -> should be assigned to the text input field

let inputBtn = document.getElementById("input-btn")

inputBtn.addEventListener("click", function() {
console.log("Button clicked!")
})


Console
/index.html
-2:21