0
How to make this 2 tags ? Js
//Make only inputs with type 'text' have a gray background var background= document.querySelector("dIv") //Give both <p>'s inside the 3rd <div> a pink background var pink = document.getElementsByTagName("p") for ( var i=0; i<pink.length ; i++){ pink[i].style.background ="pink";}
2 Réponses
+ 2
First show us your attempt
0
ok