Fireship · @fireship
21+ Browser Dev Tools & Tips You Need To Know
Uploaded July 12, 2021 · Length 9:26
Summary
Learn 21+ browser dev tools and tips to make your life easier as a web developer, covering Chrome, Firefox, and more.
- browser dev tools
- chrome dev tools
- firefox dev tools
- web development
- debugging
- javascript
- css
- html
Transcript preview
The first 2 minutes of the transcript. Select a timestamp to watch that moment on YouTube.
- 0:00
on the internet you'll find scammers who
- 0:01
show off their massive bank account
- 0:03
balances while they try to sell you a
- 0:05
course on how you can get there too
- 0:06
but there's actually an easier way to
- 0:08
grow your bank account open up the
- 0:09
browser console with ctrl shift j
- 0:12
then execute this line of code to turn
- 0:13
the document's design mode on
- 0:15
we can now modify any text in the web
- 0:17
page itself like the bank account
- 0:19
balance
- 0:19
as developers we tend to take a lot of
- 0:22
technologies for granted one of which is
- 0:24
the web browser
- 0:24
not only is it one of the most important
- 0:26
technologies for all of humanity but
- 0:28
modern browsers contain all kinds of
- 0:30
awesome developer tools that were
- 0:31
unimaginable 10 years ago
- 0:33
in today's video we'll look at a ton of
- 0:35
features and tricks in your browser's
- 0:37
dev tools that you probably didn't know
- 0:38
exist and will make your life much
- 0:40
easier as a web developer
- 0:42
first like and subscribe to keep this
- 0:43
content coming then add your own pro tip
- 0:45
to the comments and i'll pick one of
- 0:47
them to win this free t-shirt next week
- 0:49
i'm going to focus on chrome dev tools
- 0:50
in this video but firefox also has an
- 0:52
awesome suite of dev tools and most of
- 0:54
the tricks i'll show you
- 0:55
apply to both browsers and if you use
- 0:57
edge or brave they're both based on
- 0:59
chromium so everything applies there as
- 1:01
well
- 1:01
and if you use safari or internet
- 1:03
explorer may god help you
- 1:04
first we need to open up the console
- 1:06
which we can do with the ctrl shift j
- 1:08
shortcut what you may not know
- 1:10
is that chrome has a command palette
- 1:11
just like vs code that you can access
- 1:13
with control p
- 1:14
type an angle bracket and that will give
- 1:16
you a list of every command
- 1:17
at your disposal in the dev tools a
- 1:19
useful one especially if you want to
- 1:21
show off your bank account
- 1:22
is screenshot which allows you to
- 1:24
screenshot an entire page
- 1:26
a custom area or an individual dom node
- 1:28
but if we go ahead and open up the
- 1:30
command palette again
- 1:31
you'll notice it provides a big list of
- 1:33
files these files are the actual html
- 1:36
css
- 1:36
javascript and images loaded by this
- 1:38
webpage
- 1:39
when you click on one it takes you to
- 1:41
the sources tab where you can actually
- 1:43
edit and inspect the file
- 1:44
in production it's likely minified so
- 1:46
click the pretty print button to make it
- 1:48
look nicer but here's something you
- 1:50
didn't know
- 1:50
in the bottom right corner you'll see
- 1:52
the option for coverage which will bring
- 1:54
up the coverage panel and this will tell
- 1:55
you exactly how much your javascript or
- 1:58
css is contributing to the visual


