Responsive Navbar HTML CSS, Responsive Navbar HTML CSS JavaScript

แชร์
ฝัง
  • เผยแพร่เมื่อ 8 ก.ค. 2024
  • 📂 Source Code Files...
    bit.ly/source-code-filez
    💬 Join Our WhatsApp Group...
    chat.whatsapp.com/J4P6V2QQkRa...
    ___________________
    Description...
    In this video, we will learn how to create a responsive navigation menu using HTML, CSS, and JavaScript. We will start by creating the basic structure of the navigation menu using HTML and styling it using CSS. Then, we will use JavaScript to make the menu responsive. We will use media queries in CSS to change the styling of the menu based on the screen size. JavaScript will also be used to add or remove elements from the menu or to toggle a mobile-style menu. By the end of the video, you will have a fully functional responsive navigation menu that looks great and is easy to use on all devices.
    ___________________
    Chapters...
    00:00 First Look! (Demo)
    01:01 Writing HTML Code
    02:12 Writing CSS Code
    09:34 Writing the script
    11:17 Final View
    ____________________
    Click here for more...
    / @evlearn
    ____________________
    Also Watch These...
    / @evlearn
    ____________________
    Tags...
    responsive navbar,
    responsive navbar html css,
    responsive navbar html css javascript,
    responsive navbar using html and css,
    responsive navbar html css in hindi,
    responsive navigation,
    responsive navigation bar with html css and javascript,
    responsive navigation bar with html and css,
    mobile-friendly navigation,
    mobile navigation menu,
    responsive menu design,
    responsive website navigation,
    navigation bar tutorial,
    navbar design tips,
    html css navigation menu,
    css dropdown menu tutorial,
    javascript menu tutorial,
    responsive menu animation,
    responsive menu design ideas,
    adaptive navigation bar
    Hash Tags...
    #responsive #navigation #menu #html #css #javascript

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

  • @danish-mushtaq
    @danish-mushtaq ปีที่แล้ว +20

    Best and easiest way.
    There are some tutorials on TH-cam that take hours to build the same navbar

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

    i was asking how to do something like this to every people in some communities, and no one explain like you! THANK YOU!!

  • @chh340
    @chh340 7 หลายเดือนก่อน +1

    excellent tutorial for anyone who wants a modern, clean, simple navigation bar! works exactly like it needs too!

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

    you didn´t say any word and I understand all, easy and rapid, some others tutorials take a while but this, is really helpful thanks!

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

    great tutorial! You could make the hamburger animated by adding this in the media query:
    .hamburger.active .line:nth-child(2){
    opacity: 0;
    }
    .hamburger.active .line:nth-child(1){
    transform: translateY(8px) rotate(-45deg);
    }
    .hamburger.active .line:nth-child(3){
    transform: translateY(-8px) rotate(45deg);
    }
    and this in the js in the hamburger fuction:
    hamburger = document.querySelector(".hamburger");
    hamburger.classList.toggle("active")
    and also if there isn't already one, a transition in the .hamburger .line

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

    Intente varias formas de solucionar este problema que tenia con JS ya que no podía hacer que el menú fuera visible y esta fue la solución, muchas gracias.

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

    Definitely subscribing! You are amazing!

  • @enesaliev
    @enesaliev 7 หลายเดือนก่อน +1

    Thanks bro this was one of the useful tutorials I have ever watched. And it's shorter and informative Thanks a lot!

  • @thatsawesome.
    @thatsawesome. หลายเดือนก่อน +1

    THE BEST! 👑 Huge respect & love for you from Nepal 💗

  • @ogunikitty
    @ogunikitty 6 หลายเดือนก่อน +1

    Thanks man. Leaves a lot of room for customisation.❤❤❤

  • @rabiekhalifa1103
    @rabiekhalifa1103 11 หลายเดือนก่อน

    Thank you 💗 simple and clean

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

    JazakAllah brother this helped me so much

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

    Thank you for spending your valuable knowledge .. Thanks

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

    Uzi ubwenge
    Brother kindly thank you I use my mothertongue to say that you're intelligent. I loved you tutorial.
    💯💯💯💯💯💯💯💯💯💯💯💯💥💥💥💥

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

    Nice tutorial and clean code🥰very helpful❤Thank you for sharing❤❤

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

    Hola muchas gracias por el aporte me sirvio muchisimo, perdon si no escribo en ingles, voy a guiarme de tu proyecto para mejorar el mio

  • @MustaphaElazzaouy
    @MustaphaElazzaouy 6 หลายเดือนก่อน +1

    modern clean & very nice nav bat

  • @user-oo7ox2fi1j
    @user-oo7ox2fi1j ปีที่แล้ว

    Thank you so much! You help me a lot😍😍

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

    Thanks for this video!

  • @user-zb6ct6qn2l
    @user-zb6ct6qn2l ปีที่แล้ว +4

    Great code. I have been using this as a template for all my navbars for a while now, I just got a macbook and noticed the css does not render the display: flex the same as it does on chrome on my linux or windows PCs. Does anyone have any advice on what I may be doing wrong?

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

    thank you so much for the help!

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

    Me sirvió durísimo gracias mano

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

    nice tutorial thanks a lot for your sharing

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

    Thanks, you help me learn

  • @KuraKurd96
    @KuraKurd96 4 หลายเดือนก่อน +1

    شكراااا لقد كان مفيدا جدا 🌹🌹🌹🌹🌹🌹🌹🌹

  • @sailendrachettri8521
    @sailendrachettri8521 5 หลายเดือนก่อน +2

    Exactly looking for the same. Thanks mate

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

    Nice work here 👍

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

    Good video man
    Thank you i give a like 👍

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

    amazing i like this navbar because use simple code

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

    Great tutorial!

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

    it was very useful thx

  • @eminkankilic
    @eminkankilic 12 วันที่ผ่านมา +1

    Teşekkür ederim siz mükemmelsiniz

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

    Thanks brother/sister!

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

    Thanks for the help! :)

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

    great bro keep it up love you.

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

    thank you very much, your tutorial is incredible!!!!

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

    Thank you❤

  • @user-jl4lz8ws2i
    @user-jl4lz8ws2i ปีที่แล้ว

    You’re the best ❤

  • @sibghatcodez-dt3li
    @sibghatcodez-dt3li ปีที่แล้ว

    Amazing dude!

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

    I wrote almost the same code you wrote., I made a slider from another tutorial video under the navbar. I have a problem like this: when I open the toggle navbar, the navbar stays above the content, that is, the slider, the content does not scroll down. I guess there is content under the navbar even when the toggle navbar is closed. The codes are also very confused and I don't know what to do.

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

    thank you very much

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

    great tutorial like Oscar said you didn't say anything and i understood everything. Thank you for sharing your knowledge :)

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

      Bro but when we add text in page navbar become transparent what should I do

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

    Thank you very much!!! Amazing navbar

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

      @@evlearn when clicking on an item the menu should close automatically, how would you do that?

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

      @@marcoantoniovalencia8694 It's simple just make it not active just like when you click again the menu thingy

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

    I was just wondering, how to get the nav bar longer ? because I have 12 stuff in the menu and it doesn't fit 😅

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

    hola buenas, una duda. después de hacer esto quería colocar un carousel debajo, al hacerlo todo bien.
    pero cuando se despliega el menú con las opciones, este se despliega debajo del caruosel y me gustaría que se despliegue pero por encima de este, algún consejo?

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

    how to move to script.js or external file??? please answer quickly

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

    thankyou fam!

  • @najmiaz-zahraferyputri653
    @najmiaz-zahraferyputri653 ปีที่แล้ว

    class active on nav didn/t appear when i clicked on it, so the slide down menu didn't show.. what's the problem..?

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

    Thanks lot

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

    if I use the published site from my phone, the media query unfortunately doesn't work. It only works if I narrow down the page from the web browser from my computer. How can I fix?
    Thank you

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

    Awesome Video

  • @Deus-lo-Vuilt
    @Deus-lo-Vuilt 2 ปีที่แล้ว

    Thanks video :D

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

    unable to get the slide down animation for this navbar

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

    Nice video, very clear i like it

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

    what's the red star in the css?

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

    gracias mi bro / thanks bro

  • @yud-le3lb
    @yud-le3lb หลายเดือนก่อน +1

    I don't understand that part, when I press the navbar it doesn't respond

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

    nice , i need help in this you know how put a hero.class backround image in my nav bar? yep Transparent

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

    Thanks a lot 🙏🙏 but when I add active class to navbar it toggles but doesn't work

    • @jacquesoprince
      @jacquesoprince 10 หลายเดือนก่อน

      Have you checked the z-index when you toggle on the nav-bar ?

  •  ปีที่แล้ว

    Nice

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

    Nice ❤

  • @everton097
    @everton097 11 หลายเดือนก่อน

    o repositório da descrição não leva para o mesmo projeto do vídeo

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

    Bro js is not working
    Whenever I click menubtn then in browser active classname showing but not show navlinks
    Please help i am try to solving last 3 days

  • @m.zaryabrasool1814
    @m.zaryabrasool1814 10 หลายเดือนก่อน

    great
    \

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

    The whole code worked fine for me but the javascript part is not running for. On clicking the hamburger, the dropdown menu is not appearing for me. Please solve my query!!!

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

      Declare hamburger and navBar as constant values i.e
      const hamburger = document.querySelector(".hamburger");
      hamburger.onclick = function(){
      const navBar = document.querySelector(".nav-bar");
      navBar.classList.toggle("active");
      }

  • @tibiebigarvin1701
    @tibiebigarvin1701 8 หลายเดือนก่อน +1

    I'm confused about the class with hamburger, and the div with a class line. There's nothing inside what's the purpose?

    • @evlearn
      @evlearn  8 หลายเดือนก่อน

      To create the menu icon

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

    look good but when you add source code then please mention in title

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

    To put the menu on the left, what code would I have to change?

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

      i think on the button thing you can add transform: translateX(-(whatever); to move the button to the left or if you are talking about the like size of the menu and want it to only show left and not the whole width of the screen you can make a div container and set its vw to like 20 or any number that is below 100 to make it not take the whole screen and change the nav menu width to like 100% or 50% of that container or you can just make the navbar width like 20vw and this would only take up only 20% of the screens width and you can use the transform: translateX(-) to make it go left or you can use the top: and left: methods to move it as well if this is what you are talking about

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

    unable to get the drop down animation!!!!!!!!!!!

  • @cheems2.022
    @cheems2.022 ปีที่แล้ว +2

    Plz help my humberger not showing

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

    drop down animation doesnt work.....

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

    Cool

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

    Bro but when navbar come down background text is visible from nav bar what should I do ?
    Plz help me 🥲

  • @kentor_otaku
    @kentor_otaku 9 หลายเดือนก่อน +1

    it cant not responsive 3 line Why Answer me

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

    Bro source code is for magic menu?
    Give source code for this

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

    While adding hamburger its not working

  • @Jazhina-nj6fy
    @Jazhina-nj6fy ปีที่แล้ว

    how do you put content on each navbar button???

    • @Jazhina-nj6fy
      @Jazhina-nj6fy ปีที่แล้ว

      @@evlearn for example you will click the "about" on navbar then a content will appear then on "home" button another will appear

    • @Jazhina-nj6fy
      @Jazhina-nj6fy ปีที่แล้ว

      @@evlearn ohh yeahh I remember on others template they have another html which they put together on a compressed file am I right? Omg can you guide me please? I really need it for our project 😭❤️

    • @Jazhina-nj6fy
      @Jazhina-nj6fy ปีที่แล้ว

      @@evlearn do you have the video uploaded with your source code? I wanna watch it if you have video

    • @Jazhina-nj6fy
      @Jazhina-nj6fy ปีที่แล้ว

      @@evlearn it's okay thank you very much❤️

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

    Can you give me the css source code because somethings don't work btw nice vid

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

    How to make a description appear when clicking About

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

    when i put the javascript code in it doesn't work, anyone know why?

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

      @@evlearn i was doing that but now the tabs aren’t showing up on the burger menu

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

      @@evlearn ok i joined and sent

  • @arpitjodhani
    @arpitjodhani 11 หลายเดือนก่อน

    Hii mera 3 bar mese scroll down nahi ho rha he

  • @gerleuchi
    @gerleuchi 10 หลายเดือนก่อน +1

    ??????

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

      div hamburger which has 3 line is the menu icon

  • @user-kd4wi9dk5p
    @user-kd4wi9dk5p ปีที่แล้ว

    Friend, I watched your video and copied it, but it didn't work, so can you look at my code and see where it's wrong?

    • @user-kd4wi9dk5p
      @user-kd4wi9dk5p ปีที่แล้ว

      I'm currently using the latest version, but I can't do drop-down animation

    • @user-kd4wi9dk5p
      @user-kd4wi9dk5p ปีที่แล้ว

      @@evlearn Oh thanks bro i solved it just now

    • @user-kd4wi9dk5p
      @user-kd4wi9dk5p ปีที่แล้ว

      and thank you always fot the good video

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

    source code is not opening bro

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

      bro it takes 10min to copy that cmon

  • @SunilKumar-wy7lc
    @SunilKumar-wy7lc ปีที่แล้ว

    3:03

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

    Hello! Do you have a chat group in Telegram?