21+ Browser Dev Tools & Tips You Need To Know

แชร์
ฝัง
  • เผยแพร่เมื่อ 26 ก.ค. 2024
  • The web browser is one of the most sophisticated tools on the planet. Today we look at 21 tricks, tips, and lesser-known features in Chrome Dev Tools that will make your life easier as a web developer. fireship.io
    #webdev #chrome #tips
    🔗 Resources
    Chrome Dev Tools Docs developer.chrome.com/docs/dev...
    Cool PWA Features Video • 7 Web Features You Did...
    Brave brave.com/
    Visbug Extension chrome.google.com/webstore/de...
    📚 Chapters
    00:00 1. Design Mode
    01:04 2. Command Palette
    01:20 3. Screenshots
    01:29 4. Visual Coverage
    02:10 5. Dollar Sign Shortcut
    02:37 6. Live Expression
    02:53 7. Snippets
    03:07 8. Redeclare variables
    03:22 9. Copy Elements
    03:50 10. Force State
    04:12 11. Animation Timeline
    04:30 12. Rendering FPS
    04:51 13. Grid & Flexbox Editor
    05:20 14. VisBug
    05:32 15. Responsive Devices
    05:49 16. Sensors
    06:00 17. Lighthouse
    06:21 18. Network Waterfall
    06:51 19. Server Timing API
    07:13 20. Performance
    08:14 21. Memory Profile
    08:51 Be Brave
    🤓 Install the quiz app
    iOS itunes.apple.com/us/app/fires...
    Android play.google.com/store/apps/de...
    🔥 Watch more with Fireship PRO
    Upgrade to Fireship PRO at fireship.io/pro
    Use code lORhwXd2 for 25% off your first payment.
    🎨 My Editor Settings
    - Atom One Dark
    - vscode-icons
    - Fira Code Font
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 586

  • @jayanths1221
    @jayanths1221 3 ปีที่แล้ว +807

    How is it humanly possible to fit this ocean of knowledge into a 9-minute video? We must protect Jeff at all costs!

    • @Dr3amDisturb3r
      @Dr3amDisturb3r 3 ปีที่แล้ว +9

      In Jeff we trust!

    • @elierh442
      @elierh442 3 ปีที่แล้ว +2

      Download Brave and send Jeff some tips lol

    • @BlueEdgeTechno
      @BlueEdgeTechno 3 ปีที่แล้ว

      Hail him

    • @mdoerkse
      @mdoerkse 2 ปีที่แล้ว +3

      I have to watch at 0.75 speed!

    • @shreeramparija7731
      @shreeramparija7731 2 ปีที่แล้ว

      So his name is Jeff

  • @beepboopbeepboopbeepboopbeep
    @beepboopbeepboopbeepboopbeep 3 ปีที่แล้ว +333

    Thanks Jeff, I was just wondering how to trick my audience into thinking I made 12,000,000$ in two days!

  • @xq_nemesis
    @xq_nemesis 3 ปีที่แล้ว +180

    Never once have you wasted my time ❤️

  • @JoseAntonioParedesLeonwork
    @JoseAntonioParedesLeonwork 3 ปีที่แล้ว +287

    “To investigate why your code sucks in more detail” 😂😂😂

    • @CodeNight-dm2hv
      @CodeNight-dm2hv 3 ปีที่แล้ว +1

      lol 😂😂

    • @pyplacca
      @pyplacca 3 ปีที่แล้ว +3

      More like seeing why ur code sucks in HD😹

    • @michagabo8819
      @michagabo8819 3 ปีที่แล้ว

      When things were at their very worst:
      2 Suns, Cross in the sky, 2 comets will collide = don`t be afraid - repent, accept Lord`s Hand of Mercy.
      Scientists will say it was a global illusion.
      Beaware - Jesus will never walk in flesh again.
      After WW3 - rise of the “ man of peace“ from the East = Antichrist - the most powerful, popular, charismatic and influential leader of all time. Many miracles will be attributed to him. He will imitate Jesus in every conceivable way.
      Don`t trust „pope“ Francis = the False Prophet
      - will seem to rise from the dead
      - will unite all Christian Churches and all Religions as one.
      One World Religion = the seat of the Antichrist.
      Benedict XVI is the last true pope - will be accused of a crime of which he is totally innocent.
      The Book of Truth

    • @DanielDaniel-xz2yp
      @DanielDaniel-xz2yp 3 ปีที่แล้ว

      Ouch

  • @kolr2873
    @kolr2873 3 ปีที่แล้ว +151

    This video is the "missing semester" for front end devs.

    • @thebeerministry
      @thebeerministry 2 ปีที่แล้ว

      You don't have to call them out like that

  • @lamka02sk
    @lamka02sk 3 ปีที่แล้ว +26

    Been programming for 7 years and just today I learned about design mode haha. Thanks!

  • @sunimod1895
    @sunimod1895 3 ปีที่แล้ว +27

    I'm so glad I stumbled on this channel, I just finished my first programming internship and I had essentially 0 web development experience beforehand, your videos helped me out a lot!

  • @claasdev
    @claasdev 3 ปีที่แล้ว +35

    Pro tip: you also can use the sensors (5:49) to test your string localization for dates and currencies in different regions

  • @samj6837
    @samj6837 3 ปีที่แล้ว +98

    Here's a neat feature: in the networking tab, you can edit a request (say, to an API) and change its headers, contents, etc. and resend it. It's very handy if you just want to test minor changes :D

  • @gddeufedhfezr1224
    @gddeufedhfezr1224 3 ปีที่แล้ว +175

    Click the select button in the Dev Tools, then hover over an element and see if the contrast is good.

    • @danielapjok4263
      @danielapjok4263 3 ปีที่แล้ว +8

      Come here to say the same thing, except with the shortcut (ctrl + shift + c), which is also open up the inspector, so you don't have to beforehand.

    • @softwarelivre2389
      @softwarelivre2389 3 ปีที่แล้ว +3

      Firefox has a builtin screenshot tool which is much easier to use right at the click of a button. Much easier to use than the Chromium one.

    • @softwarelivre2389
      @softwarelivre2389 3 ปีที่แล้ว

      1:20

  • @MiguelReyesDeveloper
    @MiguelReyesDeveloper 3 ปีที่แล้ว +17

    Dev Tip: If you're using an Array or an Object, don't use console.log(), use instead console.table(). Thank me later.

    • @NEWTR0N_MUSIC
      @NEWTR0N_MUSIC 2 หลายเดือนก่อน

      But why

    • @MiguelReyesDeveloper
      @MiguelReyesDeveloper 2 หลายเดือนก่อน +1

      @@NEWTR0N_MUSIC it's gonna log a table and it's easier to read it that way (:

    • @NEWTR0N_MUSIC
      @NEWTR0N_MUSIC 2 หลายเดือนก่อน

      @@MiguelReyesDeveloper ohk thanks 👍🏻

  • @snansahmarov1524
    @snansahmarov1524 3 ปีที่แล้ว +10

    One thing i want to mention here:
    Teaching something is not easy as looking from outside. It is hard to keep viewers, subscribers level. Sharing content for everyone( No matter beginner, intermediate. etc).
    But you do amazing things.
    Everyone can watch and joy from your videos. Lets up to 1 million. ⭐

  • @ivanb493
    @ivanb493 3 ปีที่แล้ว +161

    Design mode?? That's fucking sick thanks Fireship

    • @seggsfault
      @seggsfault 3 ปีที่แล้ว

      Yeah man that flipped me

  • @creativity5155
    @creativity5155 3 ปีที่แล้ว +24

    Using the throttle feature on the networking tab on most major websites, help detect redirection pages in websites; This is mostly helpful when pen testing offline apps.

  • @rishabhanand4270
    @rishabhanand4270 3 ปีที่แล้ว +30

    (On TH-cam) -> Open Dev Tools -> Switch Responsive Mode to iPad / Mobile -> Network Panel -> Reload to view the requests in Network Panel -> sort by Time -> click the "videoplayback" request and open in New tab -> Right Click video and download. Congrats, you downloaded a youtube video.

    • @whoman7930
      @whoman7930 3 ปีที่แล้ว +2

      This doesn't work for me.

    • @Louisianish
      @Louisianish 3 ปีที่แล้ว

      That’s really cool, but I’ll just use my favorite free video downloader app. lol

    • @EliasJackson
      @EliasJackson 2 ปีที่แล้ว +2

      TH-cam-dl

  • @poglord._
    @poglord._ 3 ปีที่แล้ว +9

    Amazing work dude. Love the content. Keep it coming

  • @victorsaisse1340
    @victorsaisse1340 3 ปีที่แล้ว +34

    Just grabed my popcorn

  • @ChristofferLund
    @ChristofferLund 3 ปีที่แล้ว +1

    So many brilliant tips! Thanks for taking the time to research what's available and making it easily accessible and consumable for us.

  • @gradientO
    @gradientO 3 ปีที่แล้ว +9

    I decided to learn Angular recently and found your Angular videos, good content you've got there

    • @Fireship
      @Fireship  3 ปีที่แล้ว +11

      New Angular content is overdue on this channel

    • @zameerfouzan
      @zameerfouzan 3 ปีที่แล้ว +2

      @@Fireship attempting module federation with WP5 & angular 11. do you have any good pointers/materials for reference ?

  • @philippefutureboy7348
    @philippefutureboy7348 3 ปีที่แล้ว +4

    👏 Jeff thanks for your amazing content - this is hours of tutorials (and $$$) condensed in 9 minutes! You are a rare diamond!

  • @jp46614
    @jp46614 3 ปีที่แล้ว +58

    "If i'm illegally scraping a website"
    lmao

    • @TheCameltotem
      @TheCameltotem 3 ปีที่แล้ว +3

      Scraping is seriously underrated. I've built a lot of websites based on other peoples data

    • @jp46614
      @jp46614 3 ปีที่แล้ว

      @@TheCameltotem because of you laws like this exist to protect people from you

    • @TheCameltotem
      @TheCameltotem 3 ปีที่แล้ว

      @@jp46614 Its legal unless you abuse it ie bring down their site.

  • @jugzster
    @jugzster 3 ปีที่แล้ว +1

    Every single one of these tips are valuable. You sir are a treasure to the dev community

  • @sanghvian
    @sanghvian 3 ปีที่แล้ว

    Really helpful video ! Thanks for this Jeff !

  • @zzy13236
    @zzy13236 ปีที่แล้ว

    Bro, you always push out the most condense yet informative content! Love your work man.

  • @vanibron
    @vanibron 3 ปีที่แล้ว +1

    Things I learned for years squeezed in 9 minutes. Huge respect!

  • @tebogoseshibe4518
    @tebogoseshibe4518 3 ปีที่แล้ว

    I've randomly stumbled across pretty much all these things while working, but having them all here in perfectly succinct and descriptive video is amazing.

  • @ruzzan
    @ruzzan 3 ปีที่แล้ว +12

    I am a simple person, I see Fireship's video I click it.

  • @DeepankarSandhibigraha
    @DeepankarSandhibigraha 3 ปีที่แล้ว

    Thanks a lot. Your tips helps a lot. 👌🏻

  • @kluchtube7042
    @kluchtube7042 3 ปีที่แล้ว

    This is the video i was looking for thank you jeff!

  • @me_rinta
    @me_rinta 3 ปีที่แล้ว

    Getting excited for a Fireship video every time 👋🏻
    Awesome stuff 🔥

  • @anupamdahal7029
    @anupamdahal7029 3 ปีที่แล้ว +5

    I have learnt a lot of new things that I have never worked with from your videos, like AWS, nginx, kubernetes, graphQL(and other dbs), typescript to name a few. One thing that I don't understand is how they work together. I would really love to see a video where you design a mock system using all of these (and possibly more) and explain each of their roles and why you chose it (kinda like your reverse-cloud migration video using raspberry pi).
    Whenever I think of a software architecture I think of them as several layers that interact with each other. However, I am unable to assign which layer what belongs to by watching a stand alone tutorial about a single tool.
    Btw, I am a college senior pursuing CS major and I love your content. Thanks for all the awesome contents.

  • @_RafaelKr
    @_RafaelKr 3 ปีที่แล้ว +1

    Selecting an element in the elements panel and using the different "Break On" options can also be very helpful on figuring out how some things work!

  • @fahadus
    @fahadus 3 ปีที่แล้ว +17

    The CSS transition also has a UI panel for the timing function (easing) which is almost impossible to code by hand if you're doing anything more than the simple stuff.

  • @SantosEnoque
    @SantosEnoque 3 ปีที่แล้ว +3

    man, like how do you publish all of these awesome videos in such a short time, like how??? I'm a fan

  • @AlexanderDemin
    @AlexanderDemin 2 ปีที่แล้ว

    What a video! So much information in 9 minutes!

  • @genyklemberg
    @genyklemberg ปีที่แล้ว

    thanks. Was great to find this

  • @makemypetgamedevprocess6475
    @makemypetgamedevprocess6475 3 ปีที่แล้ว

    Thaaanks, this info is really useful :)

  • @heitorasf
    @heitorasf 3 ปีที่แล้ว

    Thanks man, this video was mind-blowing

  • @amiar7993
    @amiar7993 3 ปีที่แล้ว

    I liked how we can grab the current element and manipulate it. Thank you, it's simple and straight to the point

  • @collins4359
    @collins4359 3 ปีที่แล้ว +2

    I gotta give the award for condensing content to you man. nice work

  • @ischysyt
    @ischysyt 3 ปีที่แล้ว

    As new learner, your videos helps me a lot, so many times I see something that can ease one of my dev struggles that I didn't even know what to search for it's fix.

  • @CodingPhase
    @CodingPhase 3 ปีที่แล้ว +1

    Damn bro the way you do videos is amazing just the first 15 seconds had me hooked

  • @prkkarki8942
    @prkkarki8942 3 ปีที่แล้ว

    I look forward to every video and it doesn't disappoint me at all. Thank you.

  • @TheArkcantos
    @TheArkcantos 3 ปีที่แล้ว

    Very educational. Love it.

  • @robertholtz
    @robertholtz ปีที่แล้ว +2

    Super useful high-density essential knowledge. Thank you!

  • @kai_bal
    @kai_bal 4 หลายเดือนก่อน

    The example you used in the very beginning, directly exposing those scammers made me lol😂😂

  • @pukshu
    @pukshu 3 ปีที่แล้ว +1

    What a banger of a vid, thanks for the knowledge!

  • @hpdcoder820
    @hpdcoder820 3 ปีที่แล้ว

    Amazing Informations 🤩😊 Thank you 👍

  • @komodo3784
    @komodo3784 3 ปีที่แล้ว

    Very practical technique, thank you!

  • @JaLikon65
    @JaLikon65 2 ปีที่แล้ว +2

    Freaking amazing video.
    One of my fav tips: In the network tab, if you right click on one of the HTTP Requests and hover over "Copy", you can actually copy the request as a cURL commands. So if you go run that cURL command in a terminal, cURL will send the exact same HTTP Request that your browser did. Super nifty, and there are other "Copy as" options too, such as fetch, Node.js fetch, etc etc

  • @zunairkhan7537
    @zunairkhan7537 3 ปีที่แล้ว

    Great tips man!

  • @sunitshirke
    @sunitshirke 3 ปีที่แล้ว

    +rep For the Brave suggestion segment👏

  • @onetdev
    @onetdev 3 ปีที่แล้ว +4

    Gosh, I've seen so many new awesome feature here, I feel motivated to work with web (again)

  • @leonardodeslf
    @leonardodeslf 2 ปีที่แล้ว

    Great one!

  • @mattborisov
    @mattborisov 3 ปีที่แล้ว

    Thank you very much. I did not know about some features.

  • @jamiewilliams8519
    @jamiewilliams8519 2 ปีที่แล้ว

    My mind is blown!! Thank you for making this super detailed video!! Awesome job!!

  • @unpluggedaman
    @unpluggedaman 3 ปีที่แล้ว

    Super helpful. Thanks a lot

  • @harigalla1364
    @harigalla1364 2 ปีที่แล้ว

    That Design mode feature is so sickk!! Never knew about that one

  • @nro337
    @nro337 3 ปีที่แล้ว

    Thank you for the tips!

  • @gururao3453
    @gururao3453 3 ปีที่แล้ว

    Really helpful 🙌🏻

  • @ahmedroberts4883
    @ahmedroberts4883 ปีที่แล้ว

    Awesome Vid!

  • @joelcool1027
    @joelcool1027 3 ปีที่แล้ว +1

    Awesome video!

  • @roshanmhatre8810
    @roshanmhatre8810 3 ปีที่แล้ว

    Your videos are really helpful 🔥

  • @ayushmaanchauhan377
    @ayushmaanchauhan377 3 ปีที่แล้ว

    Really helpful video

  • @hipunpun
    @hipunpun ปีที่แล้ว +1

    My god, actually insanely useful and impressive - thank you so much! ❤

  • @burapranay
    @burapranay ปีที่แล้ว

    You guys are awesome...🥶 Give us more.

  • @rajatmishra9993
    @rajatmishra9993 3 ปีที่แล้ว +1

    Thanks. This was recommended by me.

  • @nachiketjoshi3878
    @nachiketjoshi3878 3 ปีที่แล้ว

    Great knowledge.

  • @mohammed7aafar
    @mohammed7aafar 3 ปีที่แล้ว

    awesome work

  • @tevinmorake8924
    @tevinmorake8924 2 ปีที่แล้ว

    I had an issue that I wouldn't have noticed if it wasn't for this video. Thanks Jeff!

  • @the7odmelmoney
    @the7odmelmoney 3 ปีที่แล้ว

    This is great thanks

  • @shinbones
    @shinbones 3 ปีที่แล้ว +9

    Another video let's go! May I know where you get your background music?

    • @Fireship
      @Fireship  3 ปีที่แล้ว +7

      AudioJungle usually

    • @shinbones
      @shinbones 3 ปีที่แล้ว +1

      @@Fireship thank you!

  • @vinos1629
    @vinos1629 3 ปีที่แล้ว +6

    These are all some very useful tips that can save me a lot of time which i will never use bcs ill forget about them by the time i need them

  • @keorapetsempolokeng2903
    @keorapetsempolokeng2903 2 ปีที่แล้ว

    Wow!!!. the usefulness of information in this video.

  • @SirusStarTV
    @SirusStarTV 3 ปีที่แล้ว

    There's channels out there that you don't really want to subscribe, but this channel is another thing

  • @Athenaforever2308
    @Athenaforever2308 3 หลายเดือนก่อน

    Thank you!!!

  • @vivekpaliwar7217
    @vivekpaliwar7217 3 ปีที่แล้ว

    Thanks man I learn something new everyday from your channel .
    Low time videos with great content .
    I got inspired by you to learn react from that 💯 second video .

  • @Dr3amDisturb3r
    @Dr3amDisturb3r 3 ปีที่แล้ว +1

    To make source files changes persist through page refresh, use local overrides. It helped me a lot when I was dealing with an external (other team's) module connected to mine with a web socket. I needed to force some state and modify some function definitions in order to test my module's changes and see how they behaved over the socket. It was really helpful to make changes to their module on my own, instead of bothering the other team and asking them to deploy on the testing environments, just so I can experiment with my solutions. Really good stuff!

    • @caiyuhui
      @caiyuhui 2 ปีที่แล้ว

      It becomes really slow when reload the page swithing to local overrides. Dnt know why

  • @osraneslipy
    @osraneslipy ปีที่แล้ว

    I am putting this one into bookmarks. Awesome video

  • @robolist2277
    @robolist2277 3 ปีที่แล้ว +2

    Best web dev channel

  • @stefandili2650
    @stefandili2650 3 ปีที่แล้ว +4

    No matter if you're a pro developer using devtools constantly or a noob learning and practicing what you just learned in this video, you just might get bored of hitting f12 or ctrl+shift+J constantly to open up devtools.
    Right-click the icon of your chosen browser and open up properties. In the field called "target", which holds the path to the browser's launcher file, after the path in quotes add --auto-open-devtools-for-tabs.
    It should now look something like this:
    "C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" --auto-open-devtools-for-tabs
    All instances of the browser need to be closed before this change takes action (check your taskbar running apps).
    Voila, each new tab you open will be waiting for you with devtools open.

  • @jooblets
    @jooblets 3 ปีที่แล้ว +2

    - Edge has a bunch of VS Code themes for the devtools
    - If you keep pressing Cmd + Q (instead of Cmd + W) and end up closing your browser, you can enable "Warn before quitting" in settings
    - You can add tabs to a group and minimize them all at once. Tab organization becomes much easier

  • @sreejonk19
    @sreejonk19 3 ปีที่แล้ว

    Amazing content. I can't thank you enough.

  • @ecs1611
    @ecs1611 3 ปีที่แล้ว

    No matter how skilled I am at a subject, I always learn something new from your videos.

  • @mexicanmax227
    @mexicanmax227 3 ปีที่แล้ว

    🤯🤯 Omgah!!! So much knowledge!!! 🤩💪🙏

  • @KetanLambat
    @KetanLambat 3 ปีที่แล้ว +1

    The Sources tab is also a full-fledged debugger.
    We can put breakpoints, peek the current value of any variable by hovering, watch variables, etc.
    This feature is helping me so much with my Angular application.

  • @itskyledavid2826
    @itskyledavid2826 2 ปีที่แล้ว

    This video is pure gold

  • @_parassolanki
    @_parassolanki 3 ปีที่แล้ว

    Awesome video

  • @bas_kar_na_yar
    @bas_kar_na_yar 3 ปีที่แล้ว +2

    The application tab is very useful if you are making a PWA. The manifest section can show you detailed info about your manifest, including previews of your logo (How it will appear once your PWA is installed in mobile devices of different sizes).

  • @djsnooppyzatdepoet7568
    @djsnooppyzatdepoet7568 3 ปีที่แล้ว

    The music and the video audio go so well.

  • @dan6erbond
    @dan6erbond 3 ปีที่แล้ว +2

    Not sure how specific this is to the developer tooling in the browsers themselves, but the Quick Source Viewer extension and JSON Viewer in Chrome format raw source outputs as well as API responses which can be super handy!

  • @Hyuts
    @Hyuts 2 ปีที่แล้ว

    Thank you kind sir.

  • @theocrob
    @theocrob 3 ปีที่แล้ว

    Thanks very much for this informational video, I love that you add jokes with good information.

  • @radone168
    @radone168 3 ปีที่แล้ว

    I really love the style in which you cover topics. The animations, storytelling, and flow are all awesome. Would you please make a video on Snowflake? It is quite a rage these days.

  • @andrewwoan
    @andrewwoan 3 ปีที่แล้ว

    yoo these are crazy amazing tips

  • @oussamasethoum1665
    @oussamasethoum1665 3 ปีที่แล้ว

    Thank you very much, now I can understand the magic of website builders.

  • @oskargierszewski5768
    @oskargierszewski5768 3 ปีที่แล้ว +1

    My discovery of 2021 was "Emulate a focused page" in chrome devtools (you can get it from the [⌘]+[P] Command Menu, or Global Preferences). It's extremaly usefull when you try debugging an element that keeps disappearing when it loses focus once you start using devtools (in example dropdown list). Can't live without it since then

  • @diegovillafane6313
    @diegovillafane6313 ปีที่แล้ว

    I like a lot how, after a few videos and deep diving into fireship's world, you simply start callim him Jeff, like you would call a friend that you know for a time now, thanks Jeff, you are awesome!

  • @tosinakinyemi3948
    @tosinakinyemi3948 3 ปีที่แล้ว

    wow ..so much valuable information in this video, am amaze, you know so much man, you must be a guru. thanks man

  • @GuRuGeorge03
    @GuRuGeorge03 3 ปีที่แล้ว

    I am so glad to have good senior developers in my team that I learned most of these things from. The other tips they probably don't even know lol