If you guys are having trouble with the toggle not showing, try minimizing your window. If you see the three lines after doing that then congrats you followed well! Now to fix this issue, the solution I found was to adjust the max width from the line that has @media from 992 to a higher number, btw mine worked at 2000px.
@@Marieswaran_17 In your code, add this script: window.addEventListener("DOMContentLoaded",function(){ alert("Window width:" + window.innerWidth"); alert("Window height:" + window.innerHeight); } also, try adding this meta: your code wont work if the meta tag is not added, so take care of that. Edit: This occured to me too when i was learning programming, and happens usually with a lot of programmers. Just make sure you check the syntax again
the best video I have ever seen for the responsiveness of the website. in fact this the video which gave me the complete understanding of the responsiveness . thank you so much great work do More
Hey! Awesome work and thank you very much! I adjusted dropdown menu to suit my project and your tutorial helped a ton. I am having a bit of trouble with toggling an xmark, any other icon for that matter. Xmark apparently isn't included in font awesome 5 free so I tried with other icons but nothing works! Still have the good ol bars so not really an issue.
This is amazing, although I would like to make a suggestion, do you think it’s possible you input speech as you code? Just for more clarity and gives you the time to explain certain things, big love and a nice one. 👏🏽
Thank you for the excellent video! By the way I have a question. Is there any specific reason of using , instead of tag? I presumed that would fit semantics better than . I am a beginner , so any informative comments would be highly appreciated! Thank you sir!
There is no reason for the should have a class of 'navbar'. you can also use tag with a class of "navbar". btw using a tag itself for designing can be overwritten by its priority order. since class have higher priority than tagname
ooh, it's so cute to see clean html after working with React and Next.js for a long time.. it's like playing on an old 8bit Dendy🥰😍😍😍 there are no functions, states and props here - i love it!
I changed few things of font-awesome and it works fine for me , I used this rel link : cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css then for bars use class = "fa fa-bars" , for cross/xmark use class = "fa fa-times" . I hope this will help you☺
Youre not following the DRY principle, youre repeating the menu text links, so when you need to update it, you must it do it twice. Also when using the position:absolute, you are using rem and px units.
Thank you a lot for this treasure of a video! Really well explained and so easy to follow! How could we expand you JS code so that when someone clicks a link in the mobile navbar, the navbar closes automatically after the link being clicked?
Wow such a beautiful and simple follow along tutorial. Keep on bringing quality content, you have our support 💝 Btw which background music did u use in this video??
Hello Web Dev Creative, is it possible to have logo on center and links on left and the button on right side in the navbar if this does possible recommend some videos or just me here because I am struck to learn my how to make responsive navbar sorry bothering you. please let me know.
great job, but sadly we needed a little JS. Got me confused in the end there. I guess there is no such thing as pure html and css for the hamburger menu.....
If you followed his tutorial completely, at the java script part, it wouldnt work for me but when I changed the .toggle_button in the script to the mentioned .toggle-button in both cases, it fixed it.
Mano. Vê se consegue me ajudar. Eu fiz todo esse tutorial, mas quando deixo o dropdown_menu ativado com 992px e aumento pra 993, o botão Get Started aparece mas o dropdown não some. Ai fico com o botão Get Started na tela e o dropdown ativado também. Sabe onde estou errando?
Thanks for your comment and for your interest in my video! To make the background image responsive, I used CSS to set the background position to center and the background size to cover. This allows the image to scale up or down depending on the size of the screen while keeping it centered. I hope that helps! Let me know if you have any other questions.
Can someone share the final index.html and style.css I've trouble with the toggle button, for some reason is not working to me, I want to check where I messed up.
All source code: patreon.com/webdevcreative
merci
I’ve worked on mine and it’s working
If you need the code I can share with you.
Just reply. Thank you 👍
@@Blacknarrates please share
@@Blacknarrates thank you
@webdevcreative the link is not opening
Thank you so much for this detailed complete video. You explained everything about mobile dropdown responsiveness here. Thanks alot. God bless you.
I've been struggling with creative a functional navbar, thanks alot for this video 😭🙏
The layout looks great but all of the shortcuts I learned from this astound me! Instant Sub!
If you guys are having trouble with the toggle not showing, try minimizing your window. If you see the three lines after doing that then congrats you followed well! Now to fix this issue, the solution I found was to adjust the max width from the line that has @media from 992 to a higher number, btw mine worked at 2000px.
Mine Worked When I Removed The 'Overflow:Hidden' Attribute
@@johnexplorations272 mine also work but when I reload it automatically open
I followed right and put the right syntax but My media query does not working what would I do
@@Marieswaran_17 In your code, add this script:
window.addEventListener("DOMContentLoaded",function(){
alert("Window width:" + window.innerWidth");
alert("Window height:" + window.innerHeight);
}
also, try adding this meta:
your code wont work if the meta tag is not added, so take care of that.
Edit: This occured to me too when i was learning programming, and happens usually with a lot of programmers. Just make sure you check the syntax again
It worked. ty
the best video I have ever seen for the responsiveness of the website. in fact this the video which gave me the complete understanding of the responsiveness . thank you so much great work do More
Great video. Had no voice over but still explained everything flawlessly
Best! I use your videos for learning. Perfect, I understand everything without your explanation/speaking. I learn a lot, thanks to you 😊😊😊😊
This was unbelievably helpful, thanks!
Thank you, your video helped me so much to finish my work. I'm so grateful.
I appreciate the tutorial (even if it's not voiced over)
I incorporated it into my little React project
Hey! Awesome work and thank you very much! I adjusted dropdown menu to suit my project and your tutorial helped a ton. I am having a bit of trouble with toggling an xmark, any other icon for that matter. Xmark apparently isn't included in font awesome 5 free so I tried with other icons but nothing works! Still have the good ol bars so not really an issue.
It was a nice and clean video. Even without a voiceover, you made us understand everything. Thank you for creating this clean and great video.
Thank you for the helpful lesson you shared, my dear friend. Wishing you success!
pocos minutos hiciste eso. eres un crack. nuevo suscriptor
This is amazing, although I would like to make a suggestion, do you think it’s possible you input speech as you code? Just for more clarity and gives you the time to explain certain things, big love and a nice one. 👏🏽
Thank you for the excellent video! By the way I have a question. Is there any specific reason of using , instead of tag? I presumed that would fit semantics better than . I am a beginner , so any informative comments would be highly appreciated! Thank you sir!
There is no reason for the should have a class of 'navbar'. you can also use tag with a class of "navbar". btw using a tag itself for designing can be overwritten by its priority order. since class have higher priority than tagname
ooh, it's so cute to see clean html after working with React and Next.js for a long time.. it's like playing on an old 8bit Dendy🥰😍😍😍 there are no functions, states and props here - i love it!
i love the design
Thank you. It was so simple to understand.
Awesome video it really helped me 🚀👌
Fabulous tutorial bro❤️❤️
I love it very much ❣️
brilliant videos...Thank you so much❤ Subscribed!
This is a great saver...Thank you soo much.
ive wrote the exact same thing as you but when i copy the bar in to the code it doesnt show up? youre relly great and i would love for this to work!
same thing happened to me, did u find a fix?
I changed few things of font-awesome and it works fine for me ,
I used this rel link : cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css
then for bars use class = "fa fa-bars" ,
for cross/xmark use class = "fa fa-times" .
I hope this will help you☺
I have a question, is it necessary to add a bg-color if bg-image covers the whole screen? Why did he did like that?
thanks. this video was so useful for me❤
Actually it's beautiful because it has a pretty picture
good one
This was great! Thank you!
Thank you so much your video helped me a lot :)
6:55 missing the `s` at the end of 0.2 here for the transition to work. Great video though :)
Thanks ❤ my friend
Such a simple design to follow along with, thanks a bunch!
Thank you for sharing this video.
Hey! Great video as always 😁 I was just wondering, what web browser do you use?
awesome! 😁😁
The Background Music Is So Immersive
The background music is so annoying
wowwwwww great
Thank you so much🙏
Great Video
Good job. Nice design
Thank you for creating this great video. ❣
Good stuff, thanks a bunch!
شكرا Thanks it was helpful
awesome 🥰
Great tutorial, thanks!
Youre not following the DRY principle, youre repeating the menu text links, so when you need to update it, you must it do it twice. Also when using the position:absolute, you are using rem and px units.
Thank you a lot for this treasure of a video! Really well explained and so easy to follow!
How could we expand you JS code so that when someone clicks a link in the mobile navbar, the navbar closes automatically after the link being clicked?
this is great work although my drop down is not working even after using your code from git hub..kindly assist
Hi, did you find the solution?
Thz bro this is so easy n very nice ilysm
Thank you very much !!
So the phone size part wasn't working and after about an hour of going over and over the code, it was just a missing comma...
awesome
intenté hacerlo para una página mía pero no quedó igual
Marvelous
So satisfaction 😊
this tutorial is really helpful 😍Thanks🌼
You're welcome!
I was like "no way he's gonna make a responsive hamburger menu without js" (cus you say html and css in the title) but then entered js xD
Wow such a beautiful and simple follow along tutorial. Keep on bringing quality content, you have our support 💝
Btw which background music did u use in this video??
The title is incorrect. Either it is not a step by step or you have to write: "... Using HTML & CSS & cdnjs ...". But its helpful for most I guess.
I did all things as shown but the java script phase doesn't work😭😭😭😭
Good❤
Thanks❤
My bars are not showing, I've reduced the size of the screen, increased max width still not showing help!!
for me the javascript doesn't work, the menu doesn't appear when i click
Thank you so much
very helpfull
Glad to hear that
Realy bro its helpfully in my project i just include this instruction thanks❤️
Thanks Chief
thanks for this
Thanks!
cool video)
Bravo nice job
well done man!
thanks mine worked perfect
Thanku ❤
thank u ❤
Thank you.
Thanks so much
Thanks man!
Thank you brother
Hello Web Dev Creative,
is it possible to have logo on center and links on left and the button on right side in the navbar if this does possible recommend some videos or just me here because I am struck to learn my how to make responsive navbar sorry bothering you. please let me know.
thank you!!
bro my toggle navbar doesnt work can u help me please?
propably you put 'quarySelector' instead of 'querySelector'
toggle is workung for me
My is not working
mine wasnt too but then i realised i had typed "classlist" with a lowercased L instead of "classList" .
subtle mistake.
@@souhaila1202 lol
cann i add my self the js code?
What music is this? i loved it..
Bro, what is your theme extension?
great job, but sadly we needed a little JS. Got me confused in the end there. I guess there is no such thing as pure html and css for the hamburger menu.....
Why create a div classed as navbar when you cab use navbar tag? Can you please explain?
a class has precedence over a tagname
very helpful thanks
where you learnt html css js ?
thanks bro
Idk whats wrong i copied all the code but Get started in the dropdown wont show pls help
The title of the video says HTML and CSS yet there’s also JavaScript. Is it even possible to do A hamburger menu without JS.?
yes, it's possible.
Hey my dropdown menu is not opening when clicking the toggle button. Can anyone help me out.
instead using .onClick in script function, try this function:
toggleBtn.addEventListener('click', () => {
dropDownMenu.classList.toggle('open');
}
mine too, did you get it?
If you followed his tutorial completely, at the java script part, it wouldnt work for me but when I changed the .toggle_button in the script to the mentioned .toggle-button in both cases, it fixed it.
@@marcellszucs2225 yis
@@sekuchu this saves me! thank you so much!
Muito TOP \o/
Mano. Vê se consegue me ajudar. Eu fiz todo esse tutorial, mas quando deixo o dropdown_menu ativado com 992px e aumento pra 993, o botão Get Started aparece mas o dropdown não some. Ai fico com o botão Get Started na tela e o dropdown ativado também. Sabe onde estou errando?
How you resize the background image? how it is responsive?
Thanks for your comment and for your interest in my video! To make the background image responsive, I used CSS to set the background position to center and the background size to cover. This allows the image to scale up or down depending on the size of the screen while keeping it centered. I hope that helps! Let me know if you have any other questions.
navbar ishlamadiku display flex ishlamadi
All set but the toggle button not working properly
I m sleeping 😌😴 because of good 🎵 in background 😃 LMAO 😂
Can someone share the final index.html and style.css I've trouble with the toggle button, for some reason is not working to me, I want to check where I messed up.