Answers for "how to change background color using query queryselector"

0

how to change background color using query queryselector

var x = $(".yourclass")[0];
console.log('jq' + x);
var y = document.querySelector(".yourclass");
console.log('js' + y);
Posted by: Guest on April-22-2020

Code answers related to "how to change background color using query queryselector"

Code answers related to "Javascript"

Browse Popular Code Answers by Language