Build a Responsive CSS Navbar in 16 Minutes

  Рет қаралды 85,594

Tyler Potts

Tyler Potts

Күн бұрын

Learn how to build a responsive CSS navbar and Hamburger menu in only 16 minutes using flexbox and other css tricks!
// JOIN MY DISCORD CODING COMMUNITY
/ discord
// Support me on Ko-Fi
ko-fi.com/tyle...
// FOLLOW ME ON TWITTER
/ tyler_potts_
// MY GEAR FOR CODING AND KZbin
Blue Yeti Microphone: amzn.to/3jr3l7T
Microphone Stand: amzn.to/35B9LMN
Chair: amzn.to/3dWds3F
Thunderbolt Dock: amzn.to/3osBF6u
Monitor: amzn.to/37I8KoR
All of these products I own and have tested!
// INTERESTED IN GAME DEV?
Game development channel: / muddywolf
// CHECK OUT MY GAME
play.google.co...
// DO THESE SIMPLE STEPS
LIKE, SUBSCRIBE & SHARE

Пікірлер: 142
@banderamusical
@banderamusical 2 жыл бұрын
I've seen a 1000 videos on Navbars and this one is the One that Rocked my World!, Thank you much Mr Tyler Potts!
@TylerPotts
@TylerPotts 2 жыл бұрын
You're welcome I'm happy you liked it!
@Shanelle-wy1xc
@Shanelle-wy1xc 7 ай бұрын
I was in charge off the html and css for a group project. This was the. Final touch I needed that I couldn’t find 😩 hoping to add it tomorrow and get a bonus for adding this!
@NeedForReed
@NeedForReed 3 жыл бұрын
Stumbled across this on Reddit. This is the perfect tutorial for my current ability level. Thank you for making this!
@TylerPotts
@TylerPotts 3 жыл бұрын
Glad it was helpful!
@madrock182
@madrock182 2 жыл бұрын
Your videos are really well put together! As a new gumby web developer it is so easy to get lost and stuck while learning to program. You explain things super well and it gives me hope that I might actually figure this out 😂. Thanks so much! You have a great future here!
@TylerPotts
@TylerPotts 2 жыл бұрын
Glad you like them!
@davmich4654
@davmich4654 2 жыл бұрын
@@TylerPotts I love you man
@本翔盧
@本翔盧 2 жыл бұрын
3:44 html 結構 15:40 hamburger 漢堡選單動畫 11:15 hamburger js 邏輯 12:20 hamburger RWD 設定
@xzan1276
@xzan1276 2 жыл бұрын
Thank you for this! I got it working perfectly! DId you ever do the next video on adding the "drawer"?! I don't know where to go from here!
@admniyeokuyorsun...3044
@admniyeokuyorsun...3044 3 жыл бұрын
subbed and liked, straight to the point, beautiful code, and no bs, just the tutorial. I liked the style of the video.
@TylerPotts
@TylerPotts 3 жыл бұрын
I'm happy you liked it :D
@badermuteb4552
@badermuteb4552 2 жыл бұрын
you are the bet tyler. world class design. how to make the nav appear after click?
@dgia1000
@dgia1000 Жыл бұрын
Finally a simple and well-explained way to create this!
@vokhactri
@vokhactri 3 жыл бұрын
you can use a vscode extension named Live server to serve static html file without installing http-server
@codeFRONT.
@codeFRONT. 2 жыл бұрын
I was just abouts to say...
@tyjeait
@tyjeait 2 жыл бұрын
Wow, this is really what I a needed to learn to make my Navbar project responsive, thank you very much!.
@TylerPotts
@TylerPotts 2 жыл бұрын
You're very welcome!
@bergjoel93
@bergjoel93 2 жыл бұрын
Thanks for the video! Is the next video to show us how to add the draw-down menu out yet? Thanks!
@davmich4654
@davmich4654 2 жыл бұрын
Wow, your works are great, the to-do list, how to create a stopwatch, all your videos I have watched, they are all amazing, helpful and easy to understand and follow, thanks for the tutorials, some knows how to do all these things, but they keep it to themselves, thank you for your time you spends in creating all these videos, all the tutorials thank you very much, God will keep increasing your knowledge in what you are doing thank you very much, I'm a beginner and I really want to be like you when I grow up
@TylerPotts
@TylerPotts 2 жыл бұрын
Thank you, Joseph
@alliscool4009
@alliscool4009 2 жыл бұрын
@@TylerPotts Hi Tyler, I am new to this channel, where is part 2?
@SirCruz-ms5jp
@SirCruz-ms5jp 2 жыл бұрын
Nice tutorials, Sir!. But may I ask, How to show the choices when we clicked then button?
@yao_barna
@yao_barna 2 жыл бұрын
Just found this video, way to explain, thanks! Cheers from Argentina.
@FarhanTanmoy
@FarhanTanmoy 2 жыл бұрын
This is an amazing video. Very easy to follow for a beginner like myself. However, I couldn't find the video where you show how to make the drawer come out when the burger is clicked. Would you please help with this?
@pandora_fortnite3141
@pandora_fortnite3141 2 жыл бұрын
how do you fix it
@lilouachab57
@lilouachab57 2 жыл бұрын
Thank you !!! Nice so many stuff to learn here. And so many videos you have done !!! What is the next ? :D
@TylerPotts
@TylerPotts 2 жыл бұрын
Thank you and a lot more is coming!!! :D
@maax4041
@maax4041 Жыл бұрын
I have a problem with the hamburgers, I wrote everything down straight away and it doesn't say I have a mistake. but still nothing happens when i press it
@takayumaja9438
@takayumaja9438 2 жыл бұрын
Thank you so much Tyler Potts
@blessednutsnick8060
@blessednutsnick8060 Жыл бұрын
awesome vid, u ever post a part 2?
@osmeig6025
@osmeig6025 3 жыл бұрын
Excellent video! What theme do you use in your visual studio code?
@TylerPotts
@TylerPotts 3 жыл бұрын
Thanks and SynthWave84
@saurn1221
@saurn1221 2 жыл бұрын
Thx, I really needed a navbar you got a sub:)
@cjjb
@cjjb 3 жыл бұрын
Nice one mate. I've hit that bell icon for the next video! Looking forward to it.
@TylerPotts
@TylerPotts 3 жыл бұрын
Awesome, thank you!
@mhn147
@mhn147 2 жыл бұрын
Tahnk you!
@ClockcloudStudios
@ClockcloudStudios Жыл бұрын
Hey, just need some help with the "justify-content: flex-end;" is not working. Any ideas on what could be the problem! But great vid.
@thewilllei3573
@thewilllei3573 Жыл бұрын
Maybe is a little late but I had the same issue and just let in that block the lines for display: none and justify-content: flex-end and it worked well
@kushagrapandey1275
@kushagrapandey1275 Жыл бұрын
best tutorial i've ever found thxx !!
@kaleblamar2232
@kaleblamar2232 Жыл бұрын
I cannot get the is-active to work. When I click on it nothing happens 😑
@nientranai1669
@nientranai1669 2 жыл бұрын
well explain. thank you so much
@TylerPotts
@TylerPotts 2 жыл бұрын
Glad it was helpful!
@jonice4229
@jonice4229 3 жыл бұрын
your vscode looks awesome!
@TylerPotts
@TylerPotts 3 жыл бұрын
Glad you think so!
@rangabharath4253
@rangabharath4253 3 жыл бұрын
Awesome as always 👍😀
@TylerPotts
@TylerPotts 3 жыл бұрын
Thanks for the visit
@christinwilson6384
@christinwilson6384 2 жыл бұрын
People have said this below, but the click when adding the javascript is not working. Any clue on why or how to fix it?
@joelleimbacher6696
@joelleimbacher6696 2 жыл бұрын
Did u linked it in the script tag on your html code ?
@AlaSwekProductions
@AlaSwekProductions 2 жыл бұрын
Thank you! Working very good! You are awesome!
@jalaleddinenader2108
@jalaleddinenader2108 2 жыл бұрын
can u sahre code plz?
@AlaSwekProductions
@AlaSwekProductions 2 жыл бұрын
@@jalaleddinenader2108 I don't have it anymore, I used it then
@santiagomedinafiguera7280
@santiagomedinafiguera7280 3 жыл бұрын
Great tutorial, bro. I found this on Twitter.
@TylerPotts
@TylerPotts 3 жыл бұрын
I appreciate it
@hertderg12
@hertderg12 2 жыл бұрын
for the life of me cannot get the .hamburger.is-active transform to work. added is-active as a class to the hamburger button and nothing changes.
@Dhruvios
@Dhruvios 2 жыл бұрын
Can you make the next part pls i really need this is the only good tutorial i found
@punctdaniel
@punctdaniel 2 жыл бұрын
Thanks for the knowledge sharing. Easy to follow. I am a complete beginner and I am coding along to get a bit of the flow. After will jump in creating my own navbars/ contact forms, the basics and maybe after 1 year from now I will be quite good at creating basics and can beginn learning JavaScript.
@TylerPotts
@TylerPotts 2 жыл бұрын
Great to hear!
@paullassa219
@paullassa219 2 жыл бұрын
this was a great video man, i cant seem to find the continuation where you make the dropdown menu for the hamburger
@TylerPotts
@TylerPotts 2 жыл бұрын
It should be on my channel, sorry for not linking in the description
@Reality23458
@Reality23458 2 жыл бұрын
@@TylerPotts I wasent able to find it on your channel
@sajad6011
@sajad6011 2 жыл бұрын
@@TylerPotts I can’t find it on your channel
@stevejacques6409
@stevejacques6409 3 жыл бұрын
hi sir, i tried to link my js to my html and i think that i did evrything well but it doesnt work. it doesnt toggle when i click on it
@ahmedabdelrahim933
@ahmedabdelrahim933 2 жыл бұрын
make sure you add the Javascript code on HTML just before it worked for me
@Ronniethesillyguy
@Ronniethesillyguy 2 ай бұрын
The button hover thing didnt work, it just made the background color show always, also, I put this on the main page, and it worked but then when I copied the code in the .html file and put it into another .html file, it didnt work, please tell me how to make it show on every page Also the click detector in javascript didnt work also the hamburger never shows up
@zeroclu
@zeroclu 2 жыл бұрын
Hey just wondering if you ever did setup to dropdown for the spans. I couldnt seem to find a video
@kaungsithu3531
@kaungsithu3531 Жыл бұрын
where is the 2nd part of this video for the responsive? can i get a link because i cannot find it yet.
@danadunnett6694
@danadunnett6694 Жыл бұрын
For me - everything else is working except - I can't see the hamburger or the animation for it at all. Anyone know what the reason might be? :(
@rekan_98
@rekan_98 3 жыл бұрын
can u provide the source code, please.?
@KrXza
@KrXza 2 жыл бұрын
why does my hamburger disappear when i resize the width smaller
@Shanelle-wy1xc
@Shanelle-wy1xc 7 ай бұрын
Will this work using semantics as well?
@avtar2565
@avtar2565 2 жыл бұрын
hey bro can u recommend a advance css course , where i can learn things like this, i already completed beginner course but that was not near to this funcanility
@aminkrasniqi8659
@aminkrasniqi8659 Жыл бұрын
all good bro u just forgot too put the page that should open after you click the hamburger
@SickPlayerfin
@SickPlayerfin 2 жыл бұрын
Hi, I would like to know how you jump from tag to tag. For example @1:29 you write "home" and jump to the next tag. Is that an extension or shortcut or what?
@TylerPotts
@TylerPotts 2 жыл бұрын
Uhh I'm not sure it's just natural for me 😂
@motivateurself9852
@motivateurself9852 2 жыл бұрын
great tutorial, could you please tell me while display
@Unknwon__now
@Unknwon__now 2 жыл бұрын
somethings wrong with the js code for me, please help.
@anol4590
@anol4590 Жыл бұрын
Is there no dropdown menu?
@vujadinovicc
@vujadinovicc 2 жыл бұрын
it is not clear to me how we connect things that we write in html and transfer to css. I need a header with a picture, then a separate navigation bar below it, and when it scrolls down, keep it at the top, and below the navigation, there is content that is also separate from the navigation. my problem is that I don't know how to link what I write in html to edit it in css. which tags should I use. If anyone can help me I would be very grateful if you do not understand what I want to ask you then I can send you a picture
@Chris-nk6qw
@Chris-nk6qw 2 жыл бұрын
great vid! where is part 2?
@TylerPotts
@TylerPotts 2 жыл бұрын
Thank you and sorry I haven't made a part two, I'll look into it in the near future.
@godusopp4222
@godusopp4222 Жыл бұрын
can i do this without js?
@mancoking9051
@mancoking9051 2 жыл бұрын
Hi tyler, i got a lil troub Mine just apears on left
@yanyanrey8598
@yanyanrey8598 2 жыл бұрын
I'm trying to find the next video but impossible, heve you got a link of maybe the source code ? Thanks for this tutorial
@GtrFsg
@GtrFsg Жыл бұрын
pleaze can I have the code
@DK-pf2dg
@DK-pf2dg 3 жыл бұрын
Please more Vue Composition Api vids
@ezhukovroman
@ezhukovroman 3 жыл бұрын
Bam, Like!
@TylerPotts
@TylerPotts 3 жыл бұрын
Love that! :D
@prudhvichinnam1488
@prudhvichinnam1488 3 жыл бұрын
Keep doing tutorials and do CSS tricks and js tricks videos
@HusseinOuda
@HusseinOuda Жыл бұрын
Excellent video and explanation But the video ended and the list was not linked when placing the mobile it should be a drop-down list!
@rohanhassan9654
@rohanhassan9654 2 жыл бұрын
What's the name of the program that you use? I'm completely new to coding.
@BlackDev
@BlackDev 2 жыл бұрын
vscode
@rohanhassan9654
@rohanhassan9654 2 жыл бұрын
@@BlackDev thanks!
@geee7672
@geee7672 2 жыл бұрын
But where is the final part of this nav?
@sajad6011
@sajad6011 2 жыл бұрын
Where is the other video?
@felixongley2953
@felixongley2953 2 жыл бұрын
I'm having some problems with the hamburger menu, it positions itself underneath the title rather than on the right of the screen. Please help
@seabassU1
@seabassU1 Жыл бұрын
I am having the same problem. Did you fix it yet?
@ftheriault
@ftheriault 2 жыл бұрын
This video where continus part2
@rohanhassan9654
@rohanhassan9654 2 жыл бұрын
My JavaScript isn't working but it's identical to yours! Do I need some extension or something?
@parman438
@parman438 2 жыл бұрын
i have the same issue did you find a solution?
@hardwired89
@hardwired89 3 жыл бұрын
❤️❤️❤️ content css js react.
@shashanknavale7382
@shashanknavale7382 3 жыл бұрын
This JavaScript part doesn’t work for me the hamburger animation
@TylerPotts
@TylerPotts 3 жыл бұрын
Oh no, can you see any console errors?
@benfisher543
@benfisher543 2 жыл бұрын
@@TylerPotts me too I think its a problem with the classList element
@SwanzSkate
@SwanzSkate 2 жыл бұрын
Hi Tyler, I'm following along and at about 11:32 I have the X animation for the hamburger done successfully but it creates a rather lopsided X compared to the perfect looking one you have going on here. What do I modify to fix this?
@deeeera
@deeeera 2 жыл бұрын
keep adjusting the figures till it looks better
@kaedemc1
@kaedemc1 2 жыл бұрын
im guessing your 2px in nth child 1 isnt negative
@wes_333
@wes_333 Жыл бұрын
@@kaedemc1 you are a legend! i was struggling with the same issue haha. Thanks so much!
@izi_cimpu0531
@izi_cimpu0531 2 жыл бұрын
i followed the tutorial step by step but my spans dont rotate. any help?
@TylerPotts
@TylerPotts 2 жыл бұрын
Sorry to hear that! If you join my discord server (link in desc) you can leave a post in our forum to get help!
@izi_cimpu0531
@izi_cimpu0531 2 жыл бұрын
@@TylerPotts i solved that nvm. But where is the second part to the video?
@luc7106
@luc7106 3 жыл бұрын
pls part 2
@itzthecarver
@itzthecarver 2 жыл бұрын
can you upload the source code!
@tvvee
@tvvee 2 жыл бұрын
how can i continue making my main part after this? Im so stupid lol but i'm lost. Thx for the tutorial tho, it's great
@TylerPotts
@TylerPotts 2 жыл бұрын
Thanks for watching and sorry I'm not sure where you are, I do have more tutorials that cover the navigation bars
@GlowingAviation
@GlowingAviation 2 жыл бұрын
7:41 REMIMDER FOR ME
@dinakanwamu5676
@dinakanwamu5676 2 жыл бұрын
Awesome Video is there any way we can access the code files in the video
@TylerPotts
@TylerPotts 2 жыл бұрын
Sorry if its not in the description then I might have lost the files! My apologies!
@StratusWeather1
@StratusWeather1 2 жыл бұрын
5:20
@dinakanwamu5676
@dinakanwamu5676 2 жыл бұрын
Is there a part 2
@TylerPotts
@TylerPotts 2 жыл бұрын
Sorry no, but I'll try create the part two later on. Although I have covered a similar video that could be classed as part two in a different video.
@djkeiran2172
@djkeiran2172 2 жыл бұрын
can we have source code
@HoratioKJV
@HoratioKJV 3 жыл бұрын
Where do you get the patience from to still write vanilla CSS now that frameworks such as Tailwind exist?
@Deus-lo-Vuilt
@Deus-lo-Vuilt 2 жыл бұрын
nice video, like and sub
@TylerPotts
@TylerPotts 2 жыл бұрын
Thank you 👍
@jameswaterson3883
@jameswaterson3883 3 жыл бұрын
Please post the github link
@TylerPotts
@TylerPotts 3 жыл бұрын
Sorry, there is not a Github link for this project.
@Rebinde
@Rebinde Жыл бұрын
pls github src
@Alex-sv8th
@Alex-sv8th 3 жыл бұрын
Using multiples of 16px instead of rem would hurt my head, too much unnecessary maths required
@CMoDZ3D
@CMoDZ3D 2 жыл бұрын
damn i just watched this for nothing lmao. no part 2?
@A-Miracle000
@A-Miracle000 2 жыл бұрын
same lol what did you do ?
@CMoDZ3D
@CMoDZ3D 2 жыл бұрын
@@A-Miracle000 i already know the majority of making a nav so the full video was pointless lol i needed to know how to make a working hamburger menu
@TylerPotts
@TylerPotts 2 жыл бұрын
Apologies, no idea why I decided to make only half a video... Here's how I turn a navbar into a slide out hamburger menu. kzbin.info/www/bejne/hXeuc5imbpqfmJY
@A-Miracle000
@A-Miracle000 2 жыл бұрын
@@CMoDZ3D same I don't know how to make the menu :(
@A-Miracle000
@A-Miracle000 2 жыл бұрын
@@TylerPotts thank you i will check it out ^ ^
@shakilahmed6870
@shakilahmed6870 2 жыл бұрын
I checked your channel and you did not upload the second part. So you have literally wasted 1 hour of my life. What the heck man??
@beatriz1598
@beatriz1598 2 жыл бұрын
sorry but it's useless if you don't teach us how to do the dropdown thing 😅😭 I had to look for another tutorial to do it all over again
@Stollie
@Stollie 2 жыл бұрын
why u stealing my website
@bricepowell7804
@bricepowell7804 2 жыл бұрын
gotta love not having the source code referenced...
@TylerPotts
@TylerPotts 2 жыл бұрын
Sorry not all videos do as my GitHub had issues when recording this
@wes_333
@wes_333 Жыл бұрын
you are going too fast buddy, please slow down
@jorgerauljimenez3307
@jorgerauljimenez3307 2 жыл бұрын
Very bad tutorial. Yes
Create a responsive navigation nav with no JS!
44:13
Kevin Powell
Рет қаралды 474 М.
Build a Slide out Hamburger Menu with HTML, CSS & JavaScript
16:27
Tyler Potts
Рет қаралды 115 М.
Players vs Corner Flags 🤯
00:28
LE FOOT EN VIDÉO
Рет қаралды 58 МЛН
Do you choose Inside Out 2 or The Amazing World of Gumball? 🤔
00:19
Responsive Navigation Bar Tutorial | HTML CSS JAVASCRIPT
35:05
developedbyed
Рет қаралды 1,4 МЛН
Navbar CSS Tutorial: 3 Ways to Create a Navigation Bar with Flexbox
15:08
Responsive Navbar Tutorial
13:35
Web Dev Simplified
Рет қаралды 505 М.
Subtle, yet Beautiful Scroll Animations
5:04
Beyond Fireship
Рет қаралды 1,7 МЛН
Animated Responsive Navbar with CSS - Plus Other Useful Tricks
11:40
Responsive navbar tutorial using HTML CSS & JS
49:25
Kevin Powell
Рет қаралды 1 МЛН
Responsive CSS Grid Tutorial
17:14
Angela Design
Рет қаралды 832 М.
Players vs Corner Flags 🤯
00:28
LE FOOT EN VIDÉO
Рет қаралды 58 МЛН