Building Tailwind CSS Navbars - Responsive Too!

Поділитися
Вставка
  • Опубліковано 9 лис 2024

КОМЕНТАРІ • 59

  • @freshhorizonswithjakub
    @freshhorizonswithjakub Рік тому +5

    You win the prize in category: 'Amazing explanation of CSS design and tailwind'. Seriously, the value here for someone who maybe know react and is technical but needs to catch up on CSS is immense. The thinking process between the lines you say loud is key to to learn fast. Most people doing these vides do not get it I think.

  • @mschwanitz
    @mschwanitz Рік тому +12

    Man this was super helpful. A lot of tutorials throw a mountain of stuff at you by cut/paste and “trust me bro, it works” approach. This helped me see the strategy of how to develop and the approach to using tailwind to position and style things. Easy sub!

  • @licokr
    @licokr Рік тому

    This is absolutely amazing. Not only learned Tailwind, strategies, how to design, why you weren't happy about some styles and how you dealth with them, all the way you coded I learned really a lot. Wow video, this has all benefits watching live coding. Thank you very much!

  • @BrettKromkamp
    @BrettKromkamp Рік тому

    Definitely one of the better (short) Tailwind tutorials on UA-cam. Thanks 🙏

  • @BrunoPulis
    @BrunoPulis Рік тому +2

    The use of the and elements are good practices in terms of accessibility.
    With them, screen reader users have feedback on how many elements of the same block exist and what they can do to interact.

  • @marysoil3209
    @marysoil3209 11 місяців тому

    This is my first time commenting on a UA-cam video tutorial because this is so goooddddd! I must watch your other tutorials and I can really say I will learn a lot from you. I've never imagined this to be so simple! You made it look so easy to do! Great JOB!

  • @senatrius1968
    @senatrius1968 Рік тому

    "Google does it so it's ok" is not a valid reason to ignore accessibility in 2023. If you're not going to use tags for nav links (although it is helpful, but not really necessary) then for the love of god, at least use tags for navigation, it's as basic as it gets. As someone who occasionally uses a screen reader, we shouldn't teach new developers to use tags for everything without a single thought behind it.
    Outside of that it's a good tutorial, better than most. A lot of tutorials just throw one thing after another at you with no explanation and all you know at the end is how to recreate the exact copy, not make something on your own. You actually take the time to go into detail and explain things really well. Great job.

  • @gamer_monk
    @gamer_monk Рік тому +2

    I was having a hard time with Tailwind CSS but this tutorial just shows me the scope of it.
    Great video

  • @ashwah
    @ashwah Рік тому +1

    Thanks for this excellent video! I'm a back-end developer, trying to decide on a front-end framework. Your video made me want to use Tailwind!

  • @Kirsehirli40able
    @Kirsehirli40able 2 роки тому +4

    Great video!
    I hope we can expect more videos about building Tailwind CSS components!

  • @danhodgins4015
    @danhodgins4015 Рік тому

    Excellent presentation on Tailwind classes relating to build a responsive nav bar. Thanks!

  • @DrinkingGin
    @DrinkingGin 2 роки тому +1

    the algorithm brought me here, really like your style and presentation man! Keep it up.

  • @jaitjacob
    @jaitjacob Рік тому

    neat explaination Chris! always good to strategize before diving into implementation. I will be using your approach often.

  • @jtunstopable
    @jtunstopable 11 місяців тому

    I've been avoiding making my own nav for forever since I used to have bootstrap do it for me but I've been trying to get a handle on tailwind. Thank you

  • @alishahmansouri9530
    @alishahmansouri9530 2 роки тому

    The best navBar tutorial I've EVER seen. Gj Bro.

  • @joshuacash2463
    @joshuacash2463 Рік тому

    Thank you so much for explaining the strategies I love your teaching style. Yes, please make a video on more robust production-friendly menus!

  • @lancen6805
    @lancen6805 Рік тому +1

    Very nice, succinct and easy to follow. Thank you! Just wondering if using tailwind allows us to use a strategy where we dont use a duplicate menu. To have the desktop menu items change on mobile as opposed to have two completely separate menus.

  • @AlThePal78
    @AlThePal78 Рік тому

    Awesome job, i would use section once before divs. Like section id is main nav n mobile nav

  • @shinebayar
    @shinebayar Рік тому

    Super quality content right there! Thanks.

  • @cristobalbenjamin196
    @cristobalbenjamin196 4 місяці тому

    OMG INCREIBLE, MUCHAS GRACIAS!!!

  • @aamirnasir1091
    @aamirnasir1091 6 місяців тому

    Great Video but I need one help. When the hamburger gets open I want it to replace with X (close) icon, Can you please tell me how to do it? When are you going to make other video for different navigation styles? more complex ones as well as which includes dropdown, social icons etc....

  • @Sinha.ritesh
    @Sinha.ritesh 10 місяців тому

    outstanding

  • @BillElgin
    @BillElgin 2 роки тому

    I like your style and I’ve subscribed to your channel.
    The only thing I don’t like about this video is you have two different navbars, one for full screen and one for mobile devices.
    I always try to avoid having duplicate information to avoid problems down the road.

    • @DigitalOcean
      @DigitalOcean  2 роки тому +1

      Smart approach, Bill!

    • @BillElgin
      @BillElgin 2 роки тому

      @@DigitalOcean It can turn into an issue if the navbar is big with a lot of links.
      I’m learning Tailwind and your video helped me move forward.

  • @randolphcarter8283
    @randolphcarter8283 Рік тому

    thanks, just newbie with TW and give me a the ideas to approach this and refactor my code, i was doing a lot of work with js to show the mobile menu, and with hidden and breakpoints is just easy

  • @Antebios
    @Antebios Рік тому

    Excellent tutorial!!!

  • @nicolaj-alexandermayer1754
    @nicolaj-alexandermayer1754 Рік тому

    Absolut great!!
    Could you tell me/us we can dispay some text under the logo-image too?

  • @agamurat3019
    @agamurat3019 Рік тому

    thank you

  • @gr1msasor14
    @gr1msasor14 Рік тому

    nice tutorial dude tnx!!!!!

  • @MarkConstable
    @MarkConstable Рік тому +2

    The Codepen link throws a 404. Is it possible to get the example somehow?

  • @ishimweanna7904
    @ishimweanna7904 8 місяців тому

    Helpful

  • @ramyakrohanmohanty9895
    @ramyakrohanmohanty9895 Рік тому +1

    the heck?
    so we still have to use JS for the hamburger menu thingy?
    bummer :(
    By the way, this was an amazing video!
    Even though I have been working in tailwind for the past 4 months, it was mostly just copy pasting codes
    Glad that you talked about the logic behind why you wrote those classes the way you did.

    • @QuranDemystifiedRD
      @QuranDemystifiedRD Рік тому

      can't we bypass the hamburger menu thingy from using javascript

  • @7073shea
    @7073shea 2 роки тому

    thank you man

  • @caioitalo3618
    @caioitalo3618 Рік тому

    This video helped me a LOT, very well explained, easy to understand your reasoning, perfect video :) :)

  • @sistana
    @sistana 2 роки тому

    Thanks, thanks

  • @appstuff6565
    @appstuff6565 Рік тому

    Hi there, this is first time i discovered your channel with this video and I instantly liked your style! However, I was side by side practicing in my VS Code on my project and till the part where CSS was bring used I was following (my css code is inside my xxx.js file in return() and it is working as is here) however introduction of js from @24:00 when I implement it crashes when i use it, gives a null error if i start with the js script with it, however if i start my server first and then use the js code it works! What am I missing?

    • @crystinecullen3031
      @crystinecullen3031 Рік тому

      document.addEventListener("DOMContentLoaded", () => {
      const btn = document.querySelector("button.mobile-menu-button");
      const menu = document.querySelector(".mobile-menu");
      btn.addEventListener("click", () => {
      menu.classList.toggle("hidden");
      });
      });
      This is what you need.

  • @xcr6436
    @xcr6436 2 роки тому

    THANKU SO MUCH

  • @microspacer
    @microspacer Рік тому

    Can you add accessibility?

  • @ogbillity
    @ogbillity Рік тому

    Thanks for the tutorial. Codepen link is broken.

  • @piyushkumardongre5873
    @piyushkumardongre5873 2 роки тому

    Liked it.

  • @arjunkhanal9163
    @arjunkhanal9163 2 роки тому

    Thanks❤🙏🙏 dude

  • @appstuff6565
    @appstuff6565 Рік тому

    from @24:00 how do I use it in my vs code, it gives me a a null error if i start my script with this js code in it, however if i implement it in an already started server, it works. What am I missing?

    • @appstuff6565
      @appstuff6565 Рік тому

      6 months later and still no response.

  • @NikolaDjordjevic-n4o
    @NikolaDjordjevic-n4o Рік тому

    source code?

  • @abhishekshukla8716
    @abhishekshukla8716 2 роки тому

    My digital ocean account is locked please help me regarding this

  • @abhishekshukla8716
    @abhishekshukla8716 2 роки тому

    My digital ocean account is locked please help me

  • @kacperkepinski4990
    @kacperkepinski4990 Рік тому

    u use so weird font that i even cant find what u typed

  • @BalkanLeaksArchive
    @BalkanLeaksArchive Рік тому

    iam backend developer and i hate to create UI

  • @arsnohachikoi1767
    @arsnohachikoi1767 Рік тому

    404 codepen T.T