Responsive Navigation Bar Tutorial | HTML CSS JAVASCRIPT

แชร์
ฝัง
  • เผยแพร่เมื่อ 28 ส.ค. 2018
  • Check out my courses and become more creative!
    developedbyed.com
    My take on making a responsive navigation bar in 2018 with media queries and a sprinkle of animations and javascript. In this tutorial we are going to learn media queries, keyframe animations, basic javascript toggling, building a burger menu and more!
    Microphones I Use
    Audio-Technica AT2020 - geni.us/Re78 (Amazon)
    Deity V-Mic D3 Pro - geni.us/y0HjQbz (Amazon)
    BEHRINGER Audio Interface - geni.us/AcbCpd9 (Amazon)
    Camera Gear
    Fujifilm X-T3 - geni.us/7IM1 (Amazon)
    Fujinon XF18-55mmF2.8-4 - geni.us/sztaN (Amazon)
    PC Specs
    Kingston SQ500S37/480G 480GB - geni.us/s7HWm (Amazon)
    Gigabyte GeForce RTX 2070 - geni.us/uRw71gN (Amazon)
    AMD Ryzen 7 2700X - geni.us/NaBSC (Amazon)
    Corsair Vengeance LPX 16GB - geni.us/JDqK1KK (Amazon)
    ASRock B450M PRO4 - geni.us/YAtI (Amazon)
    DeepCool ATX Mid Tower - geni.us/U8xJY (Amazon)
    Dell Ultrasharp U2718Q 27-Inch 4K - geni.us/kXHE (Amazon)
    Dell Ultra Sharp LED-Lit Monitor 25 2k - geni.us/bilekX (Amazon)
    Logitech G305 - geni.us/PIjyn (Amazon)
    Logitech MX Keys Advanced - geni.us/YBsCVX0 (Amazon)
    DISCLAIMERS:
    I am a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for us to earn fees by linking to Amazon.com and affiliated sites.
    ~-~~-~~~-~~-~
    Follow my Twitter:
    / deved94
    Please watch: "Should You Become A Software Engineer?"
    • Video
    ~-~~-~~~-~~-~
  • แนวปฏิบัติและการใช้ชีวิต

ความคิดเห็น • 2.5K

  • @MinhPham-eh6lr
    @MinhPham-eh6lr 3 ปีที่แล้ว +90

    The fact that he codes with one leg up in the chair is amazing

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

      I do that as well

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

      I do that as well

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

      I do that as well

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

      ❤️👉 th-cam.com/video/lmIwYLFYZ9U/w-d-xo.html 👈❤️.

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

      Thats what i was thinking 💀😂😂😂

  • @Danilo0717
    @Danilo0717 4 ปีที่แล้ว +394

    1. "Great personality
    2. You're a great teacher
    3. You got a new sub!"
    4. best dynamic!

    • @henningsieh
      @henningsieh 4 ปีที่แล้ว +4

      same here... since a week or so 😃 very cool dude with a massive ... ehm, coding speed, she said!! 🤓

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

      @@henningsieh that's what she said ;)

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

      copied

    • @valencefootball9740
      @valencefootball9740 3 ปีที่แล้ว

      ​@@user-fq9ct5iu3c ​ ⸻⸻⸻⸻⸻⸻⸻⸻⸻⸻⸻⸻⸻⸻⸻⸻⸻⸻⸻⸻⸻⸻⸻⸻⸻⸻⸻⸻⸻⸻⸻⸻⸻⸻⸻⸻⸻⸻⸻⸻⸻⸻⸻⸻⸻⸻⸻⸻⸻⸻

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

      Same

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

    I love the way you just winged this and fixed stuff on the fly. That teaches a lot. I followed along and broke so much cos I wasn't paying attention then had to fix that myself. Ultimately I was laughing so loud trying to do something so simple ... learnt a lot. And I think that is when stuff sticks. Brilliant.

  • @markmariscal5111
    @markmariscal5111 4 ปีที่แล้ว +52

    One of my favorite things about Ed is his relevance ...such as "what did I miss". I can not tell you how many times I have said this to myself as I was programming lol

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

    I love the fact you take us through your design thought process. debugging and all. interesting stuff

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

      th-cam.com/video/Iau47_Uefho/w-d-xo.html -- image sliding animation using html & css

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

      ❤️👉 th-cam.com/video/lmIwYLFYZ9U/w-d-xo.html 👈❤️.

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

    1. Love your personality
    2. You're a great teacher
    3. You got a new sub!

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

    Don't apologise for your videos being long. You are amazing! 🙏🏻

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

    I don't know how one hour passed so easily. You are fun to watch and great to learn. Thanks. After watching this video now I am feeling confident to create a navbar on my own.

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

    I'm glad to know that I'm not the only one that keeps forgetting how to remove those odious bullet points

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

      ❤️👉 th-cam.com/video/lmIwYLFYZ9U/w-d-xo.html 👈❤️.

  •  4 ปีที่แล้ว +3

    Dude, this is excellent! Especially since I'm just getting started in the world of the Front End. You have an extraordinary way of teaching, with a very clear didactics. Thank you!

  • @NealHartsChannel
    @NealHartsChannel 3 ปีที่แล้ว

    Love listening to you talk out loud so we can hear your thought process! Turned out really nice! Thank you

  • @HarshYadav-cj3yu
    @HarshYadav-cj3yu 4 ปีที่แล้ว +3

    You know why i am Watching you,
    what makes you stand out of all is:
    After Watching your videos I learn something, and be actually able to do it on my own.

  • @wastedart1794
    @wastedart1794 4 ปีที่แล้ว +14

    Thx for this tutorial, had forgotten all about CSS animations, thx you for restarting my interest for CSS :)

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

      th-cam.com/video/Iau47_Uefho/w-d-xo.html -- image sliding animation using html & css

  • @rh-gp5yy
    @rh-gp5yy 3 ปีที่แล้ว +4

    This is the best responsive navbar from scratch tutorial so far! I've always been only knowing the bootstrap style for responsive navbar. However, I fell in love with this one. Thank you very much .

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

      ❤️👉 th-cam.com/video/lmIwYLFYZ9U/w-d-xo.html 👈❤️.

  • @kidbrave_7673
    @kidbrave_7673 3 ปีที่แล้ว

    Yet another AMAZING video!. Thank you brotha for putting out awesome content that's relevant to current websites with nowadays features your one of the only TH-camr devs out here creating content that's a much need skill to know on the job and in general for software engineers!.

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

    Man have you try laughing and typing at the same time, man I'm having so much fun coding. Thank you!!

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

    That was dope it was pretty good because you explained your thinking behind a lot of what you were coding thank you!

    • @ayanarko8890
      @ayanarko8890 3 ปีที่แล้ว

      th-cam.com/video/Iau47_Uefho/w-d-xo.html -- image sliding animation using html & css

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

    I think I learned more in this 35-minute video than I did from hours and hours of tutorials online.

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

    I struggle with navigation bars a lot Ed. Thank you for posting this (even though it was awhile back) Just found your channel today and I am looking foward to watching all of it!

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

      ❤️👉 th-cam.com/video/lmIwYLFYZ9U/w-d-xo.html 👈❤️.

  • @nicksparks3543
    @nicksparks3543 4 ปีที่แล้ว

    Thanks sooo much Dev Ed, a brilliant tutorial, you show the way you work out these problems which is so useful and makes it soo much more fun. :) lovely person on the internet!

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

    When you made this type of projects then please save them in one playlist. You are great bro

    • @ayanarko8890
      @ayanarko8890 3 ปีที่แล้ว

      th-cam.com/video/Iau47_Uefho/w-d-xo.html -- image sliding animation using html & css

    • @ayanarko8890
      @ayanarko8890 3 ปีที่แล้ว

      th-cam.com/video/Iau47_Uefho/w-d-xo.html -- image sliding animation using html & css

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

    "I actually thought that was too big, that's what she says". You're ridiculously funny😄, I love your content!

  • @godnyx117
    @godnyx117 3 ปีที่แล้ว

    Thanks a lot for this video man! Those are the videos that truly teach you HTML-CSS-JS in action!

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

    This helped me Alot. I was stressing out on an error. just a line of code from this video fixed that error. Im so thankful to you

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

    Its really fun to learn with you , (your reactions)its how I also used to do while coding !!! Keep it up, we need the teachers like you. Thankyou so much: and ya! I am your new SUBSCRIBER.

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

    Amazing video! thank you for the help, keep up the good work :)

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

    dude you've got such a vibe, which i loved it, thank you so much!!

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

    Amazing!! That tip you shared about how to set up the divs in the nav is PRICELESS!!!

  • @etsy96
    @etsy96 4 ปีที่แล้ว +66

    the fact that he always have a "that's what she said" line, makes it a hundred times better

    • @ayanarko8890
      @ayanarko8890 3 ปีที่แล้ว

      th-cam.com/video/Iau47_Uefho/w-d-xo.html -- image sliding animation using html & css

    • @codigodesenior3995
      @codigodesenior3995 3 ปีที่แล้ว

      @@ayanarko8890 wtf random video

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

    THANK YOU for making a comprehensive, free tutorial for this :) This was actually better explanation than some of the udemy tutorials I've seen

    • @ayanarko8890
      @ayanarko8890 3 ปีที่แล้ว

      th-cam.com/video/Iau47_Uefho/w-d-xo.html -- image sliding animation using html & css

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

      ❤️👉 th-cam.com/video/lmIwYLFYZ9U/w-d-xo.html 👈❤️.

  • @anwarulbashirshuaib5673
    @anwarulbashirshuaib5673 3 ปีที่แล้ว

    This man is so charismatic! You earned a sub on my first view!

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

    Thanks for the tutorial. I actually really appreciated seeing how you troubleshoot when things don't work as expected. I learned a lot about how I can do that for my own projects through this! :) Great teacher, please keep making videos like these!!!!

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

    Hi Dev Ed. Great tutorial! As a little tip. If you set {min-width: 30%}; and add a margin to each list item of 10px, that sorts out the issue with the spacing of nav links from laptop to tablet viewport width which you experienced at minute 14:00.
    Thanks again!

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

    my js is the same as yours.. but it wont slide out..

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

    Loving this tutorial ❤️ awesome explanation and debugging

  • @YUNG616BEATS
    @YUNG616BEATS 3 ปีที่แล้ว

    I love the excitement and confidence in your face! Thank you for this :D

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

      ❤️👉 th-cam.com/video/lmIwYLFYZ9U/w-d-xo.html 👈❤️.

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

    HHHHHHHHHHHH im actually learning and laughing in the same time , thank UUUU dude

    • @ghostjacob8848
      @ghostjacob8848 3 ปีที่แล้ว

      @Ashfaq Ashraf you dont have any videos

  • @murtazahussain6301
    @murtazahussain6301 4 ปีที่แล้ว +384

    IF ANYONE HAS THE PROBLEM THAT LINKS DON'T APPEAR WHEN THE RESPONSIVE NAVIGATION IS EXPANDED!
    instead of => '
    Use this sign => `
    in the command link.style.animation = `navLinkFade 0.5s ease forwards ${index/5+0.5}s`;
    This sign is present below the escape button on your keyboard.

    • @attractiveguy6495
      @attractiveguy6495 4 ปีที่แล้ว +8

      OMG thax

    • @adrianvalencia3210
      @adrianvalencia3210 4 ปีที่แล้ว +24

      I don't normally reply here on TH-cam, but I watched this tutorial in its entirety and had this issue, I was not able to fix it until I changed my single quotes to the grave marks. Thank you so much for the hotfix! I appreciate it greatly.

    • @paulinarybak8649
      @paulinarybak8649 4 ปีที่แล้ว +4

      You just saved me! Thanks

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

      Dude you are the man :D but as im new on the javascript and just begining to learn it, can you tell me whtas the differents => " => ' => ` . why it didn't work with " and ' ?

    • @murtazahussain6301
      @murtazahussain6301 4 ปีที่แล้ว +8

      @@martinperens I think it takes ' ' as a string and ` ` as a script

  • @kevinmc5249
    @kevinmc5249 3 ปีที่แล้ว

    Awesome job, thanks so much. Watching you do this and doing it with you really helps me understand. Keep it up bro!

  • @buddhistff2435
    @buddhistff2435 3 ปีที่แล้ว

    I love your teaching coding and debugging style.
    You are one of the good teachers I have ever seen as a youtuber
    Thanks for your kind and helpful video.
    I'll keep watching your every videos.

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

    this guy has a great vibe (lowkey crushing on him ;p) btw thnks for such a great video its just what i needed

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

    Thank you so much for this tutorial!
    I like the fact that it looks so clean and is scalable with the number of links. So easy to integrate in a website!
    I even included dropdown submenus with ease.
    Also don't worry about the video length, we can watch it in x1.5 speed ;)

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

      ❤️👉 th-cam.com/video/lmIwYLFYZ9U/w-d-xo.html 👈❤️.

  • @anag2125
    @anag2125 4 ปีที่แล้ว

    Thank you so much!! This tutorial helped me a lot. Had to make a few changes cause I'm using React I guess some things didn't work cause of that, but I was able to work on a great Nav component thanks to you! :D

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

    I learned A LOT! Wow what a great tutorial. I subscribed. Thank you. Looking forward to watching more from you!

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

    please make big tutorial like creating form login, register, and email activating membership. big thank sir.

  • @javaprogrammer-org
    @javaprogrammer-org ปีที่แล้ว

    I Loved this stuff, Please keep on giving more stuff like this.

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

    Finally someone with the same thinking process I have. Thanks ED! You awesome bro!

  • @yournewfarther
    @yournewfarther 4 ปีที่แล้ว +53

    for anyone stuck at 27:10
    link.style.animation = `navLinkFade 0.5s ease forwards ${index /7}s`;
    console.log(index / 5 + 0.2);
    don't use a comma use the sign close to the "1" on your keyboard

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

      thanks.....stucked at it for too long..xd

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

      its called the legendary `BACKTICKS`.

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

      we usually call that ' tilde ' key

    • @pradnyabhukan5891
      @pradnyabhukan5891 4 ปีที่แล้ว

      dude, thank you so much!!

    • @kaz_key
      @kaz_key 3 ปีที่แล้ว

      thanks! I didn't notice at all !!

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

    Great Work as always Edd, I am backend developer currently tutorial my way to front-end dev. for those who are actually trying in on their mobile phone and have extra space on the right side just add minimum-scale=1 on your meta after initial-scale=1, it will remove the visible hidden nav links on the right. cheers

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

      You sir are a legend!
      Thanks :)

    • @dinucarcusov7289
      @dinucarcusov7289 4 ปีที่แล้ว

      Man, thanks.

    • @lato_o
      @lato_o 3 ปีที่แล้ว

    • @fahanyc3638
      @fahanyc3638 3 ปีที่แล้ว

      Achmad, thanks a lot! I knew I would find the answer here. You are the best!

    • @angelordonez2959
      @angelordonez2959 3 ปีที่แล้ว

      I LOVE YOU!

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

    Really helped me with my school project! I have to make my own full website in about 2 weeks. So glad this tutorial is so good!

    • @ayanarko8890
      @ayanarko8890 3 ปีที่แล้ว

      th-cam.com/video/Iau47_Uefho/w-d-xo.html -- image sliding animation using html & css
      th-cam.com/video/JtS6N_z233A/w-d-xo.html -- sliding effect
      th-cam.com/video/CFAmhyEB1Jw/w-d-xo.html -- image animation

  • @aleksandrajaworska3087
    @aleksandrajaworska3087 3 ปีที่แล้ว

    enjoyed this tutorial so much! great work!

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

    This will serve me so good. Thank you.
    - I noticed a typo in paddding, but still everything worked fine haha
    - Also, when you shrink the window to make it responsive, I can see the bar closing in automatically the first time I do this. I haven't been able to figure out how to fix it yet

    • @theXtroyer1221
      @theXtroyer1221 5 ปีที่แล้ว

      me too i have the 2nd problem you said

    • @var1541
      @var1541 5 ปีที่แล้ว

      I have the same problem, I can see the menu closing.

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

      ​@@theXtroyer1221 I've got the fix for it: under the media queries add display: none; to .nav-links and then add display: flex; to .nav-active;

    • @theXtroyer1221
      @theXtroyer1221 5 ปีที่แล้ว

      @@var1541 oh ok gonna try it

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

      @@theXtroyer1221 nvm it removes the slide transition completely, a temporary fix is to ignore above things and just remove the transition property of nav-links, this keeps the opening transition but it closes abruptly.

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

    Hey Dev Ed, thanks for dropping this video, it's always inspiring to watch these video's and your enthusiasm is contagious. When implementing the code you wrote for adding a togglemenu, there's a ghost menu when I reduce the size of my window to where the burger pops up. It show's the nav-links for a split second and then slides away again. How do you prevent this from occurring?

  • @jbg4k179
    @jbg4k179 3 ปีที่แล้ว

    I just LOVE YOUR VIDEOS MAN!

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

    Thank you! Exactly what I was looking for, and then some!

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

    Thanks for this! Helped me a lot. Now I just have to make it work in React. XD

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

    Feel free to leave any questions and suggestions :)

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

      can u maybe zoom in on the code next time?

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

      for sure!

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

      Dev Ed Can you please share your code to play with? Big thanks. :)

    • @nesnes6689
      @nesnes6689 5 ปีที่แล้ว

      can you show me how to create dinamic page website thanks dev. :D

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

      Hi, the (transition: transform 0.5s ease-in;) will cause the nav-links to ease-out if you play with the width of the browser (media)

  • @saren79able
    @saren79able 3 ปีที่แล้ว

    My dear. I'm very glad you're accurately explaining it. I do not hear and yet I understand all of you. Thank you very much. Hope you can continue learning.

  • @chris33de
    @chris33de 3 ปีที่แล้ว

    Hey Ed, thank you so much for this tutorial. It was very helpful. Keep the good working.

  • @quietlab.5727
    @quietlab.5727 4 ปีที่แล้ว +7

    Thanks a lot! *How to make the menu closing when i click or tap the outside of menu?*

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

      You just need to add a new listener to *body* and do repeat the code. See the big line?
      Small tips:
      You can also make it close every time you press the 'Esc' on your keyboard! (cool isn't it?) Search for keyup and also add the listener.
      I hope this help you a bit and good luck for the challenge!!

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

    I can't do de delay at the end it just doesn't work for me?

  • @jeico627
    @jeico627 3 ปีที่แล้ว

    Grandeeeeee el mejor,
    i really enjoy your tutorials, greetings from Colombia

  • @danielahermosillo8991
    @danielahermosillo8991 3 ปีที่แล้ว

    This an amazing tutorial, super helpful! Thank you, you saved me!

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

    Apparently everything else works but my @keyframes. It seems the for and to commands are not recognized :(

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

      same problem here. So annoying to NOT see the links fading in :((

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

    "its too big, thats what she said" - that made me laugh XD

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

      I reversed the video to double check I wasnt tripping... that made my day! Lmao💜

    • @ahmedrobi6507
      @ahmedrobi6507 4 ปีที่แล้ว +9

      great jokes for 10 year olds

    • @tang3151
      @tang3151 4 ปีที่แล้ว +7

      @@ahmedrobi6507 hahahaha eDgY

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

      @@ahmedrobi6507 you doggggggggggggg shit

    • @shahriarsharar8363
      @shahriarsharar8363 3 ปีที่แล้ว

      Sir please find me the nav-link class he declared

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

    look at him man, he is loving what he is doing

  • @saishparadkar7529
    @saishparadkar7529 3 ปีที่แล้ว

    It was a long video but it was worth watching and too informative. Thank you for helping out to make a responsive navbar!!

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

    I follow every steps you done but it seems I got some problems. sliding bar is working but the nav-links isn't showing up but If I remove the opacity in nav-links li it show up but no animation

    • @soniauduma1640
      @soniauduma1640 3 ปีที่แล้ว

      same thing happens with mine

  • @nassimnaouli9720
    @nassimnaouli9720 4 ปีที่แล้ว +65

    Time stamps:
    1:24 - HTML
    2:57 - CSS
    19:55 - JavaScript

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

    Solid start to a great page! Thanks for posting this Ed. Probably going to use this Navigation bar for some small businesses in my area.

  • @EdGeinSonOfSam
    @EdGeinSonOfSam 3 ปีที่แล้ว

    dude you're my hero. thank you so much for what you do

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

    I click LIKE whenever I hear him make an inside joke in the video.😂

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

    Can you explain me, Why I do inspect on web browser, and go to device tool bars and the body overflow-x: hidden; doesn't work :(

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

    great video. I'm new to programming but your video is one of the best so far. in simplicity really helps.

  • @pdqbpunuvnun3519
    @pdqbpunuvnun3519 3 ปีที่แล้ว

    3 years later, your video helped me a loooooot. thank you so much!!!

  • @PMTFILMS
    @PMTFILMS 4 ปีที่แล้ว +4

    Hello! I followed your method and was able to create a good looking navigation bar but what i noticed is that the burger function would not work on my other pages. but the normal navigation bar works.

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

      Please help!!!!!!

  • @ely8478
    @ely8478 4 ปีที่แล้ว +4

    I tried to remove the toggle menu when clicking on a link, but when i try to re-open the menu, the links doesn’t appear. (i tried to re-add the class nav-active but still doesn’t work)

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

      same

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

    this guy is just chilling and making the vid, but he is really good. Loved your teaching
    Note - You earned a subscriber

  • @flaviolonzi8684
    @flaviolonzi8684 3 ปีที่แล้ว

    Incredible, very fasted. Good Job man !!!

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

    If you copied the code exactly and are wondering why when you click the burger nothing happens, make sure you linked the javascript in the body of the html and not the head.

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

      Where can i get the codes because i followed the video but am not getting the view and output he gets.

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

      tnx brooo

  • @PoivronProd
    @PoivronProd 4 ปีที่แล้ว +7

    Many thanks for this tut. Really helpful for beginner as I am !
    Just a question (as we don't have content in your example, this doesn't occur): if you're in the width mobile view case actually you make the scroll disable in order to keep nav burger menu onscreen and not going away (overflow:hidden). This makes the content unable to be scrolled as well. Do you have a solution to disable scroll ony when menu appears ? Anyway, thanks for those cool tips :) Cheers!

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

      Did you ever find a soulution for this? I'm having this exact issue right now!

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

      i found the solution changing the meta data in the html file
      using this code

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

      @@Davidebrocc98 gonna try that, thanks !

  • @danarnold4210
    @danarnold4210 4 ปีที่แล้ว

    Thank you so much! It is nice that we get to see what possible errors we might make so that we can keep an eye in the future

    • @ayanarko8890
      @ayanarko8890 3 ปีที่แล้ว

      th-cam.com/video/Iau47_Uefho/w-d-xo.html -- image sliding animation using html & css
      th-cam.com/video/JtS6N_z233A/w-d-xo.html -- sliding effect
      th-cam.com/video/CFAmhyEB1Jw/w-d-xo.html -- image animation

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

    this video was great - really helped me a great deal :) thank you sir, you've got my sub

    • @ayanarko8890
      @ayanarko8890 3 ปีที่แล้ว

      th-cam.com/video/Iau47_Uefho/w-d-xo.html -- image sliding animation using html & css

  • @Geel-Doon
    @Geel-Doon 5 ปีที่แล้ว +11

    Dev Ed thanks bro, the best turtorial ever👌👌!!!!
    but it would be far better if you share the code files with us please .

  • @imaby.k
    @imaby.k 4 ปีที่แล้ว +4

    it doesnt work, when we open it in mobile view, through inspect in chrome it show the web view only.....then i changed the media screen size to 1080px then also it wasn't displayed properly....please help

    • @scottclemens7966
      @scottclemens7966 3 ปีที่แล้ว

      copy this into the section of your html doc.

  • @jamesosborne4887
    @jamesosborne4887 3 ปีที่แล้ว

    Excellent tutorial, can finally build a fully responsive navbar :D

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

    This helped so much for me as I am only a beginner. I tried so many other videos and they all didn't work. Great tutorial, keep up the good work.

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

    no sadly not "const navLinks = document.querySelectorAll('.nav-links li');" give me no links in the sidebar - the function is working fine - all is good except no visible links in the sidebar

    • @ckm5528
      @ckm5528 3 ปีที่แล้ว

      i think im having the same issue i cannot see my 'a' links after finishing the JS portion in the video

    • @Noob_OPBR95
      @Noob_OPBR95 3 ปีที่แล้ว

      Me too!!

    • @Eenfout
      @Eenfout 3 ปีที่แล้ว

      Saw one comment who solved the issue for me. In JS go to the following line:
      link.style.animation = `navLinkFade 0.5s ease forwards ${index / 7 + 1.5}s`;
      Put a ` at the end instead of a '

  • @absolution8637
    @absolution8637 4 ปีที่แล้ว +9

    Pls why I'm i having trouble getting the burger transition the list item
    Whenever I click nothing happens

    • @christianlarsen1679
      @christianlarsen1679 4 ปีที่แล้ว

      Put .nav-active inside your @media query

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

      Christian Larsen thanks mate... I did fix it already, kind of tricky when I did.... My browser wasn't recognizing 0 as opacity value so I appended "px" at the end and made some corrections to my js file

    • @prshendra
      @prshendra 4 ปีที่แล้ว

      @@absolution8637 btw, opacity does not use length unit. So the value is between 0-1.

    • @raghadalqobali3590
      @raghadalqobali3590 4 ปีที่แล้ว

      please can you tell me how did you fix your js file cause I have the same problem!

  • @sewingwithcope
    @sewingwithcope 3 ปีที่แล้ว

    Really loved the tutorial. I used it to create a navbar on my personal website. Everyone thinks the mobile navigation is amazing.

  • @subhasrini2706
    @subhasrini2706 3 ปีที่แล้ว

    ty for this awesome TUOTORIAL Hope you many of this all time

  • @luuk2406
    @luuk2406 4 ปีที่แล้ว +9

    It just doesnt work for me and im sure i got the same excact thing can some one please help

    • @krust_
      @krust_ 3 ปีที่แล้ว

      don't know if you still wan to know but for me the problem was that I linked the javascript in the head part of the html instead of the body.

    • @luuk2406
      @luuk2406 3 ปีที่แล้ว

      @@krust_ i had the same problem buts i already fixed it a year ago 🤣❤🙌🙌🙌🤦‍♀️️🤦‍♀️🤦‍♀️🐱‍🏍🐱‍🏍🐱‍🏍🏍🏍🏍♀️

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

    overflow-x: hidden not working on Chrome, do you have any idea how to fix this?

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

      html, body {
      overflow-x: hidden;
      }

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

      same.
      it tried html,body and that hasn't worked either

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

      Same problem, does anyone have a solution to fix this?

    • @Richard-us3fn
      @Richard-us3fn 4 ปีที่แล้ว +7

      When I added
      html {
      overflow-x: hidden;
      }
      body {
      overflow-x: hidden;
      }
      then it worked in chrome

    • @DanHoltkamp
      @DanHoltkamp 4 ปีที่แล้ว +17

      It works on the desktop browse but not the mobile browser. On the mobile I can scroll over to the right and see a blank box with the background color. Still looking for a solution.

  • @rhodyasomani6099
    @rhodyasomani6099 3 ปีที่แล้ว

    Hands down the most comprehensive tutorial for a responsive nav bar. 5 stars

  • @goldenekpendu
    @goldenekpendu 3 ปีที่แล้ว

    You are the best Ted. Thanks a lot for this tutorial

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

    Well if anyone else had the problem that when you switch from desktop size to screen size the menu would fade out like you closed it (seen: @34:40), move "transition: transform 0.5s ease-in-out;" to .navlinks-active.
    Great video thank you

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

      This kind of works but then the transition is taken away when you close it. Anyone have a fix for this?

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

      css-tricks.com/stop-animations-during-window-resizing/

  • @wussonchan
    @wussonchan 4 ปีที่แล้ว +14

    Hey Ed! I love your tutorials! I have a problem though, at the start of the JS the nav doesn't slide out. Does anyone else have the same problem? How did you fix it?

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

      Pierce Russon have it too...

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

      @@mary0180 i had the same problem but i just removed the dot before the nav-active class - nav.classList.toggle('nav-active');

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

      Eugene Paul Cabauatan thanks, i‘ve added .nav-links.nav-active { transform: translateX(0%);} at the end and now it shows

    • @luisrocha2762
      @luisrocha2762 4 ปีที่แล้ว

      @@mary0180 where you add?

    • @mary0180
      @mary0180 4 ปีที่แล้ว

      Luis Rocha before .nav-active

  • @tan4676
    @tan4676 3 ปีที่แล้ว

    This is the most useful video on how to create a nav bar i have come across! Thank you so much for sharing :-) it's really helping me to understand how to make a responsive webpage step by step :-)

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

    Great video Ed!
    For anyone who's having problem with "overflow-x: hidden" not working properly on Safari try this:
    html, body {
    overflow-x: hidden;
    position: relative;
    }

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

      thank you so much it worked for me

    • @GH-pu3xc
      @GH-pu3xc ปีที่แล้ว

      About 30 minutes wasted before i thought to search 'overflow-x' in the comments! 🤣

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

    The code looks so neat! I love it ; )