4 Tips to Debug Your Code with Chrome Devtools
Explained with GIFs.
1# Select a DOM

In the Element panel, we can select a DOM node, then right-click, choose Store as global variable
. This can store the DOM node into a JavaScript variable called temp1
and then we can use this variable in our code.