$0 : In the console, this refers to the element currently selected in the Elements panel. 2. The dom-temple Package
document.querySelector('selector') : Finds the first matching element.
In web development, the is a tree-like structure that represents an HTML document. You can search for specific "nodes" or elements within this tree using several methods: