+ 2
How to make setAttribute only work on child elements from Div Id?
This is my code. Sorry, my English is bad 🙏 https://code.sololearn.com/WXDcLT0aejH3/?ref=app
2 odpowiedzi
+ 2
var inp1 = document.querySelectorAll("#demo input")[0];
var inp2 = document.querySelectorAll("#demo input")[1];
https://code.sololearn.com/W0GKiqHQJ1Fj/?ref=app
+ 2
Thanks 🙏😀