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.
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!
@@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
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.
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
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.
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).
It was way easier to create a responsive navbar using a checkbox as an indicator to activate the menu bar instead of using JavaScript. Thank you for making this amazing tutorial. 😁
@@FunnyStep_BK Thanks for replying bro, I searched the problem on chatgpt and it suggested that I should import the font-awesome url in my CSS, so I think it solved the issue.
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.
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.
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!!
i learned a few things. Only thing i would add is that padding is usually bad practice, especially for nav. The padding exceeds the nav and interrupts other elements from my experience. So even if elements are absolute i still ran into a positional error.
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
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!!
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!
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 ?
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 🙏🏻🙏🏻
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.
Bruh, that's some primitive way to create a Navigation bar. Use flex don't use floats. It'll make your life easier. And also use javascript to open/close the menu and not checkboxes.
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 :"
Great video! Question for any web/CSS programmer reading this. I know 4 years after this video that we are suppose to avoid using the right and left properties, but in following the tutorial, I could not get the hamburger bar to line up vertically using the line-height. In reading, i see it is a inline element so height cannot be changed like it seems to be in this video, right? Is that something that has changed since this video was recorded? Still like the videos, very helpful. Curious, thanks
If your icons aren't showing, replace the line no.8 script of index.html with this:
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
Html5 css3 js website demo please
mero chalena
@@AbhishekKumar-sm7or po
@Hangeldi Atajanov You neet a Wix ad (script.js)
Never thought i could cry making a nav bar, but this music got me
☺️☺️
@@CodingNepal WAHAHAHAAHAHAHHA me too im about to cry now :(
Ahahaha
Same here brother
😂😂
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.
Thank you sir 👍
Thanks :)
or you can use ul>li*3 and you will have 3 of li nested in ul ;P
Ohh wow this just help me a lot👏🏾👏🏾 THANKS!!
Good input.
Also for Mac you use combination of Option + shift and down arrow.
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!
Thank you so much for your appreciation.. Stay tuned 💙
Hey man can u please give me a source code here !
i want to thank you too.. we need people thanking people who help people too..
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!
Sometimes talk is important cause I didn't know why he did some things here
@@mbahchris1188 once you learn what each thing do then it’s easy to follow along
@@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
@@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
He is talented in creating websites.
Me: i am talented in watching the talents of others
Hahah 😂😂
Same here😆
you made me chuckle for i too am talented at watching the talent of others
@@bridget7223 lol
one voice
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.
Who chose the music? Came here for burger bar and left suicidal 😭😭😭😭
😂😂😂ishliye roo rahe hoo
ikr, I don't even know if I want to finish my project anymore..
@@oussama1811 😂😂😂
@@anshupriya3313😹😹😹
@@Geethen 🤣😆
we need to use ->(area-hidden="true") inside tag, to get hamburger.
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
Haha 😂... Keep watching bro
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.
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.
Glad it was helpful!
Can't Go back without liking.......👍👍
(background music was so Awesome & relaxing )
Thank you
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🚀🚀
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).
The classical music on the background makes it so peaceful to learn!
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!
Nice idea of using a checkbox as a indicator for activating the menu bar instead of using javascript 😁. 👍👍👍
the fact that I got a wix ad make me mad
I really like this video! I have been browsing RUclips for a while now to find a video like this. Love from India. :)
Keep watching and supporting :)
It was way easier to create a responsive navbar using a checkbox as an indicator to activate the menu bar instead of using JavaScript. Thank you for making this amazing tutorial. 😁
Hey bro I can't seem to make the toggle button. Can You help me with that.
@@talha3213 Yes of course, what exactly is the problem that you are facing?
@@FunnyStep_BK Thanks for replying bro, I searched the problem on chatgpt and it suggested that I should import the font-awesome url in my CSS, so I think it solved the issue.
@@talha3213 Nice 👍
I always struggled understanding css, i get some of it, however your video has helped me finally finish my web project :)
Glad it helped!
I like that you demo in the beginning then again after. Thanks for that.
Thank you...Keep watching our other videos :)
i love how you can see what every line does :)
more channels sound record this way
Thank you 💙... Keep watching
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.
Thank you 💙.. Keep watching
You are welcome.❤
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.
You're welcome... Keep watching my videos and best of luck for your work.
Watch my new videos also... You won't be disappointed.
Of all I have seen you have got the shortest videos thank you soo much
A dream tutorial! Just code and classical music...
Thanks man, you have no idea how much your video is helping us
Happy to help!
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!!
Your welcome :)
Brilliant task you have done, may be I would never forget you. Keep sharing your skills & patience with us. May almighty grant you...
Many many thanks
i learned a few things. Only thing i would add is that padding is usually bad practice, especially for nav. The padding exceeds the nav and interrupts other elements from my experience. So even if elements are absolute i still ran into a positional error.
you can use a instead of a right ?
Yes, but professionals use nav in navbars
Great tutorial! whats impressive is that even the climax is sync with background music!
see at 6:29
😂
YOU SAVED MY EVENING!!!
Glad to hear that
Thanks, been battling to find just this!!
Thank you.. Keep watching nd supporting ❤️
best channel
you will get responses for your doubt very fast
👏👏👏👏👏👏
Thank you bro 💙
never thought that it could be so dificult, but the music make me want to do it again and again
thans you very much🙂
*To the everyone reading this* : Sending Virtual hugs to everyone who needs it, Stay Safe! 😷
What's with the mask
@@indianathe3rd742 c o v i d ?
Big thanks for this. Great help for me for starting learning html and css ❤️
Glad it was helpful :)
i like that you demo in the beginning then again after. Thanks for that.......
Glad you liked it!
I spent hours trying to find something like this. You saved my life. I loved the video and the music
Thank you and don't forget to visit this channel for more helpful videos.
Great Tutorial! I am having trouble putting the menu in a block postion. The command is around lines 68 - 76 in the css
You can download codes from description link.
hi i have same issue. Did you figure out please? hope you don't mind to share.
I searched nav bar but emotional
if you'll make your video in voice over, then its over for all coding channels
Thank u. Em cheppagalam inthakannaa. Really u decreased my stress levels to down about nav bars.
Awesome trick with the checkbox to avoid using javascript at all. Nicely done!
Thank you 💙
Great tutorial man, it was so helpful. NIce background music too!
Thank you.. Stay tuned 😁
menu HTML, css beautiful
Thank you 💙
I cant stay alive without giving you a salute
Glad to hear that 😁
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
Really appreciate your coding skills, so smoothly executed...
Thanks a lot!
This is great man, I' m new to coding and was wondering how do you get HTML and CSS ?
Keep learning..
Thank you for this! Easy tutorial, no talking, just watch and learn!
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!!
You're welcome bro 💙
I'm a visual learner and these type of vids really helps! thank you sm
for long time we r searching for this...
now i found thanks bro...
You're welcome bro 💙
This 7 min tutorial took me like 30 mins LOL
😁😁😁 Stay tuned.
It is a nice responsive navbar
Thank you.. Stay tuned 😁
hello why does the is not working on me no background picture is shown
i wanna insert some text too how will i insert some text it's gonna be like curriculum vitae
You have to set proper path of your image like I've set in the background property in css.
@@CodingNepal please I don’t still understand. I did everything you did. But still can’t add the pics. Please help. Thanks a lot.
You are a real inspiration towards coding
Thanks so much #CodingNepla#
I appreciate that!
building a responsive navbar with tears in my eyes :)
At 6:29 what is the significance of '~ul' what does '~' exactly mean?
It's a general sibling selector: It selects only the first element if it follows the first element and both children are of the same parent element.
Me encantó el diseño, intenté tres veces para que me salga y me salió
IDK why ... but the 3 lines are not showing in the website
even when i try the source code
EDIT: NVM is fixed it
Make sure you're connected with the Internet and linked icons with current fontawesome updated link.
One of the best video found on RUclips.
Thank you 💙
I live in England this does really help love to Nepal ♥️
me: doing the same and end with a list without any colour or in the right order... thinking about quitting with life Xd
hahahahahahaha
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!
You're welcome bro.. Stay tuned 😁
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 ?
You may removed label and input tag... Please send your code on my Instagram.
Such a Great Web designer of all time
Can you plz tell me what's the difference between *Inline flex* & *Inline block*
Check out this - www.geeksforgeeks.org/what-is-the-difference-between-inline-flex-and-inline-block-in-css/
terimakasih bung, anda mempermudah pekerjaan saya menjadi lebih cepat🥸
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 🙏🏻🙏🏻
You need JavaScript to close the navbar when we clicked outside of the navbar.
@Daniel Tibbotts
Thank you
@@allroundersports1953 ?? Hhh
@Daniel Tibbotts Nice 🤩👍🏻
to simplify the code:
navUl.addEventListener("click", ()=> {
check.checked = !check.checked ;
});
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.
Hey, great tutorial!
I have a problem ... When I click the "burguer menu" button, the menu does not appear :((
Contact me on Instagram... Maybe you missed something on codes.
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 ?
Check your codes with this tutorial codes - www.codingnepalweb.com/2020/04/responsive-menu-bar-in-html-css.html
@@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
Great Job
Thank you... keep watching :)
hands down the best tutorial about responsive navbar I have found, thank you
Thanks for the video! Love from India!
Love from Nepal.
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 😥
Make sure you've linked fontawesome in your html file and you're connected with the Internet.
@@CodingNepal I solve the problem, thank you so much! 🥰
@Mathias GEGOUT try to download the codes from the link, the css have an @import rule for the bar
@CodingNepal I've linked it, add the import but it still don't work... what could it be?
@@gabrielguerreiromusic did you solve it?
Bruh, that's some primitive way to create a Navigation bar.
Use flex don't use floats. It'll make your life easier.
And also use javascript to open/close the menu and not checkboxes.
Yes i know please visit channel there are already many videos on navigation bar with css flexbox and javascript.
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 :"
Decrease the padding of the navbar and the logo size inside media property.
@@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
@@nour3660 same problem i have also
@@goran-is6zr You probably need a different link for the fa fa bars
Se atentem a versão do fontawesome
I'm new learning this
After watching this my
My reaction just woow❤
This responsive navigation bar which is using HTML, CSS was very simple.Thanks for sharing.
The music choice is insanely annoying to follow these steps. I had to mute for better focus.
Okk.
Believe it or not, this song makes me wanna work and focus
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
Check code from description.
@@CodingNepal can u copy the link here I can't see
www.codingnepalweb.com/2020/04/responsive-menu-bar-in-html-css.html
Why is ul li not align with logo.? Is just a few px lower on mine.?
subscribed my friend!
Thanks my friend 💙
Thanks for making video like this....and special thanks for making the things easy for my type of developer
It's my pleasure
@@CodingNepal how can i be in your touch ?
Please explain col-sm-12 type of bootstrap
Still helpful up till this day. Thanks alot
uses float in 2019...
me: imma head out!
Here is a same video without used of float - ruclips.net/video/mbDNrvKLAGM/видео.html
@@CodingNepal thanks for the quick reply
your work is highly appreciated by me
you got a new sub
Thank you 💙😁
কিছু বুঝতে পারছিনা
useless
Thank you so much. But I have one challenge that I faced which I can't design exactly but I don't may is because I am using a mini laptop.
Thank you.
set max-width
@media (max-width:890px)
I am from Nepal I am glad I can support
So easy to understand. Love everything about it. Keep it up ☺️
Great video! Question for any web/CSS programmer reading this. I know 4 years after this video that we are suppose to avoid using the right and left properties, but in following the tutorial, I could not get the hamburger bar to line up vertically using the line-height. In reading, i see it is a inline element so height cannot be changed like it seems to be in this video, right? Is that something that has changed since this video was recorded? Still like the videos, very helpful. Curious, thanks
He is the best web programmer in the world ❤
You are reisss( a compliment in Turkish )
👏👏👏👏
Stay tuned bro 💙
Millions of thanks for your helpful video 😊
You're welcome 💙
Yo vdo ta herdi herako thena ll 1 m pugexa ta ❤️❤️
Ajel coding sikdai xau ki.. Comment matrw ho 😂
Thanks for the video from INDIA
You're welcome 💙
Where have you been 🙄👌👌🔥🔥🔥🔥🙌🙌🙌❤️❤️❤️😂😂😂I love it
now i understand, that we need to give changes step by step , understood clearly .