0
I called button to display event in document.querySelector. but return null. Thanks you.
called button to display event function setRow and setColumn. https://code.sololearn.com/Wm5SwSiDj63Q/?ref=app
1 ответ
0
Incorrect console.log (document.querySelector ("el.href") );
correct console.log (el.href);
You already queried the DOM for the link object and assigned it to the var el so you don't have query the DOM again for the same object just us el.