Responsive Navigation Bar Tutorial | HTML CSS JAVASCRIPT

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

      ❤️👉 ruclips.net/video/lmIwYLFYZ9U/видео.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 5 лет назад +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.

  • @nassimnaouli9720
    @nassimnaouli9720 4 года назад +65

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

  • @bigdaddy2620
    @bigdaddy2620 5 лет назад +33

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

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

      ruclips.net/video/Iau47_Uefho/видео.html -- image sliding animation using html & css

    • @GamingTSH
      @GamingTSH 3 года назад

      ❤️👉 ruclips.net/video/lmIwYLFYZ9U/видео.html 👈❤️.

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

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

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

    • @manojadhikari9911
      @manojadhikari9911 4 года назад +2

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

    • @consoledoterror971
      @consoledoterror971 4 года назад +3

      its called the legendary `BACKTICKS`.

    • @billssssss
      @billssssss 4 года назад +1

      we usually call that ' tilde ' key

    • @pradnyabhukan5891
      @pradnyabhukan5891 4 года назад

      dude, thank you so much!!

    • @kaz_key
      @kaz_key 4 года назад

      thanks! I didn't notice at all !!

  • @Lindeberg91
    @Lindeberg91 4 года назад +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.

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

  • @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 года назад

      ruclips.net/video/Iau47_Uefho/видео.html -- image sliding animation using html & css

    • @codigodesenior3995
      @codigodesenior3995 4 года назад

      @@ayanarko8890 wtf random video

  • @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 4 года назад

    • @fahanyc3638
      @fahanyc3638 4 года назад

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

    • @angelordonez2959
      @angelordonez2959 4 года назад

      I LOVE YOU!

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

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

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

  • @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 года назад

      ❤️👉 ruclips.net/video/lmIwYLFYZ9U/видео.html 👈❤️.

  • @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 года назад

      ❤️👉 ruclips.net/video/lmIwYLFYZ9U/видео.html 👈❤️.

  • @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 года назад

      ruclips.net/video/Iau47_Uefho/видео.html -- image sliding animation using html & css

    • @ayanarko8890
      @ayanarko8890 4 года назад

      ruclips.net/video/Iau47_Uefho/видео.html -- image sliding animation using html & css

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

  • @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 года назад

      ruclips.net/video/Iau47_Uefho/видео.html -- image sliding animation using html & css
      ruclips.net/video/JtS6N_z233A/видео.html -- sliding effect
      ruclips.net/video/CFAmhyEB1Jw/видео.html -- image animation

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

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

  • @tinasheyadley
    @tinasheyadley 3 года назад +10

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

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

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

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

  • @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 года назад

      ruclips.net/video/Iau47_Uefho/видео.html -- image sliding animation using html & css

    • @GamingTSH
      @GamingTSH 3 года назад

      ❤️👉 ruclips.net/video/lmIwYLFYZ9U/видео.html 👈❤️.

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

      ruclips.net/video/Iau47_Uefho/видео.html -- image sliding animation using html & css

  • @damiank444
    @damiank444 6 лет назад +476

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

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

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

  • @NealHartsChannel
    @NealHartsChannel 3 года назад

    Love listening to you talk out loud so we can hear your thought process! Turned out really nice! 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 4 года назад

      ruclips.net/video/Iau47_Uefho/видео.html -- image sliding animation using html & css

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

  • @yalinkhere8212
    @yalinkhere8212 6 лет назад +34

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

  • @kirankamath5891
    @kirankamath5891 4 года назад +2

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

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

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

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

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

  • @pdqbpunuvnun3519
    @pdqbpunuvnun3519 3 года назад

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

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

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

  • @krust_
    @krust_ 4 года назад +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

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

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

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

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

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

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

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

  • @rhodyasomani6099
    @rhodyasomani6099 4 года назад

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

  • @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 года назад

      ❤️👉 ruclips.net/video/lmIwYLFYZ9U/видео.html 👈❤️.

  • @jakerajzbartolo739
    @jakerajzbartolo739 4 года назад +17

    Hi for anyone having a hard time on overflow-x: hidden
    Anyone wondering how to fix it in the media query for the mobile phone, in .nav-links change the "position: absolute" to "position: fixed"

    • @javiermercado7664
      @javiermercado7664 4 года назад

      thanks a lot, ive been an hour searching for the solution

    • @hammadahmed1138
      @hammadahmed1138 4 года назад

      thanks buddy

    • @oliverkuso1931
      @oliverkuso1931 4 года назад

      MVP

    • @angelordonez2959
      @angelordonez2959 4 года назад

      are you talking about the navbar messing up when in mobile view? Im trying to make the navbar work properly when in mobile view but it seems to have both top and side navbar. do you have a sample of the code you used?

  • @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 4 года назад

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

  • @sewingwithcope
    @sewingwithcope 4 года назад

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

  • @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 года назад

      ❤️👉 ruclips.net/video/lmIwYLFYZ9U/видео.html 👈❤️.

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

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

  • @quietlab.5727
    @quietlab.5727 5 лет назад +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!!

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

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

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

  • @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 5 лет назад

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

  • @fredericforclif7953
    @fredericforclif7953 4 года назад +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

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

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

  • @buddhistff2435
    @buddhistff2435 4 года назад

    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.

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

  • @aw6674
    @aw6674 5 лет назад +7

    one thing I noticed when I was finished with the tutorial the nav bar in mobile mode always appears when resizing the window automatically and then goes to the side. How do you fix that ??

    • @prateeksood3183
      @prateeksood3183 5 лет назад +2

      Use windows resize event
      *window.addEventListener('resize',()=>{*code to hide nav*})*

    • @aw6674
      @aw6674 5 лет назад

      not sure how that works since I am a complete javascript beginner. But thnx never the less ill try to figure it out. =)

    • @henningsieh
      @henningsieh 5 лет назад

      What is "mobile mode" and what is "resizing the window automatically"?
      This Dev by Ed does recognise a mobile browser or anything like that. You are describing the exactly correct behaviour of this JavaScript: it flips to a kind of mobile optimized view when screen resolution comes below a certain amount of pixels.
      Edit ---
      Sorry, now I got you! You are absolutely right, it took me slightly more time as if Master DevEd has his hands on the code... ✌️

    • @aw6674
      @aw6674 5 лет назад

      @@prateeksood3183 what code would you for {*code to hide nav*}

    • @arturocardiel4056
      @arturocardiel4056 4 года назад

      added these lines of code and seemed to work. Place it under your .burger div{}
      @media screen and (max-width:100vw){
      .burger{
      opacity: 0;
      }
      }
      it says if the screen changes to mobile view the burger appears if not it will stay hidden otherwise. Im still a beginner too so excuse me if it sounds confusing

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

  • @morpheus101a
    @morpheus101a 6 лет назад +9

    The Links don't appear for me when I hit the hamburger icon, it opens blank. Someone please help!

    • @developedbyed
      @developedbyed  6 лет назад +4

      put it on codepen, I would gladly take a look at it.

    • @morpheus101a
      @morpheus101a 6 лет назад +2

      @@developedbyed Here it is:
      codepen.io/7baa55af-87a8-4c8e-8491-db61f728e598/pen/REyada

    • @developedbyed
      @developedbyed  6 лет назад +13

      left some comments with the fix! codepen.io/lorenaschmidt/pen/OrwozZ?editors=0010

    • @morpheus101a
      @morpheus101a 5 лет назад

      @@developedbyed wow you're awesome! I just notice you're correction. Thank You!

    • @nasraaden5234
      @nasraaden5234 5 лет назад +1

      Having the same problem

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

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

  • @005akashkumar5
    @005akashkumar5 3 года назад

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

  • @AB-bb9vg
    @AB-bb9vg 5 лет назад +5

    Why can't i see li items? When i fix opacity at 1 is it ok but when i do it with style.animation in javascript it didn't work. Please help

    • @banditgal3048
      @banditgal3048 5 лет назад +1

      same thing happened with mine - the burger animation works but not when I try to add in the Li as well

    • @maYTeus
      @maYTeus 5 лет назад +2

      You're prolly using the normal quotes. You have to use the back quote tic marks over on ~ key

    • @banditgal3048
      @banditgal3048 5 лет назад

      @@maYTeus this is what I had link.style.animation = `NavLinkFade 0.5s ease forwards ${index / 7 + 0.3}s`;
      is that not right?

    • @trikortreat123
      @trikortreat123 5 лет назад +1

      @@banditgal3048 You have to use the ` symbol not the '. This is located right below the tilda or the "~" symbol on your keyboard. Had the same problem but just got it to work!

    • @enrikes9877
      @enrikes9877 4 года назад

      @@trikortreat123 Hes using the right symbol though.

  • @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_ 4 года назад

      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 4 года назад

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

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

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

  • @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 3 года назад

      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?

  • @giiipfel
    @giiipfel 5 лет назад +7

    Problem: When I open this on my pc is all working probably, but when I am trying on my phone, then I can scroll out and see the overflow. Pls help!

    • @n3xusrage890
      @n3xusrage890 5 лет назад

      Same here! Ed help please!

    • @alexanderverbeeck6617
      @alexanderverbeeck6617 5 лет назад

      Same problem... don't know what to do... got a deadline pretty soon 😔😔😔

    • @tidrel7497
      @tidrel7497 5 лет назад

      @@alexanderverbeeck6617 did you do overflow-x: hidden

    • @alexanderverbeeck6617
      @alexanderverbeeck6617 5 лет назад

      @@tidrel7497 yes i did..

    • @tidrel7497
      @tidrel7497 5 лет назад

      @@alexanderverbeeck6617 you are missing something somewhere. My recommendations, since it's a half hour video you could benefit greatly in watching it again or you can post your codes here and someone can try to help you figure it out

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

  • @matthewjaworski4115
    @matthewjaworski4115 4 года назад +1

    I'm at 23:10. The clear background of the dropdown menu only appears when i change the screen width from large to small and the burger icon shows up. Otherwise, when I click on it, the menu doesn't drop down.

  • @gj8822
    @gj8822 3 года назад

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

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

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

  • @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 4 года назад

      copy this into the section of your html doc.

  • @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 года назад

      ruclips.net/video/vh7obWOC3jY/видео.html please can you watch this video

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

    I laughted so hard when you said that you are stupid while I felt stupid through the whole video :) Thank you so much man! Awesome video, they should make 2 like buttons for you! Make one where you create an image gallery too!!!

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

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

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

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

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

  • @anwarulbashirshuaib5673
    @anwarulbashirshuaib5673 3 года назад

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

  • @sharriceowens913
    @sharriceowens913 4 года назад +3

    my nav links did not show when i did .nav-active{transform:translateX(0%) } and i clicked on my hamburger nothing happened. th class is .nav_links so why did we just put .nav-active?? but neither worked for me any suggestions

    • @khalil_art
      @khalil_art 4 года назад

      try including the parent like this: nav .nav-active { transform: translateX(0%); }

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

  • @sako3xx
    @sako3xx 3 года назад +6

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

  • @jessicawolff1556
    @jessicawolff1556 4 года назад +1

    Converting this to a func component React-App, and things are looking quite a bit different. If you're wondering, here's how to achieve through 22:00,
    In Navigation.js:
    I added this as an event handler in my Navigation function (before return):
    function handleSlide(e) {
    const nav = document.querySelector('.navigationLinks');
    e.preventDefault();
    nav.classList.toggle('nav-slide-active')
    console.log('Navigation Slide');
    }
    In the return statement, add this to the burger div:
    onClick={handleSlide}
    This will invoke the handleSlide() function when the burger div is clicked. I'll add replies as I get further in the video.

    • @jessicawolff1556
      @jessicawolff1556 4 года назад +1

      For the animation, I followed the same instructions, but **MAKE SURE** you are using backticks instead of single quotes around the link.style.animation = `` portion.
      // Animate individual link to enter on Burger Menu
      eachLink.forEach((link, index) => {
      console.log(index);
      if(link.style.animation) {
      link.style.animation = ``
      } else {
      link.style.animation = `navLinkFade 0.5s ease forwards ${index / 4 + .3}s`
      }
      })

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

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