Responsive Nav Bar Tutorial | HTML CSS JS Flexbox Navigation Menu

  Рет қаралды 177,042

FollowAndrew

FollowAndrew

Күн бұрын

Learn how to build a nav bar that is fully responsive tutorial with CSS Flexbox. We'll be using some Javascript alongside our HTML & CSS to create the navigation bar menu.
We'll add a bit of animation for transitions as well as media queries and pseudo elements for the mobile menu! Original tutorial inspiration from: / azaleamollis
PLEASE SUBSCRIBE!:
kzbin.info...
Watch: Responsive Pure CSS Menu Tutorial (No JS):
• Responsive Pure CSS Me...
Download project files:
github.com/wilsmex/edu/tree/m...
Web Hosting Needs (school code:FollowAndrew for 20% off!):
studentwebhosting.com

Пікірлер: 140
@naziruadam3950
@naziruadam3950 3 жыл бұрын
That "order" rule was very handy! I never used it before! Thanks for the thorough explanation.
@Brandon-sr4qp
@Brandon-sr4qp 4 жыл бұрын
Great tutorial, thanks! This is the navbar I've been wanting to learn, particularly the functional hamburger menu.
@rishabkumar5656
@rishabkumar5656 4 жыл бұрын
Great Video. This is the first time I have created an responsive navbar and I learnt it the right way. Thanks Mate!!
@OrincyWhyteDesigns
@OrincyWhyteDesigns 2 жыл бұрын
Damn you’re good 🤯🤯 your css nav tutorial was so good. I built 2 back to back. I didn’t even use floats and clears either, your tutorial was so easy to comprehend that I was able to change it around. Can’t wait to try this JS button !!!
@FollowAndrew
@FollowAndrew 2 жыл бұрын
Awesome! You'll be there in no time!
@Gschibby
@Gschibby Жыл бұрын
Great tutorial, and a great teacher! I really appreciate how you explain the thought process behind what you do and why you do it. I'm fairly new to web-development, but I could still easily follow along the video.
@wandavazquez3201
@wandavazquez3201 4 жыл бұрын
Best tutorial I've followed. Excellent.
@mikersson
@mikersson Жыл бұрын
Super clean and simple result and very well explained!!! Thank you so much!!!!!!!
@MohdAmirAnsari9699
@MohdAmirAnsari9699 4 жыл бұрын
That was really very amazing! Quite informative!
@babygrandadplays
@babygrandadplays 7 ай бұрын
amazing tutorial, I really appreciate the time you took to give us lessons
@dotsysdev4775
@dotsysdev4775 4 жыл бұрын
Very informative , very useful and well explained ! Thank you ! Have a nice year :)
@brett3554
@brett3554 2 жыл бұрын
I learned a ton from this tutorial thank you
@bruceclark2277
@bruceclark2277 2 жыл бұрын
Thanks for this - I have completed my navbar! Now back to the make your own wordpress theme - hopefully I can incorporate it!
@cemwstone
@cemwstone 4 жыл бұрын
Nice sampling Andrew. Thanx
@jonathanel-aziz2208
@jonathanel-aziz2208 2 жыл бұрын
Muchas gracias, estoy adentrándome al mundo del flexbox , estoy en un proyecto y ésto era lo que me faltaba hacer.
@drewstifler1440
@drewstifler1440 4 жыл бұрын
Very informative! Man, do a tutorial of making a page using Flexbox and Grid together. People make dramas of Flexbox vs Grid where in fact they can be used together.
@djjonnas
@djjonnas 3 жыл бұрын
Thanks, now I've learnt how to make a great nav bar
@penguinab
@penguinab 3 жыл бұрын
Thank you for this tutorial! Easy to follow and learn :)
@FollowAndrew
@FollowAndrew 4 жыл бұрын
Version w/o JS: kzbin.info/www/bejne/qZvVoWR8eq2hr6M
@ericaruiz6707
@ericaruiz6707 4 жыл бұрын
thanks! Medellín- Colombia, great tutorial
@icarokiilermelo
@icarokiilermelo Жыл бұрын
Very good man, it help-me a loot to understand some concepts and techniques of responsive layout
@samsar7
@samsar7 4 жыл бұрын
Very Good Tutorial.learned many things.thank you!
@FollowAndrew
@FollowAndrew 4 жыл бұрын
You bet!
@Bielito92
@Bielito92 4 жыл бұрын
Very Good, im from Brasil and I loved your content!
@guillermorodriguez8916
@guillermorodriguez8916 3 жыл бұрын
this was really helpful! Thanks for your excellent tutorial!
@FollowAndrew
@FollowAndrew 3 жыл бұрын
Glad it was helpful!
@richardsambo283
@richardsambo283 2 жыл бұрын
Thanks Andrew. Great tutorial, that was super helpful. 👍
@FollowAndrew
@FollowAndrew 2 жыл бұрын
Great to hear!
@debasishgracias757
@debasishgracias757 3 жыл бұрын
Great tutorial! very helpful.
@echuderewicz
@echuderewicz Жыл бұрын
Thanks. Nice presentation.
@mhhamzaedits
@mhhamzaedits Жыл бұрын
you are teaching GREATFULL love you bro
@fatemealhoseini4493
@fatemealhoseini4493 3 жыл бұрын
perfect tutorial , Thank u deeeeply!!!
@maikwolfram
@maikwolfram Жыл бұрын
Thank u sooooo much …. That was a brilliant tutorial !!!
@peixian2901
@peixian2901 4 жыл бұрын
Great tutorial! like your video! Thanks!
@maya34
@maya34 3 жыл бұрын
Great video! Thank you so much. :)
@ndindacodes
@ndindacodes 2 жыл бұрын
Thank you so much. I Enjoyed this tutorial and learnt a lot
@FollowAndrew
@FollowAndrew 2 жыл бұрын
You bet!
@deviljinx45
@deviljinx45 2 жыл бұрын
Thank you very much this help me alot :)
@DOTRIN
@DOTRIN 3 жыл бұрын
Great tutorial, thanks a lot
@MrMarcoAlvarado
@MrMarcoAlvarado 4 жыл бұрын
Hi Andrew, amazing video, easily comprehensible! One questions: Why do you use position:absolute for the pseudo-elements and not position:relative (toggel button)? Thanks!
@shivaniraj7738
@shivaniraj7738 3 жыл бұрын
so the toglle button will be responsive and wont move from iits position
@lunatite6451
@lunatite6451 4 жыл бұрын
Great tutorial!
@demaiainkediri6724
@demaiainkediri6724 Жыл бұрын
The best method, I recommend
@og_avocado
@og_avocado 4 жыл бұрын
You deserve more subs
@user-yd3jz6nu5l
@user-yd3jz6nu5l 5 ай бұрын
really easy tutorial to follow, thank you! I do have a question - how would i be able to put the logo in the center?
@RajeshKumar-uw9qi
@RajeshKumar-uw9qi 4 жыл бұрын
Awesome work...
@photoinshot1355
@photoinshot1355 2 жыл бұрын
Thanks for a great tutorial, how would you make the selected nav link, so it shows as another colour? There are a lot of tutorials out there about responsive nav bars, but I have not seen one that shows how to show an active link, so the visitor knows which page they are on.
@rssimran4800
@rssimran4800 4 жыл бұрын
Awesome tutorial....
@prakash1to7
@prakash1to7 4 жыл бұрын
Nice explanatory Video Andrew. please post similar videos.
@FollowAndrew
@FollowAndrew 4 жыл бұрын
More to come!
@kenthefley2226
@kenthefley2226 3 жыл бұрын
On which element would you add the transition if you wanted to the menu toggle effect to be smoother?
4 жыл бұрын
thank you man. love you
@mhhamzaedits
@mhhamzaedits Жыл бұрын
bro Your language i am not uderstandig but your work is i understandig. beacuese i am INDIAN 🇮🇳. Good work bro. Thank You for you tech us. I speak little inglish.
@ktron4144
@ktron4144 4 жыл бұрын
Great tutorial. Would you normally include the logo in the unordered list or should it be in an anchor and img tag?
@FollowAndrew
@FollowAndrew 4 жыл бұрын
Thanks! Typically probably the anchor and img tag as you mentioned.
@nicdemus-rc7gc
@nicdemus-rc7gc 4 жыл бұрын
Really nice tutorial buddy, thanks, I ditto the comment making the nav with flex and grid but eh we have to do some work ourselves! I am on that now but like the guy below that would be cool! Have a great day ;D
@Shesfantaa
@Shesfantaa 9 ай бұрын
i love youuu, thankkk youuu saveeeeddd meee
@sudipta238
@sudipta238 3 жыл бұрын
Thank You Verry Much Sir.❤
@georgesaunders3532
@georgesaunders3532 4 жыл бұрын
Is the best way to align the hamburger menu icon better to set the top to -5 and -10 respectively on the before and after pseudo elements or is there a betrer way?
@next_luke
@next_luke 4 жыл бұрын
Hi, how i can display my menu items on the left, next to the logo?
@sleepingdogpic5850
@sleepingdogpic5850 Жыл бұрын
hello, thank you very much for this tutorial -- is there any way to add submenu dropdowns?
@jasonstack397
@jasonstack397 3 жыл бұрын
loved the video. Really helpful tutorial. Does anyone know how i could animations so when the hamburger menu is clicked it has a transition effect. Would this be done using JavaScript or css and how should i go about implementing it?
@salemshehabeddin7638
@salemshehabeddin7638 3 жыл бұрын
Hello Andrew, thank you for always uploading informative video. I have a problem in this exercise. order property is not working, and when I apply the width 100% to menu items nothing changes.
@morphetowusu1785
@morphetowusu1785 2 жыл бұрын
Andrew this is tutorials great !! but I would be pleased if you go further on flexbox.. it' s very tricky.
@yassinabdulla368
@yassinabdulla368 2 жыл бұрын
thanks for this video l learn too from it
@johnlloydmoreno9517
@johnlloydmoreno9517 3 жыл бұрын
THANK YOU YOU JUST HELP OUY FOR MY FINAL PROJECT
@FollowAndrew
@FollowAndrew 2 жыл бұрын
Do I get like bonus points or something?
@kaderlakhdar5735
@kaderlakhdar5735 4 жыл бұрын
Thank you Soo much !
@miriamjurkova3623
@miriamjurkova3623 4 жыл бұрын
Great video! but u have there some mistakes instead of items u have to write item in order to work properly... .item.active { display: block; }
@doni654321
@doni654321 Жыл бұрын
I need help with mine, I done nav bars before but I am having trouble on this one. its with mega menu
@RanjeetkumarYadav
@RanjeetkumarYadav 3 жыл бұрын
Content is getting pushed down when the menu is active(showing). How do we solve that ?
@programmingempire9306
@programmingempire9306 2 жыл бұрын
Please! I need your help with this step. How to move the Sign Up button lite further more to the side and keep the Login button withe menu?? Every time try to do that, the Login button is moving as well which's not what want.
@alessandramedeiros8225
@alessandramedeiros8225 Жыл бұрын
Thanks so much!
@FollowAndrew
@FollowAndrew Жыл бұрын
You're welcome!
@gsshaykot3824
@gsshaykot3824 3 жыл бұрын
very informative with practical,please make the menu animated in mobile view....something like when we will click the hamburger icon than the items will appears from top to bottom with some transitio.
@bernardetse318
@bernardetse318 3 жыл бұрын
thanks man
@joshuanithasvillanueva9143
@joshuanithasvillanueva9143 Жыл бұрын
How would we add a transition to this nav bar? thank you so much for the video! I'm making a website for my wedding :) helps out a lot!
@imranmughal2215
@imranmughal2215 4 жыл бұрын
sir i have a question i am trying to create a responsive navbar in flex using only css. But that is not working on mobile view i mean when i click the toggle it is not appearing can you please tell me what is the problem?
@rbengrid23
@rbengrid23 4 жыл бұрын
Bonjour, Très bon cours Merci
@anuwatavara1423
@anuwatavara1423 4 жыл бұрын
Thank you so much
@2002budokan
@2002budokan 4 жыл бұрын
Follow Andrew, you'll never regret! 👍
@bukqueiroz
@bukqueiroz 3 жыл бұрын
thanks bro
@andrewsinelnikov2307
@andrewsinelnikov2307 4 жыл бұрын
Thank you
@justinroydmaquiran3344
@justinroydmaquiran3344 Жыл бұрын
What extension do you use in your live preview?
@JackieBuckleyphilly5
@JackieBuckleyphilly5 3 жыл бұрын
Thanks for the tutorial, the best. I just has one problem. I am using brackets and in javascript they consider const an error. This is how it is worded ERROR Pausing error The keyword const is reserved.
@amazongirlsfitness4370
@amazongirlsfitness4370 4 жыл бұрын
A comment, at the logo class style, add {width: fit-content;} to adjust the logo to own content, garantee not accidentally clicking logo on empty space at nav bar. Thanks #FollowAndrew Very good tutorial
@FollowAndrew
@FollowAndrew 4 жыл бұрын
Good tip.
@doni654321
@doni654321 Жыл бұрын
didn't work here, because I am already working with a massive nav bar megamenu, any help would be appreciated
@SonnyBurnett2012
@SonnyBurnett2012 3 жыл бұрын
Thank you!
@FollowAndrew
@FollowAndrew 3 жыл бұрын
You bet!
@mihirsarvaiya9389
@mihirsarvaiya9389 2 жыл бұрын
Javascript is not working on webpage can't output javascript code in web page tell me what I do?
@brianjett1446
@brianjett1446 2 жыл бұрын
I have a question how would I create this in php? it works great in HTML yet I have an ideal that might work. I'm just asking for now I don't wanna screw anything up while I'm coding.
@jlm97jlm
@jlm97jlm 4 жыл бұрын
How would you go about making home about and services centered in the desktop view?
@FollowAndrew
@FollowAndrew 4 жыл бұрын
You could wrap those in an additional wrapper and then that single div could be centered via Flexbox with the logo and login areas...
@muhammadmahdi8938
@muhammadmahdi8938 3 жыл бұрын
thank you .. :D
@ImproveProgrammingLogic
@ImproveProgrammingLogic 3 жыл бұрын
Nice
@ChallengeMeBROO
@ChallengeMeBROO 3 жыл бұрын
My hamburger menu isn''t working. I have no idea why, I copied your code exactly. My items have getting the active class when I click on them but nothing appears. Also when I remove display: none from the items in the css, it still doesn't appear, which makes absolutely no sense. I rewatched the video twice, and my css code is the same. Any ideas what is wrong with my code?
@md.obidullah6415
@md.obidullah6415 4 жыл бұрын
great.!!!
@girlingame518
@girlingame518 4 жыл бұрын
so neat
@mateuszsawczuk7252
@mateuszsawczuk7252 4 жыл бұрын
How did you make website automatic refresh? Is it some kind of IIS or Node feature?
@FollowAndrew
@FollowAndrew 4 жыл бұрын
Live Server plugin in VS Code
@justsomeguy2759
@justsomeguy2759 4 жыл бұрын
Do this navbar actually work on a mobile device? I've followed so many videos that use body {overlflow-x: hidden} to hide the menu which doesn't work on mobile devices.
@ogwurupatrick5641
@ogwurupatrick5641 3 жыл бұрын
Add it within your body style, like: html,body{ overflow-x: hidden; } It does well to prevent horizontal scroll on mobile screen sizes.
@MiguelKali6g
@MiguelKali6g 4 жыл бұрын
Saludos desde Perú 😃 🇵🇪
@FollowAndrew
@FollowAndrew 4 жыл бұрын
Que bien!
@bandhdhdh7188
@bandhdhdh7188 2 жыл бұрын
How to animate a menu like this?
@akhmadbarir9544
@akhmadbarir9544 3 жыл бұрын
Thanks...
@chandarayi5673
@chandarayi5673 4 жыл бұрын
Who knows how to activate that browser preview? cos I cant do that on VSC
@chandarayi5673
@chandarayi5673 4 жыл бұрын
cPwtQfzCZXMAcHjexz yeah I did install it but when I click Open previews it doesn’t link to my html and css webpage
@chandarayi5673
@chandarayi5673 4 жыл бұрын
cPwtQfzCZXMAcHjexz it was blank
@wembleyyy
@wembleyyy 4 жыл бұрын
hello, i went with the code until .bars styling. I have no line. The wird thing is if i add border i see vertical line
@wembleyyy
@wembleyyy 4 жыл бұрын
problem solved: i changed from background to background-color. But that doesnt respond why i have had vertical line when i added border
@FollowAndrew
@FollowAndrew 4 жыл бұрын
@@wembleyyy Not entirely sure? I'd have to see a live codepen to better understand what you're seeing.
@cybersamurai99
@cybersamurai99 11 ай бұрын
just the li*7>a is worth the subscription, amazing thank you for sharing!
@eduardoaugusto2443
@eduardoaugusto2443 2 жыл бұрын
Fixed top nav bar with dropdown and responsive, please :3
@theye.shutter
@theye.shutter 4 жыл бұрын
what application do you use ? Like sublime?
@FollowAndrew
@FollowAndrew 4 жыл бұрын
VS Code
@adrianiosif6657
@adrianiosif6657 3 жыл бұрын
hi. i did everything, but when i press the 3 bars menu....doesn't open anything. would you know what could be the problem. ? I went step by step...hmm..
@adrianiosif6657
@adrianiosif6657 3 жыл бұрын
by the way...thanks for the video..great video
@bitcoinblockchain431
@bitcoinblockchain431 3 жыл бұрын
where is the wistle ?
@zw3015
@zw3015 Жыл бұрын
how can i do it with no jquery pls help
@codeNest37
@codeNest37 3 жыл бұрын
Checkout this playlist you will find almost every type of navbar kzbin.info/www/bejne/Zme4pYuQpJxrpMk
Responsive Navbar Tutorial
13:35
Web Dev Simplified
Рет қаралды 499 М.
1🥺🎉 #thankyou
00:29
はじめしゃちょー(hajime)
Рет қаралды 82 МЛН
Backstage 🤫 tutorial #elsarca #tiktok
00:13
Elsa Arca
Рет қаралды 36 МЛН
CSS Flexbox Tutorial - Learn the right way
35:41
FollowAndrew
Рет қаралды 3,8 М.
Animated Sticky Header | Sticky Navbar on Scroll - CSS
19:41
FollowAndrew
Рет қаралды 10 М.
Responsive Navigation Bar Tutorial | HTML CSS JAVASCRIPT
35:05
developedbyed
Рет қаралды 1,4 МЛН
Animated Responsive Navbar with CSS - Plus Other Useful Tricks
11:40
Pure CSS tree view with custom tree icons
31:34
FollowAndrew
Рет қаралды 17 М.