Chrome Dev Tools Console Super Powers

Поделиться
HTML-код
  • Опубликовано: 10 янв 2025

Комментарии • 31

  • @FigueMonk
    @FigueMonk Месяц назад +5

    Stay hard Odins

  • @haibaidzokwomandre1468
    @haibaidzokwomandre1468 2 месяца назад +10

    Team The Odin Project here

  • @LearnedJohn
    @LearnedJohn 13 дней назад +4

    THE Odin Project

  • @bmehder
    @bmehder Год назад +7

    This is an invaluable series. Where was this 15 years ago? :-)
    A bonus tip I just discovered: You can switch the docking position of the dev tools with the keyboard shortcut Cmd + Shift + D on Mac or Ctl + Shift + D on Windows.

  • @PaulMcCannWebBuilder
    @PaulMcCannWebBuilder Год назад +3

    It sure sounded like your dog answered the 1 + 1 question correctly.

  • @RioTheHitman
    @RioTheHitman Год назад +1

    Great tips that table command looks very useful 👌🏾

  • @Gauss6174
    @Gauss6174 Год назад

    learned a lot, thank u. would love to learn more about the application tab in chrome devtools as well if u ever decide to do a more in depth video of what all the different options in that tab are for exactly like the application/storage/background services and the options in them like local and session storage, back/forward catche, and all the other ones that are important in ur experience. i'm sure a bunch of them are prob self-explanatory just from their name, but i've never messed with them before. either way, learned a lot, thanks

  • @debeerpaul
    @debeerpaul Год назад +1

    Awesome video. Love your dog in the back haha

  • @devstefancho
    @devstefancho Год назад +1

    great explanation, easy to understand thanks

  • @alpoochin8
    @alpoochin8 Месяц назад

    At 7:12 of the video, you highlight error,warn,info then comment // out all 3 at once, How did you do that? Great video as whole too! Very informative!

    • @SteveGriffith-Prof3ssorSt3v3
      @SteveGriffith-Prof3ssorSt3v3  12 дней назад

      In VS Code you can select multiple lines and then hit shift + / to comment out all the selected lines.

  • @Barrygen
    @Barrygen 2 дня назад

    Very informative, thank you!

  • @mgcmsn
    @mgcmsn Год назад +1

    The "Verbose" level is for 'console.debug()'

  • @schweremberger
    @schweremberger 5 месяцев назад

    Great video. It was quite helpful! Thanks, Steve.

  • @tomlaskar4226
    @tomlaskar4226 5 месяцев назад

    I have no internet on my PC. A lighting affected it. Only my phone I have. I am learning JS with Chrome console alone. This helps a lot.

  • @farhadcohan8867
    @farhadcohan8867 10 месяцев назад

    Steve this is awesome do you have any video about JS for beginners I love the way you explain I don’t get tired of of watching your video one question how do you get ride of undefined in console I know by holding shift key and return we won’t get is but it’s annoying thank you

    • @SteveGriffith-Prof3ssorSt3v3
      @SteveGriffith-Prof3ssorSt3v3  10 месяцев назад

      Which "undefined" are you talking about? Do you mean undefined appearing below a line of code that you type in the console? The console will and should always display the value that is returned from each line of code. For many lines that you will type, the return value will be undefined.

  • @AJSpeller
    @AJSpeller 6 месяцев назад +1

    lol Steve said "1+1" and the dogs barked 2 times

  • @axel.g4638
    @axel.g4638 2 месяца назад

    Hi! Great video and very informative! I just have one question. Does console.dir(data); actually convert the variable into the JSON equivalent or even a string at all? Doesn't it just display the JavaScript object itself in a structured and interactive format? Like, its still a JavaScript object , not a JSON string (property names must be in double quotes in JSON). I heard we use JSON.stringify to explicitly convert the object into a string for storage, transmission, or non-interactive display. Is that true? Thank you!

    • @SteveGriffith-Prof3ssorSt3v3
      @SteveGriffith-Prof3ssorSt3v3  Месяц назад

      console.dir stands for display interactive. It is intended to display the variable as an interactive object so you can see the properties and prototype. For many objects, this won't make a difference with .log
      It does make a difference with HTML elements. Like the two versions below.
      ```
      some content
      ```
      vs
      ```
      HTMLParagraphElement
      - id
      - title
      - etc
      ```
      To convert to JSON and transmit, we can only use arrays, objects, string, number, boolean, and nulls. HTML elements have no equivalent in JSON. You could take an HTML string and save it as part of a JSON file, but not an HTML object.

  • @ChocolateTaiyaki
    @ChocolateTaiyaki 4 месяца назад +1

    The Odin Project recommended your video for our foundation Javascript course. Is it normal if I don't understand a single thing you're saying? :(

    • @SteveGriffith-Prof3ssorSt3v3
      @SteveGriffith-Prof3ssorSt3v3  4 месяца назад +2

      @ChocolateTaiyaki it depends. If you have been learning JS for a couple years and you don't understand then I might worry. If you are new to JS then you might be missing some of the context.
      Many of these videos are things that I make for my own students. I point them to the appropriate videos when I know it is the right time.
      When learning development tools, sometimes you just start by being aware that the tools exists. Then you will remember when you come across a situation that requires the tool.

  • @uimonk
    @uimonk Год назад

    please make more such useful content. respect from India

  • @noonecares6816
    @noonecares6816 Год назад

    This maybe silly but how do you make a full page just the console it self.

    • @SteveGriffith-Prof3ssorSt3v3
      @SteveGriffith-Prof3ssorSt3v3  Год назад +1

      when you open the tools, if you are on the elements panel there can be a bottom segment that has tabs including Console. However, Console has its own tab that can be opened. You can close the lower panel to just show the elements or the console.
      Additionally, if you click on the 3 dot menu in the top bar there are options for "Dock side" which includes opening the console as a separate window.

    • @noonecares6816
      @noonecares6816 Год назад

      @@SteveGriffith-Prof3ssorSt3v3 Thanks

  • @246rs246
    @246rs246 Год назад

    very helpful like always

  • @the42project-c8h
    @the42project-c8h 2 месяца назад

    Good man

  • @shahinza
    @shahinza Год назад

    Thank you