Responsive Navbar HTML CSS, Responsive Navbar HTML CSS JavaScript

Поделиться
HTML-код
  • Опубликовано: 14 июн 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

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

  • @danish-mushtaq
    @danish-mushtaq Год назад +20

    Best and easiest way.
    There are some tutorials on RUclips 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 6 месяцев назад +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!

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

    Definitely subscribing! You are amazing!

  • @thatsawesome.
    @thatsawesome. 20 дней назад +1

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

  • @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

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

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

  • @ogunikitty
    @ogunikitty 5 месяцев назад +1

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

  • @juanmarquez5245
    @juanmarquez5245 11 месяцев назад

    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.

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

    Thank you 💗 simple and clean

  • @gihanchamila_abey
    @gihanchamila_abey Год назад +2

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

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

    JazakAllah brother this helped me so much

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

    Thank you for spending your valuable knowledge .. Thanks

  • @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?

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

    Good video man
    Thank you i give a like 👍

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

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

  • @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?

  • @user-oo7ox2fi1j
    @user-oo7ox2fi1j 11 месяцев назад

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

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

    nice tutorial thanks a lot for your sharing

  • @KuraKurd96
    @KuraKurd96 3 месяца назад +1

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

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

    Thanks for this video!

  • @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.

  • @sailendrachettri8521
    @sailendrachettri8521 4 месяца назад +2

    Exactly looking for the same. Thanks mate

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

    thank you so much for the help!

  • @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

  • @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..?

  • @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

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

    Thanks for the help! :)

  • @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

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

    great bro keep it up love you.

  • @freemancharles2491
    @freemancharles2491 2 года назад

    Nice work here 👍

  • @MustaphaElazzaouy
    @MustaphaElazzaouy 5 месяцев назад +1

    modern clean & very nice nav bat

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

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

  • @sebastianbocanegrabernal7463
    @sebastianbocanegrabernal7463 11 месяцев назад

    Me sirvió durísimo gracias mano

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

    Great tutorial!

  • @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 😅

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

    Thanks, you help me learn

  • @sibghatcodez-dt3li
    @sibghatcodez-dt3li Год назад

    Amazing dude!

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

    it was very useful thx

  • @user-jl4lz8ws2i
    @user-jl4lz8ws2i Год назад

    You’re the best ❤

  • @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

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

    amazing i like this navbar because use simple code

  • @KirillNadtochaev
    @KirillNadtochaev Месяц назад +1

    Thank you❤

  • @AndiOgie
    @AndiOgie 11 месяцев назад

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

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

    unable to get the slide down animation for this navbar

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

    Thanks brother/sister!

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

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

  • @yud-le3lb
    @yud-le3lb 23 дня назад +1

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

  • @Deus-lo-Vuilt
    @Deus-lo-Vuilt 2 года назад

    Thanks video :D

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

    thank you very much

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

    Awesome Video

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

    thankyou fam!

  • @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

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

    Thanks lot

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

    what's the red star in the css?

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

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

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

    Cool

  • @jaydeeppatil7936
    @jaydeeppatil7936 11 месяцев назад +2

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

    • @jacquesoprince
      @jacquesoprince 9 месяцев назад

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

  • @m.zaryabrasool1814
    @m.zaryabrasool1814 9 месяцев назад

    great
    \

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

    Nice video, very clear i like it

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

    Nice ❤

  • @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 3 месяца назад

      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");
      }

  •  Год назад

    Nice

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

    gracias mi bro / thanks bro

  • @tibiebigarvin1701
    @tibiebigarvin1701 7 месяцев назад +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  7 месяцев назад

      To create the menu icon

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

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

  • @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

  • @TECHwithVishal101
    @TECHwithVishal101 11 месяцев назад

    While adding hamburger its not working

  • @arpitjodhani
    @arpitjodhani 11 месяцев назад

    Hii mera 3 bar mese scroll down nahi ho rha he

  • @cheems2.022
    @cheems2.022 Год назад +2

    Plz help my humberger not showing

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

    drop down animation doesnt work.....

  • @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

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

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

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

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

  • @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

  • @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

  • @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

  • @SunilKumar-wy7lc
    @SunilKumar-wy7lc Год назад

    3:03

  • @gerleuchi
    @gerleuchi 9 месяцев назад +1

    ??????

    • @kasif11965
      @kasif11965 26 дней назад +2

      div hamburger which has 3 line is the menu icon

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

    source code is not opening bro

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

    Hello! Do you have a chat group in Telegram?