2 ms·
You can also right click a DOM element in the inspector and click `store as a global variable`. It will automatically do the following for you temp1 = document
by therein 5y ago
You can also right click a DOM element in the inspector and click `store as a global variable`. It will automatically do the following for you
temp1 = document.querySelector(SELECTOR_FOR_NODE_YOU_PICKED)