MCQ Hive stays free thanks to ads. Please disable your ad blocker for this site so content and features keep working.
Multiple Browsers
Developer Tools
Beginner
Q
In the Chrome DevTools Console, what does $0 refer to?
AThe DOM element currently selected in the Elements panel
BThe page title
CThe first script on the page
DThe last error
Correct Answer:
A. The DOM element currently selected in the Elements panel
Explanation:
$1 refers to the previously selected element, and so on.
ALSO KNOW (related points):
• Which DevTools panel shows every HTTP request, with its status, size, and timing? → Network
• Which tool built into Chrome DevTools audits performance, accessibility, best practices, and SEO? → Lighthouse
• Where can you see uncaught JavaScript errors from a page? → In the DevTools Console
• Which DevTools panel shows cookies, localStorage, IndexedDB, and service workers in Chrome? → Application
• Which DevTools panel lets you set breakpoints and step through JavaScript? → Sources (called Debugger in Firefox)
• Which DevTools panel records frame rates, scripting time, and layout work to find performance bottlenecks? → Performance
• What does typing view-source:https://example.com into the address bar do? → It shows the raw HTML source of that page