document.queryselector with jquery code example
Example 1: jquery from object to queryselector
$( "#foo" )[ 0 ]; // Equivalent to document.getElementById( "foo" ) or document.querySelector('#foo')
$( "#foo" ).get( 0 ); // Identical to above, only slower.
Example 2: js queryselector
const para = document.querySelectorAll('p');