Debugging CSS, no extensions required - Using your devtools

แชร์
ฝัง
  • เผยแพร่เมื่อ 23 ต.ค. 2024

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

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

    You are truly a treasure to the web dev community! I am learning CSS and this just blew my mind!

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

    I was literally thinking about the same topic today 😅 i didn’t realize till now how much more Firefox can give when it comes debugging, thanks a lot!

    • @HariHaran-ef7pr
      @HariHaran-ef7pr 2 ปีที่แล้ว

      I am also discussed with my team and here is the video about css overview 😬

  • @the-real-tridder
    @the-real-tridder 2 ปีที่แล้ว +2

    I came here for the learning, realised I already learneded all this stuff by myself, stayed because its awesome information, and commenting for the algorithms! Every web dev or aspiring web dev needs to know how easy it is to debug their css. Thanks again for making such useful content!

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

    I use all of these tools every day, but I learned a bunch of little tricks I've somehow overlooked over the years. Very informative, thanks for the great tips!

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

    Worth sticking around for the Firefox tips at the end.

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

    You can also adjust values in devtools by using arrow keys . So for example a style has px values you can click on it and increase or decrease . Handy when you want to see real-time what a value will do

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

      Even better is using scroll wheels instead of arrow keys. It can help a lot to quickly style something.

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

    If someone say CSS is frustrated i recommend your channel

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

    So much cool stuff! Thank you! I knew about the style tab years ago. I worked at a daily newspapersnd would "change" the home page on my machine and call my co-workers over in a panic just to see their reactions.

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

    In the dev tool, you can enable some features for better debugging CSS in the settings ( the gear icon on the top right of the dev tool). For example, in the preferences, scroll down a little bit to the section Elements, you can enable the "Show rulers on hover" feature to line up your elements without extension. Or, you can add some presets to your preferred responsive devices when debugging in responsive mode.

  • @clevermissfox
    @clevermissfox 9 หลายเดือนก่อน

    Chrome now has the greyed out align-self [this element is not a grid or flex child]. Just happened to see that exactly this morning when I thought I had grid on its parent. Very helpful. I ❤ dev tools! The animation tab is extremely extremely useful. As is the ability to mess with your timing functions! I had no clue there is a clip-path tool too? What else don’t I know that I don’t know??!

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

    Oh, wow, I didn't know these things even exist. Thank you for so many treasures in just one video! God bless you

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

    Firefox devtools seems amazing, thanks a lot!

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

    That FF tip at the end will be super useful; everything else I knew already.

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

    A few more useful details I didn't know yet.
    Thank you master Kevin.

  • @gmos.99
    @gmos.99 2 ปีที่แล้ว +2

    I mentioned on discord but I'll mention it here again, I was just watching this video and just by looking at your screen at 4:37 made me realize what was wrong with the responsive part of a project I was working on for a week! Thank you so much for that!!!

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

    Hey Kevin!
    Hope you find this. I did the free scrimba course you did for HTML and CSS. I then used what I learnt in my university assessment and got a High Distinction.
    Been a fan for a while 😃

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

    I don't remember if Kevin demoed it in another video already but... when editing a numerical value in the dev tools you can scroll the mouse wheel to increment and decrement. If you hold shift and scroll, it increases/decreases by 10's; alt and scroll for 0.1's

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

    thanks kev, i do use the dev tools everytime i am coding for some reason or another, but this video was great for reminding me to maybe us them before i have an issue and for testing, one thing i hate s making a change or two and after deciding it wasn't what i wanted, i wlil undo everything and for some reason things are out of whack, that's when the dev tools can be very handing if i can't find the error in the code myself, if you are using chatGPT, you need dev tools, don't know about anyone out there, but i don't think chatGPT could code a button without an error.

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

    Great inform for all developers

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

    Love your videos. Coding my first project right now in vscode and struggling with things not working when i think they should. I've been using chrome and am immediately switching to firefox!!

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

    I use both Chrome and Firefox's dev tools. I particularly like that Firefox shows JS event handlers; very helpful..

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

    Thank you so much for sharing this!!

  • @robin.journal
    @robin.journal 2 ปีที่แล้ว +2

    Thank you for another helpful video sir! I appreciate your efforts to bring us quality tutorials 😊

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

    Didn't know about the breakpoint visualisation option or the information box in Firefox. But I usually spend maybe 60 - 80 % in the DEV tool than in my editor when styling.
    Right now I'm even testing prototypes for my works live Shopify page, where I edit the HTML and enter my CSS to see how it integrates with Shopify's div and CSS hell 🤣🥰

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

    Thanks for the Firefox tip, Kevin.

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

    This is fabulous, thanks!

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

    Thanks Kevin! Your content Is always top notch, you are my main reference and inspiration! :)

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

    RESPECT, A helpful video, it saves alot of time while working with css. 😊

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

    Great video. Thanks for this.

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

    Thanks Kevin. I love you every day.

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

    Great video Kevin! You are helping me a lot to learn, thank you! I'm glad I found the grid and Flex stuff because I'm stuck doing a sticky scroll of a grid column and I can't find anything about it. Let's see if this helps me. Greetings

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

    Oh man. CSS is so incredibly frustrating and annoying for beginners. It seems like you are setting 15 different parameters to "center" and is still not centered. Debugging videos are greatly appreciated. I'm stuck with debugging all the time.

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

    Hi Kevin. Thanks for this awesome video. Would be helpful if u made a similar one for the css animations using dev tools

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

    You should do a video about the new dev feature, CSS Overview!

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

    Thank you so much!

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

    I clicked on this video but it was not what I was looking for. So… perhaps this is a suggestion for a future video.
    Today, I had page that I was working on. I’m very novice at CSS. And there was a “thing” (turns out it was padding) that was causing an icon to be moved over to the right. Where is it? Who is doing that? It took me “a long time” (seemed like) to figure out where that padding was coming from. And while it all seems “Dah!” obvious after you figure it out… it isn’t obvious before you figure it out.
    So… the suggestion for a video would be how do you figure out why your CSS isn’t doing what you expect it to do?
    What I ended up doing is getting into dev tools and turning things off until it finally jumped back left … but there’s gotta be a better way… I would hope.

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

    Your videos are amazing!

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

    Thanks Kevin for your valuable content. by the way which font are you using ? it looks awasome.

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

    The way I style nowadays is basically create html, load it in browser and then just style all of it right in browser. When I'm done, I just paste it all into css ;-)

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

    I would also be intrested in seeing you set up.

  • @15-gimenajohnbriann.40
    @15-gimenajohnbriann.40 2 ปีที่แล้ว +2

    I did not think of using browser as a debugger, thank you it really help me so much

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

    11:53 this is also added in Chrome, and it helps a lot

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

    KEVIN IS THE FRONTEND G O A T!!!!

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

    For some reason, Cmd+Shift+I doesn’t work on my Mac. Instead, I use Cmd+Option+C. It’s also a plus because the keys are so close together, and you don’t have to reach all over the keyboard to open “inspect element”

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

      try option + cmd + i

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

    Thanks a ton!! You're awesome as always.
    Can you do a short video on how to make a basic html css javascript website GDPR compliant? I made a website for a client in UK and have Google analytics tracking turned on. How do I apply a cookie consent system on the website?

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

    thank you bro thank you

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

    The subtitles finally got it right "front end friends". I think this is the first time lol

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

    Thanks Kevin for sharing this with everyone. All good except that you used few bad practices while presenting debugging.

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

    it work on my pc thx bro vеry much

  • @mohsinkhan-wv4fu
    @mohsinkhan-wv4fu 2 ปีที่แล้ว

    i am always use that for debugging css

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

    Hey,
    thanks for the video.
    (apart from video's topic) I am in a little bit of confusion in CSS
    CONFUSION : can we edit/modify the input box blinking cursor
    I want to change the input box cursor blinking animation style from blink to expand (like VS code)
    is this possible? if yes then please make a video or at least tell me how can I achieve this??,
    if not then why??

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

    Could you also make a video about animations tab?

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

    Hello Kevin, thanks for this video... I would to know if you know of any open source projects front end devs can contribute to

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

    OMG great shirt!

  • @prasannakumar-kf2pl
    @prasannakumar-kf2pl ปีที่แล้ว

    Hey Kevin, myself prasanna from India 🇮🇳 and i am a junior front end developer
    I have an doubt on Impleting fonts in our web pages. How I actually do is by using font face with font extensions like TTf, otf, woff, woff2 font files
    Is it right way to do? Or is there any something more effective than this way

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

    Good old days of Firebug... the web development was never the same after it.

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

    Thumbs up.

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

    ty master

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

    hi kevin. thank you very much for the video. quick question. how do you make devtools tab zoom in with 1 click? i can only find how to increase font size. thank you

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

      Click inside the dev tools, and then ctrl + or ctrl - zooms in and out (guessing it's cmd on a mac)

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

      @@KevinPowell thank you.

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

    Watching Kevin for years now but I finally realized it's "Hello my front end friends", not "Hello my friend and friends"

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

    I didn't think I knew all of this already, Great video like always

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

    I dont know if can compete with our 1px solid red.

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

    if we dont know color code of the certain part of website ,
    chrome devtools color picker , we can find any color code of the website ( without any extension download )

    • @gg-gn3re
      @gg-gn3re 2 ปีที่แล้ว +2

      firefox has this too, several years before chrome added it. And it's on by default. ff's dev tools are generally far better than chrome except in some niche cases

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

      @@gg-gn3re yeah man

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

    How can we see @print?
    I have dynamic page where print co tent changes based on selection, I wanted to see @print query results but could not find a way.

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

      Open the dev tools, then use `ctrl + shift + p` to open the command pallet, and type in "print" there, and it should show you an "emulate print" or something like that, that you can then enable. (would be cmd instead of ctrl on a mac)

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

    @7:46 Edge DevTools extension for VS Code has this cool thing where you can link the CSS changes back to the source and actually save them. th-cam.com/video/HRpG_LLx0fI/w-d-xo.html it's pretty slick.

  • @VinaySingh-jm8iw
    @VinaySingh-jm8iw 2 ปีที่แล้ว

    Can you debug the video title?

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

      haha, surprised you're the first to mention that! Thanks, fixing it now!

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

    Urgh. I dont think FireFox has quick grid/flex controls like chrome does lol. Would save me a lot of time X_X

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

    I'm your first 🥇 viewer today 😉👍

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

    @Kevin Powell, ( th-cam.com/video/ndeClnyHSo8/w-d-xo.html ) the three dots are called an ellipsis.

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

      Also known in the UI design world as a 'kebab icon'.

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

      @@PaulMcCannWebBuilder Haha. True! Hamburger and Kebab... mmmmm... food! 🤤

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

    I'm so early!

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

    I am😁 the first