Lesson 2 - What can DevTools do?
In this lesson we'll learn
Chrome DevTools can do so many things. Sometimes it's more important to know what a tool can do than knowing exactly how to do it!
๐ก Note: Chrome extensions often mess with the DevTools data, leading to
inaccurate reporting! If you're going to run any important audits,
make sure you have all of your extensions disabled
or use an Incognito tab!
A walk through the panels
-
Elements ๐งช
- View HTML and CSS
- Add/Change classes and IDs
- Update Styles
-
Network ๐
- View all files sent from server
- Measure page load performance
- Watch your site load in real time
- Inspect request / response data
-
Performance ๐
- The scary one!
- Record CPU and Memory usage
- Inspect threads
- Spot page jank
-
Console ๐ฎ
- The friendly one!
- JavaScript REPL
- Interact with the DOM
-
Security ๐
- Check that requests use HTTPS
- View certificates
- View any TLS/SSL issues
-
Sources ๐
- A full IDE
- Step through debugger
- Persist changes to disk
-
Application ๐ผ
- Application storage
- Check PWA features
- Clear cache
-
Memory ๐ค
- Generate memory snapshots
- Find and fix memory leaks
-
Lighthouse ๐ข
- Full website audit
- Check Performance, SEO, Accessibility
-
Also โ
- Emulate devices
- Simulate network conditions
(It's worth noting that Chrome DevTools also allows you to Remote debug web apps on any Android* device. You can find information on how to do that here)
Course format
We're going to break the course down into:
- Editing - Elements, Console, Sources
- Debugging - Elements, Console, Sources
- Profiling - Network, Performance, Memory
- Auditing - Network, Lighthouse
Next Lesson
Let's begin by learning how to edit websites