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
- View HTML and CSS
- Add/Change classes and IDs
- Update Styles
- View all files sent from server
- Measure page load performance
- Watch your site load in real time
- Inspect request / response data
- The scary one!
- Record CPU and Memory usage
- Inspect threads
- Spot page jank
- The friendly one!
- Interact with the DOM
- Check that requests use HTTPS
- View certificates
- View any TLS/SSL issues
- A full IDE
- Step through debugger
- Persist changes to disk
- Application storage
- Check PWA features
- Clear cache
- Generate memory snapshots
- Find and fix memory leaks
- Full website audit
- Check Performance, SEO, Accessibility
- 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)
We're going to break the course down into:
- Editing - Elements, Console, Sources
- Debugging - Elements, Console, Sources
- Profiling - Network, Performance, Memory
- Auditing - Network, Lighthouse
Let's begin by learning how to edit websites