0 added
0 removed
Original
2026-01-01
Modified
2026-02-21
1
<p>DevTools is a powerful instrument for debugging and analyzing what's happening on the page. Frontend development is impossible without it.</p>
1
<p>DevTools is a powerful instrument for debugging and analyzing what's happening on the page. Frontend development is impossible without it.</p>
2
<p>Modern browsers are already fully equipped with these tools. You just need to find them in the menu and activate it. And it's worth spending time and exploring the capabilities of DevTools.</p>
2
<p>Modern browsers are already fully equipped with these tools. You just need to find them in the menu and activate it. And it's worth spending time and exploring the capabilities of DevTools.</p>
3
<p>We can use DevTools for so many things, but this course isn't enough to study all its possibilities. The Internet is full of articles all about the most powerful ways to use DevTools, and its hidden features. So, we'll only go through the basic ones here.</p>
3
<p>We can use DevTools for so many things, but this course isn't enough to study all its possibilities. The Internet is full of articles all about the most powerful ways to use DevTools, and its hidden features. So, we'll only go through the basic ones here.</p>
4
<h2>Error analysis</h2>
4
<h2>Error analysis</h2>
5
<p>All errors that occur in browser-based JavaScript are output to the console. You can view them and open the source code to see where the error appeared.</p>
5
<p>All errors that occur in browser-based JavaScript are output to the console. You can view them and open the source code to see where the error appeared.</p>
6
<h2>Selected item</h2>
6
<h2>Selected item</h2>
7
<p>After choosing an element in this way, you can go to the console tab and type $0. It is how you can get access to this element.</p>
7
<p>After choosing an element in this way, you can go to the console tab and type $0. It is how you can get access to this element.</p>
8
<h2>Search</h2>
8
<h2>Search</h2>
9
<p>You can use the $() function to simplify the search for elements by a selector. Let's compare:</p>
9
<p>You can use the $() function to simplify the search for elements by a selector. Let's compare:</p>
10
<h2>console.dir</h2>
10
<h2>console.dir</h2>
11
<p>The function console.dir is useful too. It outputs DOM nodes in a format that's convenient for analysis.</p>
11
<p>The function console.dir is useful too. It outputs DOM nodes in a format that's convenient for analysis.</p>