get element by query selectorjavascript code example
Example 1: queryselector javascript
var element = document.querySelector("#myid .myclass p");
Example 2: query selector js
element = document.querySelector(sélecteurs);
var element = document.querySelector("#myid .myclass p");
element = document.querySelector(sélecteurs);