function saveInput() {
console.log("Button clicked from onclick attribute")
}
let inputBtn = document.getElementById("input-btn")
console.log(inputBtn)
And it logs out “null”. It’s part of a video tutorial by Per and I’ve copied his entire code, but I keep getting “null”. Please, help.
Thanks all!