0
Js can yo check ?
//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";}
1 Answer
+ 3
What you want to do here?