js query code example
Example 1: jquery
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
Example 2: js select element by css selector
document.querySelector('.class')
document.querySelectorAll('.class')
Example 3: jquery
<script src="https://code.jquery.com/jquery-3.5.1.js" integrity="sha256-QWo7LDvxbWT2tbbQ97B53yJnYU3WhH/C8ycbRAkjPDc=" crossorigin="anonymous"></script>
Example 4: qjuery
jQuery is a JavaScript library designed to simplify HTML DOM tree
traversal and manipulation, as well as event handling, CSS animation,
and Ajax.
It is free, open-source software using the permissive MIT License.
As of May 2019, jQuery is used by 73% of the 10 million most popular
websites