CSS Selector Reference `$()` & `$()`
All Chromium
Console Mastery • shortcut
What It Does
Fast shorthand for `querySelector` and `querySelectorAll` directly in the console.
Quick Summary
Use the jQuery-style shorthand in the console.
Step-by-Step Instructions
- 1
Type `$('#logo')` to find an element by ID.
- 2
Type `$('.nav-item')` to get an array of all elements with that class.
- 3
This is much faster than typing the full native browser functions.
