Responsive Navigation Bar Tutorial | HTML CSS JAVASCRIPT

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

КОМЕНТАРІ • 2,5 тис.

  • @MinhPham-eh6lr
    @MinhPham-eh6lr 3 роки тому +91

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

    • @pythoncenter6148
      @pythoncenter6148 3 роки тому +2

      I do that as well

    • @kantuo
      @kantuo 3 роки тому +2

      I do that as well

    • @ptoato1205
      @ptoato1205 3 роки тому +2

      I do that as well

    • @GamingTSH
      @GamingTSH 3 роки тому

      ❤️👉 ua-cam.com/video/lmIwYLFYZ9U/v-deo.html 👈❤️.

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

      Thats what i was thinking 💀😂😂😂

  • @Danilo0717
    @Danilo0717 5 років тому +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

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

  • @rorycantellow2973
    @rorycantellow2973 4 роки тому +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.

  • @federicoraulmaciasaparicio1339
    @federicoraulmaciasaparicio1339 4 роки тому +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 3 роки тому

      ❤️👉 ua-cam.com/video/lmIwYLFYZ9U/v-deo.html 👈❤️.

  • @boblitex
    @boblitex 5 років тому +63

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

    • @ayanarko8890
      @ayanarko8890 4 роки тому +1

      ua-cam.com/video/Iau47_Uefho/v-deo.html -- image sliding animation using html & css

    • @GamingTSH
      @GamingTSH 3 роки тому

      ❤️👉 ua-cam.com/video/lmIwYLFYZ9U/v-deo.html 👈❤️.

  • @bigdaddy2620
    @bigdaddy2620 5 років тому +33

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

  • @etsy96
    @etsy96 5 років тому +66

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

    • @ayanarko8890
      @ayanarko8890 4 роки тому

      ua-cam.com/video/Iau47_Uefho/v-deo.html -- image sliding animation using html & css

    • @codigodesenior3995
      @codigodesenior3995 3 роки тому

      @@ayanarko8890 wtf random video

  • @weldakota5821
    @weldakota5821 4 роки тому +10

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

  • @yournewfarther
    @yournewfarther 5 років тому +54

    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

  • @Lindeberg91
    @Lindeberg91 4 роки тому +8

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

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

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

  • @saurabhmah84
    @saurabhmah84 4 роки тому +1

    For all those who navLinkFade animation is not working, i.e. links are not visible after the burger opens and animation is not working or opacity value is still 0 after the burger open; please see below code change in CSS that needed to be made.
    1. Under "@media screen and (max-width: 768px)", you need to add animation element in ".navlinks li" section.
    .nav-links li{
    opacity: 0;
    animation: navLinkFade 5s infinite;
    }
    And voila! Your animation should work just fine :)
    Lot of Thanks @Dev Ed for doing this video. Taught me lot of new things. Keep up the good work bro.

    • @ianxven
      @ianxven 4 роки тому

      my code still not working, the opacity still 0, what should i do?

  • @murtazahussain6301
    @murtazahussain6301 5 років тому +385

    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 5 років тому +8

      OMG thax

    • @adrianvalencia3210
      @adrianvalencia3210 5 років тому +24

      I don't normally reply here on UA-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 5 років тому +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

  • @gurejalectures
    @gurejalectures 5 років тому +25

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

    • @ayanarko8890
      @ayanarko8890 4 роки тому

      ua-cam.com/video/Iau47_Uefho/v-deo.html -- image sliding animation using html & css

    • @ayanarko8890
      @ayanarko8890 4 роки тому

      ua-cam.com/video/Iau47_Uefho/v-deo.html -- image sliding animation using html & css

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

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

    I watched this video 6 months ago when I started studying web development, and I couldn't understand anything past the CSS part of the video. I watched it again today and could understand everything, I'm still not a junior level though, but I'll keep pushing myself on until I get there. Thanks

  • @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 2 роки тому

      thank you so much it worked for me

    • @GH-pu3xc
      @GH-pu3xc 2 роки тому

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

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

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

  • @nassimnaouli9720
    @nassimnaouli9720 4 роки тому +65

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

  • @rh-gp5yy
    @rh-gp5yy 3 роки тому +3

    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 3 роки тому

      ❤️👉 ua-cam.com/video/lmIwYLFYZ9U/v-deo.html 👈❤️.

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

  • @hollychen967
    @hollychen967 4 роки тому +1

    Top tip guys!
    If you are new to HTML and finding really hard to follow him because he is really fast, just slow down the video to 0.5 and it will become easy to follow. Good luck.

    • @hollychen967
      @hollychen967 4 роки тому

      However, he does sound a bit drunk and it's a bit funny.

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

  • @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 4 роки тому

      ua-cam.com/video/Iau47_Uefho/v-deo.html -- image sliding animation using html & css

    • @GamingTSH
      @GamingTSH 3 роки тому

      ❤️👉 ua-cam.com/video/lmIwYLFYZ9U/v-deo.html 👈❤️.

  •  4 роки тому +4

    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!

  • @stefankruik9807
    @stefankruik9807 4 роки тому +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 4 роки тому

      ua-cam.com/video/Iau47_Uefho/v-deo.html -- image sliding animation using html & css
      ua-cam.com/video/JtS6N_z233A/v-deo.html -- sliding effect
      ua-cam.com/video/CFAmhyEB1Jw/v-deo.html -- image animation

  • @Root-uno6nw
    @Root-uno6nw 4 роки тому +1

    After 3 hours of searching , I can honestly this is one of the one of the best videos on how to make a dynamic website. Thanks man!!

  • @damiank444
    @damiank444 6 років тому +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 4 роки тому +5

      @@ahmedrobi6507 you doggggggggggggg shit

    • @shahriarsharar8363
      @shahriarsharar8363 4 роки тому

      Sir please find me the nav-link class he declared

  • @wastedart1794
    @wastedart1794 5 років тому +14

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

    • @ayanarko8890
      @ayanarko8890 4 роки тому +1

      ua-cam.com/video/Iau47_Uefho/v-deo.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!

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

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

  • @misteralfie
    @misteralfie 4 роки тому +1

    I actually never knew a way to animate properly and the way you've shown is pretty easy to understand so thanks

  • @yalinkhere8212
    @yalinkhere8212 6 років тому +34

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

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

  • @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 4 роки тому

      ua-cam.com/video/Iau47_Uefho/v-deo.html -- image sliding animation using html & css

  • @craftheavenco
    @craftheavenco 3 роки тому +2

    Man have you try laughing and typing at the same time, man I'm having so much fun coding. 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

  • @angel-tylebron6111
    @angel-tylebron6111 5 років тому +263

    so yall telling me you didn't notice the "mynigga" file under recent @1:19 lmaoooooo

    • @angel-tylebron6111
      @angel-tylebron6111 5 років тому +4

      y'all*

    • @thatguycheddar
      @thatguycheddar 5 років тому +5

      @@angel-tylebron6111 LOOOL i just saw it

    • @antwarior
      @antwarior 5 років тому +2

      yoooo hahaha , but have to say this video is great content though

    • @ozzyfromspace
      @ozzyfromspace 5 років тому +43

      lol As a black guy, I approve #mynigga

    • @akionka
      @akionka 5 років тому +1

      LMAO.
      🇷🇺🇷🇺🇷🇺🇷🇺

  • @cyatophilumfr
    @cyatophilumfr 4 роки тому +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 3 роки тому

      ❤️👉 ua-cam.com/video/lmIwYLFYZ9U/v-deo.html 👈❤️.

  • @sgr2683
    @sgr2683 4 роки тому +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.

  • @pdqbpunuvnun3519
    @pdqbpunuvnun3519 3 роки тому

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

  • @005akashkumar5
    @005akashkumar5 3 роки тому

    I have started my web development journey and was struck how to add burger. This was so helpful.

  • @CaughtSurfingNiagra
    @CaughtSurfingNiagra 5 років тому +6

    Hi Ed, minor correction: .nav-active should get the background-color, not the @media screen nav-links. Otherwise you will have it jumping, when dragging from desktop to mobile. Really cool video. I appreciate it.

    • @unasemana
      @unasemana 5 років тому

      im having that problem, how can i solve it?

    • @justinas2036
      @justinas2036 5 років тому

      Thanks :)

    • @LucasMeadows
      @LucasMeadows 5 років тому +2

      @@unasemana Change the transition in .nav-links{} to 'transition: all 0.5s ease'. Take out the background color from .nav-links and put it into .nav-links active. It means the background color will fade in and out slightly but it stops the nav from jumping on and off page when adjusting window width.

    • @live7katie
      @live7katie 4 роки тому

      @@LucasMeadows I've been scrolling through all these comments and checking stack overflow and this was the solution that worked for me when nothing else fixed it, thank you!!! Saved my project!

    • @LucasMeadows
      @LucasMeadows 4 роки тому

      @@live7katie No probelm :) glad it helped

  • @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 2 роки тому

      tnx brooo

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

    • @ColinArkell
      @ColinArkell 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 4 роки тому +2

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

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

  • @thedailyhappening416
    @thedailyhappening416 3 роки тому +1

    Well, I was watching a Tv Series but for some reason, I wanted to check this video for a couple of minutes to watch it later. But, here I'm 35 minutes later commenting. It was thrilling to see you find those error that was happening and fix it when it happens, Loved that. It was like I was watching a wizard do a magic trick. :D

  • @desequilibradoo
    @desequilibradoo 5 років тому +13

    Hey @Dev you should put transition:transform 0.5s ease-in; in .nav-active class not in media query,because ease-in effect apperas everytime when you minimize the screen.

    • @developedbyed
      @developedbyed  5 років тому +1

      Very true! I posted a response in the comments but it probably got lost. Thank you!

    • @desequilibradoo
      @desequilibradoo 5 років тому

      @@developedbyed Can you please tell me which visual studio code theme do you use?

    • @TheAncientss
      @TheAncientss 5 років тому +2

      But then the animation doesn't appear when closing the nav

    • @msn.muddam
      @msn.muddam 4 роки тому

      Hi @desequilibradoo may I please know where he puts the .nav-active class? It's not shown in the video

    • @eng101dspprojcectabo
      @eng101dspprojcectabo 4 роки тому +1

      @@msn.muddam in media queries section of your css page, move the line of code under .nav-links that says "transition: transform 0.5.s ease-in" and put it in the .nav-active section instead

  • @unasemana
    @unasemana 5 років тому +7

    HI, the solution for the problem caused on minute 34 is to move (transition: transform 0.5s ease-in;) in .na-links and pasted it on the class .nav-active

    • @SomelitzOLL
      @SomelitzOLL 5 років тому

      thank you

    • @shahidullahmiazi
      @shahidullahmiazi 4 роки тому

      @shadowtecc20 Absolutely work. Please watching video carefully.

  • @marcocoelho2219
    @marcocoelho2219 3 роки тому +3

    For everyone with the problem of overflowX hidden not working.(17:12) My solution was to change de position from absolute, to fixed. This is at the media max-width 768px

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

      Thanks this worked great for me

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

      To clarify this, you change the position in the .nav-links under the @media screen and (max-width:###px) to be fixed, instead of absolute.

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

    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.

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

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

  • @timrobinson1278
    @timrobinson1278 5 років тому +6

    Great video! I couldn't get "overflow-x: hidden" to work. BUT. Change "position: absolute" to "fixed" in .nav-links. Solves the problem.

    • @cankarkadev9281
      @cankarkadev9281 4 роки тому +1

      Thank you for that hint! Solved it for me as well :)

    • @timrobinson1278
      @timrobinson1278 4 роки тому +1

      @@cankarkadev9281 Glad I could help :)

    • @dancalinfota6157
      @dancalinfota6157 3 роки тому

      you are a hero. struggled for hours with that thing

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

  • @De_Bryan
    @De_Bryan 3 роки тому +3

    Good stuff. Only had an issue when referring to the class names. 'nav-active' instead of "non-active". Thanks.

  • @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 3 роки тому

      ❤️👉 ua-cam.com/video/lmIwYLFYZ9U/v-deo.html 👈❤️.

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

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

  • @adityasagar9078
    @adityasagar9078 3 роки тому +3

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

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

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

  • @toddb1208
    @toddb1208 3 роки тому

    Had 5 years off developing and had forgotten everything. You Fucking saved my life dude! Thank you so much! finally a tutorial i can understand the english and he codes like i was taught.

  • @JayTronik1
    @JayTronik1 4 роки тому

    After weeks of struggling, I have to thank the people for the cool comments they already made. And miraculously fixed the nav. Now all working even with an animated background as I originally imagined it.

    • @luisrocha2762
      @luisrocha2762 4 роки тому

      bro my bar doesn't open and i dont know why can you help me?

    • @JayTronik1
      @JayTronik1 4 роки тому

      @@luisrocha2762 the fix is in the comment section below bro. Scroll to about one year ago, where Dev Ed replied to someone with a link. In that link there are some fixed codes, i just copied it from there. I forgot the username, i think it was morpheus101a
      or something like that. All the best ;)

    • @luisrocha2762
      @luisrocha2762 4 роки тому

      @@JayTronik1 ty mate

  • @augusth4444
    @augusth4444 5 років тому +5

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

  • @rendelllasola66
    @rendelllasola66 5 років тому +4

    For those who are struggling with body { overflow-x: hidden; } still scrolling on safari, try changing it to only overflow: hidden.

    • @AwesomeComps23
      @AwesomeComps23 5 років тому

      hi, if you could help me that would be great, for some reason my foreach loop isn't working, it doesn't grab the index. here is my code :
      const navSlide = () => {
      let menu = document.querySelector(".menu");
      let nav = document.querySelector("#nav-bar");
      let navLinks = document.querySelectorAll(".menu li");
      /*Menu Toggle Function*/
      menu.addEventListener('click', () =>{
      nav.classList.toggle("menu-active");
      });
      /*li animate function */
      navLinks.forEach((link, index) => {
      console.log(index);
      });
      }
      navSlide();

    • @Ninjer
      @Ninjer 5 років тому

      @@AwesomeComps23 same, can't figure out why

  • @k4is3r
    @k4is3r 5 років тому +5

    your videos are awesome, I have a question, why overflowX doesn't work on mobile? thank's for all your videos you rock man ....

    • @jashmorekar
      @jashmorekar 4 роки тому +1

      try adding this meta tag

    • @jose86mend
      @jose86mend 3 роки тому

      @@jashmorekar jajajajaja amigo, varias semanas buscando esa solución. muchas gracias. Thanks a lot. Greetings from Mexico.

  • @rhodyasomani6099
    @rhodyasomani6099 3 роки тому

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

  • @supertech8208
    @supertech8208 3 роки тому

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

  • @timothyroy20111
    @timothyroy20111 4 роки тому +4

    Great tutorial! For some reason, the JS did not work for. I checked it over an over it again - can't find the issue. It would be great help if you share your code as well. Thanks for the good work.

    • @danieldiaz855
      @danieldiaz855 3 роки тому

      I had the same issue cause, it says Type error I don't have any way to fix it.

  • @jade-og1ef
    @jade-og1ef 5 років тому +9

    Very useful!!! Thanks for making this tutorial. By the way, where did the "nav-active" class came from?

    • @makingzebraop
      @makingzebraop 4 роки тому +1

      Man I stuck there help me

    • @makingzebraop
      @makingzebraop 4 роки тому

      @@alfuad112 no bro try another tutorial

    • @alfuad112
      @alfuad112 4 роки тому

      @@makingzebraop I found this bro. .nav-active class is from classList.toggle("nav-active"). you can check out this--> www.w3schools.com/jsref/prop_element_classlist.asp

  • @developedbyed
    @developedbyed  6 років тому +7

    Feel free to leave any questions and suggestions :)

    • @bizzle98
      @bizzle98 6 років тому +4

      can u maybe zoom in on the code next time?

    • @developedbyed
      @developedbyed  6 років тому +1

      for sure!

    • @VNighte
      @VNighte 6 років тому +2

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

    • @nesnes6689
      @nesnes6689 6 років тому

      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)

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

    Instead of increasing width to create space, you can always induce padding.
    This way there will be always space between li,s and hence it wont break at various screen width.
    Of ours this will cause Major overflow issues but
    no one really has a screen 600 px wide.

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

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

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

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

  • @PoivronProd
    @PoivronProd 5 років тому +6

    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 2 роки тому

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

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

      @@Davidebrocc98 gonna try that, thanks !

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

    HEY BRO, I GOT LOST AS SOON AS YOU STARTED DOING JavaScript :D LOL
    IT'S BEEN LOTS OF FUN!!
    THANK YOU :-)

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

  • @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 5 років тому +3

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

    • @Richard-us3fn
      @Richard-us3fn 5 років тому +7

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

    • @DanHoltkamp
      @DanHoltkamp 5 років тому +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.

  • @sako3xx
    @sako3xx 3 роки тому +6

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

  • @michael-ogala
    @michael-ogala 4 роки тому +6

    I guess I'm not the only one thinking ''This is so much coding for just a nav bar"

    • @alexl4853
      @alexl4853 4 роки тому

      Bootstrap for the win!

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

  • @ilovemoney3366
    @ilovemoney3366 3 роки тому +1

    I really appreciate the way you make this Tuto bro, no copy past from fontawesome link. I like it You the best

    • @hammavaqttv2273
      @hammavaqttv2273 3 роки тому

      ua-cam.com/video/vh7obWOC3jY/v-deo.html please can you watch this video

  • @erniejeashvillahermosa5699
    @erniejeashvillahermosa5699 4 роки тому +11

    "That's what she said" 😂😂😂

    • @jr4560
      @jr4560 3 роки тому

      ikr lol 😂

  • @mauriziospain757
    @mauriziospain757 3 роки тому +4

    Hello Ed, really a nice tutorial!
    I followed all your instruction till minute 22:14 ... but, after i finish the compilation of the file "app.js" and then i click on menu... it doesn't work... I cheched everything.. but im stucked!... and i cant' go ahed with the tutorial. Any hint?
    Thumb-up and subscribed.
    Greetings from Italy.

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

      Same for me :C

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

      i have an issue that my text doesn't wanna appear..... same for you? when i hold mouse over it changes so its there but doesn't wanna show

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

      Me tooo!! HELP!

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

      @@Daaboo did you find a solution?

  • @AlbertEinstein-um3vq
    @AlbertEinstein-um3vq 5 років тому +7

    Hi all Excellent video, thank you a lot. I only have a question / issue, I cannot reverse the opacity of the links from 0 to 1. If I follow your the code, I can not see the links. I'm sure that they are here because if I comment the CSS line ".nav-links li {opacity: 0;}" I can read them... Does somebody maybe have a tip?
    After looking again my code, it seems that I don't know if it's the opacity of the translateX which does not work... Thank to anybody who can help me :)

    • @RickayyB
      @RickayyB 5 років тому +7

      navLinks.forEach((link, index) => {
      link.style.animation = `navLinkFade 0.5s ease forwards ${index / 7 + 2}s`;
      console.log(index / 7);
      });

    • @kierankieran7507
      @kierankieran7507 5 років тому +2

      @@RickayyB thank you ! My eyes were hurting me trying to find my mistake (forgot the "s" after 0.5)

    • @mvaldez02
      @mvaldez02 5 років тому +2

      @@RickayyB Thank You So Much!

    • @CanalJFpharma
      @CanalJFpharma 3 роки тому

      @@RickayyB Thank you very much!!!!!!!!!

  • @raqueliatheimpatientgardne8196
    @raqueliatheimpatientgardne8196 3 роки тому

    I am only half way thru and had lost your video on a restart so am now subscribed and you are a very good instructor... I cannot tell you how much time I lost trying to find this exact thing and am so happy I found you. Please do a contact form with the php side, if you haven't already. thanks...

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

  • @absolution8637
    @absolution8637 5 років тому +9

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

    • @christianlarsen1679
      @christianlarsen1679 5 років тому

      Put .nav-active inside your @media query

    • @absolution8637
      @absolution8637 5 років тому +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 5 років тому

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

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

  • @luuk2406
    @luuk2406 5 років тому +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 🤣❤🙌🙌🙌🤦‍♀️️🤦‍♀️🤦‍♀️🐱‍🏍🐱‍🏍🐱‍🏍🏍🏍🏍♀️

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

    i know this video have two years but i love u this video is really helpful

  • @gj8822
    @gj8822 3 роки тому

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

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

  • @codewithvath7990
    @codewithvath7990 4 роки тому +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 :(

  • @ndagda
    @ndagda 5 років тому +7

    My links don't want to appear. :(

    • @azone1684
      @azone1684 5 років тому +1

      same problem here, my links don't change from opacity 0 to 1.

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

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

  • @betgani
    @betgani 4 роки тому

    I quote an excellent message that I read below:
    1. "Great personality
    2. You're a great teacher
    3. best dynamic!
    From @Danilo Miranda Santana