by far the best and the most simplest way of creating a slide-out nav menu thank you so so much!!!
@TylerPotts Жыл бұрын
Glad it helped!
@knwr2 жыл бұрын
Very nice video. I looked around at a few and decided on this one to follow. Word of advice: when transforming the hamburger to an 'X', the translate operation is tough to work with because you are calling it after the rotation, so the translation axis rotates as well. These functions work in sequence, so it is easier and better results are achieved if you call the 'translate()' function first. The resulting code is simpler as well: .hamburger.is-active, .hamburger:before { transform: translate(0px, 11px) rotate(-45deg) ; } .hamburger.is-active, .hamburger:after { transform: translate(0px, -11px) rotate(45deg) ; }
@wiNtersPista2 жыл бұрын
Dude, best tutorial in responsive navbars!
@catiaoliveira68433 жыл бұрын
Tanks for your tutorial, you saved my life at 2 a.m, just a few hours before my presentation for a jury school 🎉 😍 👏🏼
@TylerPotts3 жыл бұрын
Glad I could help!
@getsturdy2 жыл бұрын
Me: writes down code Him: "no, actually im gonna...." Me: deletes the code
@asafrushiti59133 жыл бұрын
One of the best tutorial I found in YT
@TylerPotts3 жыл бұрын
Wow, thanks!
@Yurusaii2 жыл бұрын
actually you can't hover in mobile but you can by clicking it.
@aleksandarrasic4204 Жыл бұрын
GOSHHHHH u r amazing my friend. Well done !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
@TylerPotts Жыл бұрын
Thank you! Cheers!
@randommosta24893 жыл бұрын
100% clean operation
@mooseydev Жыл бұрын
Concise. Thank you!
@TylerPotts Жыл бұрын
Glad it was helpful!
@Yurusaii2 жыл бұрын
i recommend using font-awesome for the bars!
@johnnydeymisson18423 жыл бұрын
Thank you tylerr, hugs from Brazil ♥
@vinzanity68 Жыл бұрын
fascinating. thank you!
@TylerPotts11 ай бұрын
Glad you enjoyed it!
@whyisthiscodenotworking Жыл бұрын
thanks ! for the video loved it
@TylerPotts11 ай бұрын
Glad you liked it!
@Blue_Pumpkin11 ай бұрын
Thank you. So easy to do.
@ObjectiveRealityIsKing11 ай бұрын
Great video, thanks for sharing
@hardwired663 жыл бұрын
Thank you tylerr ,❤️❤️❤️ this javascript features
@skolotoi45882 жыл бұрын
awesome !! thank you
@TylerPotts2 жыл бұрын
You're welcome!
@mikesalinas62457 ай бұрын
Esta chignon el sitio web, lo usare para mi trabajo... haber que tal queda.... gracias!!
@priyadharshinimuthukumar8970 Жыл бұрын
Thanks a lot sir...its really helped me to develop my website
@sauleRK2 жыл бұрын
can anyone tell me what did i do wrong? my hamburger menu works just fine, all the animations works... however there's no X sign when the menu is opened where could my mistake be?
@TylerPotts2 жыл бұрын
Hey, Sauler. Sorry for that, I'm not sure how to help but if you want to join my discord I'm sure someone will be able to assist you! There's so many awesome friendly devs who help eachother out :D
@monicagarcia25922 жыл бұрын
I'm having the same issue, did you ever find the solution for this?
@Fkamynk2 жыл бұрын
@@monicagarcia2592 I had the same issue but then I realized it's because the X was behind the mobile nav. You have to add a higher z-index than the mobile nav and set the position to relative on the ".hamburger.is-active:after " selection in CSS. So the code would be this: .hamburger.is-active:after { transform: rotate(50deg) translate(-3px, 2px); position: relative; z-index: 100; } .mobile-nav { position: fixed; z-index: 98; } I hope that helps 😄
@monicagarcia25922 жыл бұрын
@@Fkamynk Thank you SO much. I'm going to give this a try. Really appreciate you replying, i was going crazy trying to figure it out
@Fkamynk2 жыл бұрын
@@monicagarcia2592 lmaoo same!
@felixsowah8209 Жыл бұрын
Thank you very much.👍 great work
@TylerPotts Жыл бұрын
Thanks for watching, Felix!
@bl79373 жыл бұрын
Thank you for the tutorial. I'm a bit confused though as to why you would create a secondary nav tag below the header tag. Look at video time line 9:15. Can you explain why you did it that way?
@balkarangrewal36462 жыл бұрын
It is for the desktop view.
@joeyywill12343 жыл бұрын
thanks dad xx
@minademian Жыл бұрын
Great video, thanks!
@TylerPotts Жыл бұрын
Glad you liked it!
@Jrizy.5 ай бұрын
I know this is an older video, but I really like that theme. Does anyone know which one it is or is it custom?
@sh9vch9nk0 Жыл бұрын
Thank you for this video, helped me a lot! Very useful and clear explanation 👍🤓
@omarruiz54239 ай бұрын
After the menu buttons are clicked, does the menu slide back in?
@connerdassen7808 Жыл бұрын
The three bars of the hamburger menu are stacked on top of each other no matter what, increasing the margin just moves them down
@moksh_plays56585 ай бұрын
thank your sir helps me a lot❤
@TylerPotts5 ай бұрын
Glad to hear that
@ojoyemivhick47725 ай бұрын
@@TylerPottsGood day Tyler, I recently made use if your tutorial video for the vue js voice recognition application , it records and stuff, but doesn’t show text on screen
@letsplat__ Жыл бұрын
What VS Code Theme are you using?>
@raptorvenom7983 Жыл бұрын
It's Synthwave'84
@burgasHoH3 жыл бұрын
Very nice video and example ! Great work and presentation again !
@TylerPotts3 жыл бұрын
Thank you! Cheers!
@gnomocoder20682 жыл бұрын
You Are The Boss!
@CaddekPhotos11 ай бұрын
Question: How come my values on translates differs from yours? Does that have to do with the container and how that is styled combined with the position in the container? :)
@Imran-Desk2 жыл бұрын
Thank you big bro
@TylerPotts2 жыл бұрын
You're welcome!
@mareksamofal392910 ай бұрын
thank you!
@stvnk1m Жыл бұрын
Thanks for tip!
@lance740 Жыл бұрын
Great video
@nox2sweet Жыл бұрын
Thanks!
@abiatama Жыл бұрын
why my bars of the hamburger menu are stacked on top?? any solution?
@total.telugu55033 жыл бұрын
hello your explaination is simply superb
@TylerPotts3 жыл бұрын
Thanks!
@otepbergenovamadina62853 жыл бұрын
thank you) this is awesome))
@bazeArttutorials10 ай бұрын
good day, after applying you code, when i click on the hamburger it toggles open, but when i click on it the second time it doesnt close the menu, why is this sir?
@hamdikurdi Жыл бұрын
Hello, your vscode setup is really cool . Can you share it?
@ethanq2648 Жыл бұрын
6:28 the code for the burger
@gunjanpatil56923 жыл бұрын
after giving postion: fixed; to the menu, my nav-links are not working??
@danielfernandezjaime501411 ай бұрын
THANK U!!!!!!!!!!!!!!!!!!!!!!!!!
@jakeochukoidamatie7232 жыл бұрын
followed every step to 8:47min and my hamburger doesn't transform, i don't know what could be wrong, someone please help.
@daedalus50702 жыл бұрын
Yep had the same issue and its one of two things: - Having the hamburger/cross as a button can add a "navigable" class by default so even though the JS is correct, the css never kicks in because the button becomes: ".hamburger .navigable .is-active" - 2nd can be hard to spot and sometimes easy to forget: .querySelector uses the css style class wheras 'toggle' doesnt. I had accidentally added ".is-active" instead of just "is-active" in the toggle. Hope that helps!
@HayWhy_Pappy2 жыл бұрын
@@daedalus5070 still doesn't fix it for me. What could be the problem
@HayWhy_Pappy2 жыл бұрын
Hey. How did you fix it ?
@ShivamKumar-vd1rb8 ай бұрын
why don't we use font-awesome for hamburger menu
@samrad6508 Жыл бұрын
10:49
@samrad6508 Жыл бұрын
how is your logo and hamburger are still showing after you fully give the .mobile-nav a 100% height and width ??
@ChromaticaCitizen Жыл бұрын
Yeah I was confused about that too! Mine gets completely blocked.
@knightingirl3 жыл бұрын
Hi, thanks for the video Why did you use *.hamburger:after* and *.hamburger:before* , why not *.bar:after* and *.bar:before* instead?
@ankishkhandelwal75883 жыл бұрын
so you see in .hamburger the content is .bar to get three lines and in .bar their is no content means if we give .bar::after and .bar::before this will give only two lines may be that,s the reason
@TipoGraficoWeb2 жыл бұрын
how to add a slider on section banner in this code?
@rangabharath42533 жыл бұрын
Awesome
@indisholar2 жыл бұрын
Thanks for the video, but i'm stuck here at the end. If I click a button in mobile nav menu, it don't take me anywhere. I think the navbar should go beck in the it should take me where I want.
@Bastian6071 Жыл бұрын
same for me. Have you found a solution yet?
@timifalode51522 жыл бұрын
Pls zoom in on the IDE next time, twas too tiny to watch
@AKSHATmadan_2 жыл бұрын
im trying to make this in react but not working 😓
@fplfpl78903 жыл бұрын
how to enable this option to show the time when I was on a given line of code?
@dontbetoxic43873 жыл бұрын
git
@anon894613 жыл бұрын
Niceeee
@TylerPotts3 жыл бұрын
Thanks 🤗
@yuriyzadorozhnyi3849 Жыл бұрын
Привіт з України ! Дякую тобі друже ! Thanks a lot ! Awesome !!
@ksriharsha29113 жыл бұрын
🔥❤️🔥❤️
@one9959 Жыл бұрын
It has copyright, or can i use It if i make modifications for My website ?
@Bastian6071 Жыл бұрын
It's code. Code has no copyright
@one9959 Жыл бұрын
@@Bastian6071 ok , i just wanted to use It on My website
@Bastian6071 Жыл бұрын
@@one9959 yeah you can do so
@cryptomjkjx49913 жыл бұрын
My mind was blown....holy shit I didn't you could do that this easily......I was fucking around with if statements when all I could do is classList.toggle. Also that is-active class damn thank you for this video