I am currently learning to code JS and like probably many other people before, I’m writing a ToDo List.
But at this point I’ve got a problem.
let DivNone = document.querySelector('#div2');
let BtnNone = document.querySelector('#btn3');
How can I put these two lines in one?
I already tried to use:
document.querySelectorAll('#div2, #btn3')
But somehow it doesn’t work…