How to Create Responsive Navigation Bar using HTML and CSS

แชร์
ฝัง
  • เผยแพร่เมื่อ 8 ส.ค. 2019
  • How to Create Responsive Navigation Bar using HTML and CSS
    In this video, I have shown you how to create a responsive navigation bar using html and css only
    🗂️ Get Source Code of this Navigation Bar
    ➤ buymeacoffee.com/codingnepal/...
    🌐 Visit CodingNepal for coding projects with source code
    ➤ www.codingnepalweb.com
    ⭐ Hire me on Fiverr
    ➤ www.fiverr.com/prakashahi
    📷 Follow me on Instagram
    ➤ / coding.np
    🤝 Support my work
    ➤ buymeacoffee.com/codingnepal
    Music used in this video - Cryptic Sorrow

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

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

    If your icons aren't showing, replace the line no.8 script of index.html with this:

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

      In navigation place instead of hover option is any way is available to click action
      Becuase while moving cursor in any other place is disappear

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

      Html5 css3 js website demo please

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

      mero chalena

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

      @@AbhishekKumar-sm7or po

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

      Hi. How are you? Why it doesn't work. I wrote all the codes. What's problem?

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

    Never thought i could cry making a nav bar, but this music got me

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

    I just want to thank you for 3 reasons:
    1. For being so helpful by replying on the comments of people's doubts!
    2. For giving the source code(with a few necessary details)
    3. For making this wonderful tutorial!
    And thus,you got yourself a subscriber..Keep helping us like that!

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

      Thank you so much for your appreciation.. Stay tuned 💙

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

      Hey man can u please give me a source code here !

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

      i want to thank you too.. we need people thanking people who help people too..

  • @chrisvaughan2462
    @chrisvaughan2462 ปีที่แล้ว +64

    Who chose the music? Came here for burger bar and left suicidal 😭😭😭😭

    • @anshupriya3313
      @anshupriya3313 3 หลายเดือนก่อน +4

      😂😂😂ishliye roo rahe hoo

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

      ikr, I don't even know if I want to finish my project anymore..

    • @Geethen
      @Geethen 29 วันที่ผ่านมา +1

      ​@@oussama1811 😂😂😂

    • @Geethen
      @Geethen 29 วันที่ผ่านมา +1

      ​@@anshupriya3313😹😹😹

    • @anshupriya3313
      @anshupriya3313 29 วันที่ผ่านมา +1

      @@Geethen 🤣😆

  • @Michael-ls7lu
    @Michael-ls7lu 2 ปีที่แล้ว +80

    Handy tip for all you devs out there when making an unordered list in visual studio. Instead of copy-pasting the element several times, hold Alt and Shift and press the down arrow to duplicate the current line. Press the down arrow as many times as you want to duplicate even more.
    Also, I'm not sure about using left: -100% and left: 0 to move the menu instead of transform: translateX(-100%) and transform: translateX(0). If I recall correctly transform is more performative than using left.
    Great tutorial though, I'm looking to use more CSS only solutions in my own designs.

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

      Thank you sir 👍

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

      Thanks :)

    • @cureadan-emilian2579
      @cureadan-emilian2579 ปีที่แล้ว +4

      or you can use ul>li*3 and you will have 3 of li nested in ul ;P

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

      Ohh wow this just help me a lot👏🏾👏🏾 THANKS!!

    • @veronicajarido3743
      @veronicajarido3743 5 หลายเดือนก่อน

      Good input.
      Also for Mac you use combination of Option + shift and down arrow.

  • @HoangNguyen-zv3xb
    @HoangNguyen-zv3xb 2 ปีที่แล้ว +92

    this is what I need. No talking, no explanation just a master at work demonstrates how it's done. I learned so much in 7:59 mins. Thanks a lot!

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

      Sometimes talk is important cause I didn't know why he did some things here

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

      @@mbahchris1188 once you learn what each thing do then it’s easy to follow along

    • @Loomisheep
      @Loomisheep 14 วันที่ผ่านมา

      @@victoriaburns296 if we're watching this tutorial then you realise it's because we don't know a lot in CSS, otherwise we wouldn't be here

    • @victoriaburns296
      @victoriaburns296 14 วันที่ผ่านมา

      @@Loomisheeploud and wrong. What I was saying is knowing the basics will help you understand. If you’re not good with CSS then you should t be watching this video yet. All because you know basic CSS doesn’t mean you automatically know what you can do with it and that’s why most people are watching so you can go be rude somewhere else sweetie

  • @r-chuck6
    @r-chuck6 ปีที่แล้ว +6

    I generally dont comment on youtube videos but this is the best and the simplest of tutorials on navbar on internet. I cant express my gratitude to you for this tutorial. I have literally searched for 2 days about how to make a simple navbar until i came across your video.

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

    He is talented in creating websites.
    Me: i am talented in watching the talents of others

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

    That was so amazing, I couldn't imagine myself learning how to make a responsive nav bar in under 10 mins.... You're the best pal🚀🚀

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

      You might help me? Woud be greatI can't get it to work. Fontawesome link is called different and no icon appears. I am not shure if its the link or the fas fa-bars command or an interaction of it, is the issue, why no icon appears. I did everything exactly by template.
      By the way: Original files even don't work (no menu icon with its function).

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

    took me ages to figure it out but i managed to make it work and then bootleg it in my own code. awesome stuff man.

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

    Thank u. Em cheppagalam inthakannaa. Really u decreased my stress levels to down about nav bars.

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

    Believe me! This is the shortest version I have seen. I am surely adapting this one as a template - as I like less-complicated designs. Thank you so much.
    I read from somewhere, that if a function can be achieved using CSS and HTML, then there is no need putting an additional Javascript. Thank you for this demo.

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

      Glad it was helpful!

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

    I really like this video! I have been browsing TH-cam for a while now to find a video like this. Love from India. :)

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

      Keep watching and supporting :)

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

    A great trutorial for growing concepts.Specially newbies like me who learned a lot of syntax but still don't know how to apply those and make cool things. It was really helpfull. Best of luck.

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

      Thank you 💙.. Keep watching

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

      You are welcome.❤

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

      Same problem I had also faced when I was also new in this field.. Then I started channel and for making a video I create a new design per week and uploaded on this channel.. And slowly slowly it became easy and familiar to apply codes and make cool things.

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

      You're welcome... Keep watching my videos and best of luck for your work.

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

      Watch my new videos also... You won't be disappointed.

  • @tube-rp1nb
    @tube-rp1nb ปีที่แล้ว +2

    how about on clicking links closing and routing to the path? currently if you click on the links it does n't close the container.

  • @s.m.rakibhasan7772
    @s.m.rakibhasan7772 3 ปีที่แล้ว +3

    Brilliant task you have done, may be I would never forget you. Keep sharing your skills & patience with us. May almighty grant you...

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

    Thanks, been battling to find just this!!

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

      Thank you.. Keep watching nd supporting ❤️

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

    the fact that I got a wix ad make me mad

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

    I always struggled understanding css, i get some of it, however your video has helped me finally finish my web project :)

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

    we need to use ->(area-hidden="true") inside tag, to get hamburger.

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

    I like that you demo in the beginning then again after. Thanks for that.

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

      Thank you...Keep watching our other videos :)

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

    Nice idea of using a checkbox as a indicator for activating the menu bar instead of using javascript 😁. 👍👍👍

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

    I spent hours trying to find something like this. You saved my life. I loved the video and the music

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

      Thank you and don't forget to visit this channel for more helpful videos.

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

    If I coded this the other way around, how do I code the nav bar to display normally again on a laptop layout?

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

    First of all: nice video and comprehensible presentation.
    However, I have 3 more or less critical remarks:
    1) never use px units in responsive layouts unless you need to
    2) never use tags with a physical representation such as (use instead and define the representation through css)
    3) I recommend to use the Flexbox module for such type of navigational design; it is more flexible, direction-agnostic and provides a coherent design

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

      Thank you so much for suggestions...I really appreciate your suggestion :)

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

      @@CodingNepal You are welcome! CSS offers so many realisation possibilities. A lot of people (me included) appreciate the efforts you did in creating that video.

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

      sir can u tell me how that collapsing happing on click i cant get it.

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

      @@LeadCode1 he used checkbox to toggle the mobile menu.
      In html you can check the input checkbox from the label element when you refer to it using "for" attribute
      Toggle icon here

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

      @@safouaneahmedsalah6233 thnku sir i m going try it now.

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

    This is the only one that worked for me. Now im on another level with is, thanks a lot pal

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

      You're welcome. Please visit our channel for related more contents.

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

    Thanks for this video, the key is placing a input checkbox to hold the state of OPEN CLOSE the mobile menu, for a ZERO JS website this is lit!

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

    may i ask what should i search on google? the icon on hamburger for menu doesnt show up. please tell me or can you provide a link?

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

    Can't Go back without liking.......👍👍
    (background music was so Awesome & relaxing )

  • @KevinLii-hr4qy
    @KevinLii-hr4qy 4 ปีที่แล้ว +8

    i love how you can see what every line does :)
    more channels sound record this way

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

      Thank you 💙... Keep watching

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

    hands down the best tutorial about responsive navbar I have found, thank you

  • @ainsleyfrastructurekpopmashups
    @ainsleyfrastructurekpopmashups 7 หลายเดือนก่อน

    You gained yourself my new subscriber!!!
    This is because I've learned how to code a website's navbar from this video. It is useful for me in the near future, because there might be school projects that require your coding skills, and creating my dedicated website for my YT channel, which I might utilize HTML-CSS skills.
    I've stuck trying to relocate the Navbar links inside the Navbar box until I've found your video
    Looking forward for a tutorial on how to add hover dropdown inside Navbar box.

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

    Thank you for highlighting the meta data at the beginning! I was wondering why my logo was shrinking when resizing the viewport! All it took was that meta tag in the header that sets content to device width!!

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

    Big thanks for this. Great help for me for starting learning html and css ❤️

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

      Glad it was helpful :)

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

    This responsive navigation bar which is using HTML, CSS was very simple.Thanks for sharing.

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

    The classical music on the background makes it so peaceful to learn!

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

    Great tutorial, man! Greetings from Brazil! Thank you!

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

    Hey, thank you for this tutorial! It's so helpful. But I have a small problem here. When I resize the page to the size after the max-width (768px and also after 925px), the Home, About, etc. buttons moved below the top banner (it went outside the blue box with the logo) and mixed up with the background. Is there any way to fix this? It'd be easier to explain with photos but sadly youtube doesn't have that option here :"

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

      Decrease the padding of the navbar and the logo size inside media property.

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

      @@CodingNepal i got a problem too, when i resized the page like you, it didn't appear, also the checkbox is there instead of the menu

    • @goran-is6zr
      @goran-is6zr ปีที่แล้ว

      @@nour3660 same problem i have also

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

      @@goran-is6zr You probably need a different link for the fa fa bars

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

      Se atentem a versão do fontawesome

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

    I have tried this but some things are not displaying. I tried creating a style.css and imported it to my main CSS file in my django project and reference it but it isn't showing any style. what could really be the issue?

  • @AnkitThakur-gz2po
    @AnkitThakur-gz2po 4 ปีที่แล้ว +2

    Huge fan from Punjab,india,Nepal after the nepali prime minister's comment on god ram all indian decided to call themselves as a nepali lots of love from india,Nepal

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

      Haha 😂... Keep watching bro

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

    Thanks man, you have no idea how much your video is helping us

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

    Thank you very much! I am really appreciated for what you've done! The NavBar looks actually very nice! Next time. I'm going to use your website to follow the codes!
    Your codes are great!!

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

      You're welcome bro 💙

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

    Of all I have seen you have got the shortest videos thank you soo much

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

    never thought that it could be so dificult, but the music make me want to do it again and again

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

    Great Job

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

      Thank you... keep watching :)

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

    Great tutorial man, it was so helpful. NIce background music too!

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

      Thank you.. Stay tuned 😁

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

    man i hwe a query in html can u plz help me. fr instance the FIRST PAGE which has 4 panels,one top,second bottom,third left side & fourth right side.on the top panel ther r two buttons one is home & the other one is product.nw if i click product button,the content of product page should appear on the first page 4th panel,without changing the other panels,just the content should appear.i hope u gt me

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

    I added the responsive nav bar and css to a site; However, the mobile menu isn't appearing on mobile devices. I think it's because the pixels on smart phones now are comparable if not more than that of computer monitors. What is the fix?

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

    Hey Nepal .I could not get access for awesome fonts, so i used = . = really worked until i ran into #check:checked~ul{
    left: 0;
    }
    and it stop working,Do you maybe know what went wrong ?

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

      You may removed label and input tag... Please send your code on my Instagram.

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

    Thanks amazing bro! Congratulations... Not just the content is relevant and artistically beautiful, but also the soundtrack is somehow uplifting and leave us with a good sensation sort of nostalgia! I'll spread this message for sure. Thanks once again!

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

      You're welcome bro.. Stay tuned 😁

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

    @CodingNepal could you tell me how you got the html preview inside your atom text editor. Idk how to do that so I just split tabs and do it, it would be great if you could tell me how.

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

    Hello
    When I resize to small window and click the 3 bars
    The menu opens behind my actual page, any reasons why please?

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

    Me encantó el diseño, intenté tres veces para que me salga y me salió

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

    Thank you so much for this tutorial! It is exactly what I have been looking for. Keep doing videos like this please!

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

      I really appreciate your comment :)

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

    I'm a visual learner and these type of vids really helps! thank you sm

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

    Sorry, I have a little problem with the "Home" button, when I resize the window it still looks like it runs to the left side of the screen. I already reviewed the code and I have it as it is in the video. Could you help me? Please. It looks bad that when resizing the window a button is moved to one side.

  • @dilipkumar-ck1nc
    @dilipkumar-ck1nc 4 ปีที่แล้ว +4

    I got error while doing exactly at 2.12 minutes how many times iam doing this it is not getting about services and feedback not getting horizontal

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

      Check code from description.

    • @dilipkumar-ck1nc
      @dilipkumar-ck1nc 4 ปีที่แล้ว +2

      @@CodingNepal can u copy the link here I can't see

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

      www.codingnepalweb.com/2020/04/responsive-menu-bar-in-html-css.html

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

      Why is ul li not align with logo.? Is just a few px lower on mine.?

  • @Paint-it-Blxck
    @Paint-it-Blxck 3 ปีที่แล้ว +11

    YOU SAVED MY EVENING!!!

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

    what if we target the a element and apply display : inline-block to that then why its not showing horizontly??

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

    I created a link for the "ABOUT" button. From "about" page when I press the back button, the navigation screen shows when in mobil form. How do I get rid of the navigation so that only the home page is shown when I press the back button? Thank you.

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

    its amazing..thank you.😊😊

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

      Thank you so much :)

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

    This is great man, I' m new to coding and was wondering how do you get HTML and CSS ?

  • @H2O-OW
    @H2O-OW 3 ปีที่แล้ว +1

    CodingNepal I copied your code and even downloaded your version from your website however i'm getting a strange bug where the ul list items are jumping up and down when i move the viewport to the media query sizes. Is there something wrong with my system, do you know why i'm experiencing this?

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

    awesome video thank you so much for taking the time out to make it
    idk if anyone else is having this problem because they dont take time to read like myself lol i couldnt get the fas fa-bars to work at first because you have to go to font awesome and get your own personal code took me about 20 minutes to realize that lol figured id comment to see if it saves anyone else some trouble

  • @ycycyc-yc
    @ycycyc-yc 4 ปีที่แล้ว +5

    3.54 After typing the"fas fa-bars" why I still can't get the bar besides the checkbox when I run with the browser 😥

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

      Make sure you've linked fontawesome in your html file and you're connected with the Internet.

    • @ycycyc-yc
      @ycycyc-yc 4 ปีที่แล้ว

      @@CodingNepal I solve the problem, thank you so much! 🥰

    • @ycycyc-yc
      @ycycyc-yc 4 ปีที่แล้ว

      @Mathias GEGOUT try to download the codes from the link, the css have an @import rule for the bar

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

      @CodingNepal I've linked it, add the import but it still don't work... what could it be?

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

      @@gabrielguerreiromusic did you solve it?

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

    Great tutorial! whats impressive is that even the climax is sync with background music!
    see at 6:29

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

      😂

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

    Muito bom! rapido e facil de entender.

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

    I live in England this does really help love to Nepal ♥️

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

    Great Tutorial! I am having trouble putting the menu in a block postion. The command is around lines 68 - 76 in the css

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

      You can download codes from description link.

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

      hi i have same issue. Did you figure out please? hope you don't mind to share.

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

    IDK why ... but the 3 lines are not showing in the website
    even when i try the source code
    EDIT: NVM is fixed it

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

      Make sure you're connected with the Internet and linked icons with current fontawesome updated link.

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

    Hey man, need some help i got stuck where u reached nav ul li a i did exactly as u did and for some reason nothing seems to work from there? this is the beginning of my code am not sure if this is causing something not to work?
    *{
    padding: 0;
    margin: 0;
    text-decoration: none;
    list-style: none;
    box-sizing: border-box
    }
    html
    {
    height: 100%;
    }

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

    Awesome trick with the checkbox to avoid using javascript at all. Nicely done!

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

    How to make navbar close after click on 'About' and it will redirect to particular div and it should close if click outside of navbar ...Please help and reply 🙏🏻🙏🏻

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

      You need JavaScript to close the navbar when we clicked outside of the navbar.

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

      @Daniel Tibbotts
      Thank you

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

      @@allroundersports1953 ?? Hhh

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

      @Daniel Tibbotts Nice 🤩👍🏻
      to simplify the code:
      navUl.addEventListener("click", ()=> {
      check.checked = !check.checked ;
      });

    • @nemes.tamas.21
      @nemes.tamas.21 3 ปีที่แล้ว

      Or simply add to your HTML "head" section:
      function closeMenu() {
      var checkbox = document.getElementById('check'); checkbox.checked = false;}
      And add to every link in your navbar:
      onclick="closeMenu()"
      Example: Home
      Then, every time when a navbar item is selected, the menu will close.

  • @user-iu6uc4vu4o
    @user-iu6uc4vu4o 5 ปีที่แล้ว +2

    Creative contents 😍

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

    Hi i have a doubt #check:checked~ul {
    left: 0;
    } it is poping up navbar but why only need to give left:0; only why left with some value not working

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

    Du travail bien propre, du code compréhensible, pas de merdasse bootstrap ou autre ... Parfait.

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

    Hi! Great tutorial, but I had a problem getting the logo to be big it is still small. How do I Fix this?

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

      Contact me on insta - instagram.com/coding.np

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

      you need to add a width and height property to that logo
      eg:

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

    menu HTML, css beautiful

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

    Increadibly easy to follow amazing thank you!

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

      You're welcome 💙

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

    I have a question: is the navbar fixed or does go away when we scroll down?
    Because I want it to have menu hamburger and position fixed. I am not finding the appropriate youtube video. May anyone please help?

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

    I searched nav bar but emotional

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

    Love ur nav bar can u explain how to make the bar sticky so it stays in its spot? It would help me alot thanks again

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

      Watch this video: th-cam.com/video/ggF5JD-wBeM/w-d-xo.html

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

      header{
      position :sticky
      }

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

    Hi, I have a problem. When I try too watch what I made on any explorer I only see what I wrote on Html. And when I Update it on the explorer it only wants too translate it but I don't see what I made with CSS like I can't see the results.

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

    THE MOST PRECISE AND AMAZING VIDEO!
    TO THE POINT✌

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

    hello why does the is not working on me no background picture is shown

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

      i wanna insert some text too how will i insert some text it's gonna be like curriculum vitae

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

      You have to set proper path of your image like I've set in the background property in css.

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

      @@CodingNepal please I don’t still understand. I did everything you did. But still can’t add the pics. Please help. Thanks a lot.

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

    Thank you for this! Easy tutorial, no talking, just watch and learn!

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

    hello just wanna ask what if i have a dropdown menu at one of the nav, how do i create the push down effect (mobile view) instead of just a dropdown menu window popping out?

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

      Here is the dropdown video - th-cam.com/video/Iyx_809qwoc/w-d-xo.html

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

      @@CodingNepal Thank you!

  • @ECB-SanjayReddy
    @ECB-SanjayReddy 2 ปีที่แล้ว

    Whenever my screen size reaches 1200px my elements inside nav bar are not appearing instead it shows an empty bar .below 1200px it works fine. Could you pls tell what might be the problem?

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

    *To the everyone reading this* : Sending Virtual hugs to everyone who needs it, Stay Safe! 😷

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

    if you'll make your video in voice over, then its over for all coding channels

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

    I have an image in my navbar, when you click it it takes you back to the homepage. However, when you hover over it, it responds like the other labels. Any way to stop this?

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

    Still helpful up till this day. Thanks alot

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

    0:42 where are you typing your codes? what software is it? please i really need your help

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

    Hey, great tutorial!
    I have a problem ... When I click the "burguer menu" button, the menu does not appear :((

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

      Contact me on Instagram... Maybe you missed something on codes.

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

      Same thing here , i didn't miss any line of code , still having issues with the menu button ..do you think the fault is coming from the Editor ?

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

      Check your codes with this tutorial codes - www.codingnepalweb.com/2020/04/responsive-menu-bar-in-html-css.html

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

      @@CodingNepal bro the site is under maintainence and I have also the same issue and i wrote the exact same code of yours. Please help

  • @user-rs8oy4zz6k
    @user-rs8oy4zz6k 9 หลายเดือนก่อน

    What should i do to make the ul background dispear again when i click on one of the li anchors 😢 please help me

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

    Amazing brother ❤ 💙 🙌!!! Please continue with your videos and I promise you that I'll keep like your videosans more importantly I'll keep clicking on the Ads to support your Amazing work 👏👏
    Really thank you!!!

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

      Thank you so much.. I really appreciate it... Stay tuned 😁

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

    Great Sir

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

      Thank you...keep supporting ❤️

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

    subscribed my friend!

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

      Thanks my friend 💙

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

    Hello @CodingNepal, what's the most efficient way to keep the navbar on all pages?

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

    Awesome, this helped a lot. I am more of a python kinda guy. But I need to put together a site to showcase my projects. I am running this through python/flask though, and it does not seem to do exactly what yours does. But pretty close. Thanks, I better go figure it out.