Тёмный

Responsive Nav Bar Tutorial | HTML CSS JS Flexbox Navigation Menu 

FollowAndrew
Подписаться 43 тыс.
Просмотров 177 тыс.
50% 1

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!:
ru-vid.com...
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

Опубликовано:

 

31 май 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 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!!
@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.
@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!
@wandavazquez3201
@wandavazquez3201 4 года назад
Best tutorial I've followed. Excellent.
@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.
@MohdAmirAnsari9699
@MohdAmirAnsari9699 4 года назад
That was really very amazing! Quite informative!
@mikersson
@mikersson Год назад
Super clean and simple result and very well explained!!! Thank you so much!!!!!!!
@babygrandadplays
@babygrandadplays 6 месяцев назад
amazing tutorial, I really appreciate the time you took to give us lessons
@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!
@dotsysdev4775
@dotsysdev4775 4 года назад
Very informative , very useful and well explained ! Thank you ! Have a nice year :)
@cemwstone
@cemwstone 4 года назад
Nice sampling Andrew. Thanx
@brett3554
@brett3554 2 года назад
I learned a ton from this tutorial thank you
@penguinab
@penguinab 3 года назад
Thank you for this tutorial! Easy to follow and learn :)
@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.
@icarokiilermelo
@icarokiilermelo Год назад
Very good man, it help-me a loot to understand some concepts and techniques of responsive layout
@ericaruiz6707
@ericaruiz6707 4 года назад
thanks! Medellín- Colombia, great tutorial
@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?
@kenthefley2226
@kenthefley2226 3 года назад
On which element would you add the transition if you wanted to the menu toggle effect to be smoother?
@Bielito92
@Bielito92 4 года назад
Very Good, im from Brasil and I loved your content!
@djjonnas
@djjonnas 3 года назад
Thanks, now I've learnt how to make a great nav bar
@richardsambo283
@richardsambo283 2 года назад
Thanks Andrew. Great tutorial, that was super helpful. 👍
@FollowAndrew
@FollowAndrew 2 года назад
Great to hear!
@mhhamzaedits
@mhhamzaedits 11 месяцев назад
you are teaching GREATFULL love you bro
@guillermorodriguez8916
@guillermorodriguez8916 3 года назад
this was really helpful! Thanks for your excellent tutorial!
@FollowAndrew
@FollowAndrew 3 года назад
Glad it was helpful!
@debasishgracias757
@debasishgracias757 3 года назад
Great tutorial! very helpful.
@samsar7
@samsar7 4 года назад
Very Good Tutorial.learned many things.thank you!
@FollowAndrew
@FollowAndrew 4 года назад
You bet!
@echuderewicz
@echuderewicz Год назад
Thanks. Nice presentation.
@maikwolfram
@maikwolfram Год назад
Thank u sooooo much …. That was a brilliant tutorial !!!
@fatemealhoseini4493
@fatemealhoseini4493 3 года назад
perfect tutorial , Thank u deeeeply!!!
@next_luke
@next_luke 4 года назад
Hi, how i can display my menu items on the left, next to the logo?
@deviljinx45
@deviljinx45 Год назад
Thank you very much this help me alot :)
@ndindacodes
@ndindacodes 2 года назад
Thank you so much. I Enjoyed this tutorial and learnt a lot
@FollowAndrew
@FollowAndrew 2 года назад
You bet!
@maya34
@maya34 3 года назад
Great video! Thank you so much. :)
@peixian2901
@peixian2901 4 года назад
Great tutorial! like your video! Thanks!
@DOTRIN
@DOTRIN 3 года назад
Great tutorial, thanks a lot
@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.
@sleepingdogpic5850
@sleepingdogpic5850 Год назад
hello, thank you very much for this tutorial -- is there any way to add submenu dropdowns?
@lunatite6451
@lunatite6451 4 года назад
Great tutorial!
@user-yd3jz6nu5l
@user-yd3jz6nu5l 4 месяца назад
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...
@demaiainkediri6724
@demaiainkediri6724 Год назад
The best method, I recommend
@justinroydmaquiran3344
@justinroydmaquiran3344 Год назад
What extension do you use in your live preview?
@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.
@og_avocado
@og_avocado 4 года назад
You deserve more subs
@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?
@doni654321
@doni654321 Год назад
I need help with mine, I done nav bars before but I am having trouble on this one. its with mega menu
@rssimran4800
@rssimran4800 4 года назад
Awesome tutorial....
@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.
4 года назад
thank you man. love you
@prakash1to7
@prakash1to7 4 года назад
Nice explanatory Video Andrew. please post similar videos.
@FollowAndrew
@FollowAndrew 3 года назад
More to come!
@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
@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.
@sudipta238
@sudipta238 3 года назад
Thank You Verry Much Sir.❤
@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
@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.
@mhhamzaedits
@mhhamzaedits 11 месяцев назад
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.
@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?
@kaderlakhdar5735
@kaderlakhdar5735 4 года назад
Thank you Soo much !
@morphetowusu1785
@morphetowusu1785 2 года назад
Andrew this is tutorials great !! but I would be pleased if you go further on flexbox.. it' s very tricky.
@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.
@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; }
@Shesfantaa
@Shesfantaa 9 месяцев назад
i love youuu, thankkk youuu saveeeeddd meee
@yassinabdulla368
@yassinabdulla368 2 года назад
thanks for this video l learn too from it
@anuwatavara1423
@anuwatavara1423 4 года назад
Thank you so much
@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
@johnlloydmoreno9517
@johnlloydmoreno9517 2 года назад
THANK YOU YOU JUST HELP OUY FOR MY FINAL PROJECT
@FollowAndrew
@FollowAndrew 2 года назад
Do I get like bonus points or something?
@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...
@mihirsarvaiya9389
@mihirsarvaiya9389 2 года назад
Javascript is not working on webpage can't output javascript code in web page tell me what I do?
@andrewsinelnikov2307
@andrewsinelnikov2307 4 года назад
Thank you
@alessandramedeiros8225
@alessandramedeiros8225 Год назад
Thanks so much!
@FollowAndrew
@FollowAndrew Год назад
You're welcome!
@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.
@bandhdhdh7188
@bandhdhdh7188 2 года назад
How to animate a menu like this?
@doni654321
@doni654321 Год назад
didn't work here, because I am already working with a massive nav bar megamenu, any help would be appreciated
@bukqueiroz
@bukqueiroz 3 года назад
thanks bro
@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.
@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?
@SonnyBurnett2012
@SonnyBurnett2012 3 года назад
Thank you!
@FollowAndrew
@FollowAndrew 3 года назад
You bet!
@rbengrid23
@rbengrid23 3 года назад
Bonjour, Très bon cours Merci
@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!
@muhammadmahdi8938
@muhammadmahdi8938 3 года назад
thank you .. :D
@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.
@md.obidullah6415
@md.obidullah6415 4 года назад
great.!!!
@2002budokan
@2002budokan 4 года назад
Follow Andrew, you'll never regret! 👍
@ImproveProgrammingLogic
@ImproveProgrammingLogic 3 года назад
Nice
@girlingame518
@girlingame518 4 года назад
so neat
@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
@zw3015
@zw3015 Год назад
how can i do it with no jquery pls help
@cybersamurai99
@cybersamurai99 10 месяцев назад
just the li*7>a is worth the subscription, amazing thank you for sharing!
@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 ?
@theye.shutter
@theye.shutter 4 года назад
what application do you use ? Like sublime?
@FollowAndrew
@FollowAndrew 4 года назад
VS Code
@MiguelKali6g
@MiguelKali6g 4 года назад
Saludos desde Perú 😃 🇵🇪
@FollowAndrew
@FollowAndrew 4 года назад
Que bien!
@eduardoaugusto2443
@eduardoaugusto2443 2 года назад
Fixed top nav bar with dropdown and responsive, please :3
@abderrahmenebenounene6481
@abderrahmenebenounene6481 2 года назад
here is a vanilla javascript implementation: var toggle = document.querySelector('.toggle') var items = document.querySelectorAll('.item') toggle.addEventListener('click', () => { Array.from(items).forEach((item) => { item.classList.toggle('active') }) })
@sujuevigirls2071
@sujuevigirls2071 Год назад
thank you very much for posting crack without viruses
Далее
Responsive Pure CSS Menu Tutorial (No Javascript)
43:13
Responsive Navbar Tutorial
13:35
Просмотров 498 тыс.
ЭТО ВООБЩЕ НЕ БОЛЬНО !
00:15
Просмотров 237 тыс.
▼ОНИ ЩУПАЛИ МЕНЯ 👽🥴
32:00
Просмотров 514 тыс.
CSS Flexbox Tutorial - Learn the right way
35:41
Просмотров 3,5 тыс.
How to create a CSS navigation bar in 6 minutes! 🧭
6:28
A Worlds First On This Top Tier Radio - TIDRadio H3
11:52
Animated Hamburger Menu Tutorial - CSS Effects
6:55
Просмотров 507 тыс.
How to take control of Flexbox
16:01
Просмотров 96 тыс.
You might not need useEffect() ...
21:45
Просмотров 144 тыс.
Create a clean, modern navigation with HTML & CSS
25:17
ЭТО ВООБЩЕ НЕ БОЛЬНО !
00:15
Просмотров 237 тыс.