I was wondering if there's a difference between the 2 options, knowing all my div's are with id's?
I took them all with querySelector
... is it better to change to getElementById
or is it equivalent?
document.querySelector("#div").value;
OR
document.getElementById("div").value;