← #70 Shorten codes with the comma operator
#71

Quick query elements in the Console

Topics: DevTools

The Chrome DevTools provides two shortcut methods to query the elements in the page.

MethodIndentical method
$document.querySelector
$$document.querySelectorAll

The following screenshot demonstrates how to use them in the Console.

Query elements in the Console

More

Fix a typo or suggest an improvement
#72 Pure collapsible element