The Elements panel shows the webpage's HTML structure and CSS styles. It lets you inspect and modify them live, helping you understand how the page is built and styled.
let count = 0;
for(let i = 0; i < 3; i++) {
count += i;
}
console.log(count);What is the output shown in the Console?
let count = 0; for(let i = 0; i < 3; i++) { count += i; } console.log(count);
The loop adds 0, then 1, then 2 to count. So count = 0 + 1 + 2 = 3.
The Network panel lists all files the browser requests, showing their load times and sizes. This helps spot slow resources.
The Sources panel lets you view and debug JavaScript code by setting breakpoints. The Performance panel records how the page runs over time, showing CPU and rendering details.
First open dev tools, then toggle device toolbar to simulate devices, pick a device or size, and reload to apply changes.
