Тёмный

12 | CREATE A WEBSITE MENU BAR IN HTML | 2023 | Learn HTML and CSS Full Course for Beginners 

Dani Krossing
Подписаться 471 тыс.
Просмотров 70 тыс.
50% 1

In this video I will teach you how to create a website menu bar using HTML and CSS. 🙂 The website header will contain a logo, a menu, and some social links.
Images: drive.google.com/drive/folder...
Full playlist: • 1 | INTRODUCTION TO HT...
➤ GET ACCESS TO MY LESSON MATERIAL HERE!
First of all, thank you for all the support you have given me!
I am really glad to have such an awesome community on my channel. It motivates me to continue creating and uploading content! So thank you!
I am now using Patreon and RU-vid Memberships to share improved and updated lesson material, and for a small fee you can access all the material either from my memberships or Patreon, depending on your preference. I have worked hard, and done my best to help you understand what I teach.
I hope you will find it helpful :)
Memberships: / @dani_krossing
Patreon: / mmtuts

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

 

31 дек 2022

Поделиться:

Ссылка:

Скачать:

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

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 98   
@NexusNews-yd6if
@NexusNews-yd6if 3 месяца назад
i love this i am 9 years old and still can learn coding from him
@xdsumi
@xdsumi Месяц назад
I had a great time following these courses so far, I can't wait to find out more! Thank you for teaching us this.
@lorizonval
@lorizonval 10 месяцев назад
i hope ur still into making videos like this. cuz im learning with your all courses! thank you for having courses/videos content like this!
@bogdanapache8263
@bogdanapache8263 Год назад
extremely useful tutorials! thank you for your work
@arick9778
@arick9778 Год назад
Thank you so much for this - been trying to align my header items (logo, nav, sm) for hours using display:block/inline, completely forgot about flex and how to use it. Keep doing what you're doing bro, we all appreciate it, massively!!
@arshad1781
@arshad1781 Год назад
Thanks for sharing free knowledge 🙂
@fissionchips223
@fissionchips223 8 месяцев назад
Wow, what a bounty of knowledge, Dani. This and your Flexbox video are both a little overwhelming (which is entirely understandable) - but you make this so clear that I will enjoy watching these again to allow for better "absorption" . . . When other teachers have gotten this "thick" I usually just zone out and have difficulty paying attention. You make this so approachable that I like looking forward to re-watching these. Thank you for bringing such excellent instruction to CSS! Great work!
@user-ly6gg8vx6c
@user-ly6gg8vx6c Год назад
This is so helpful for me , thank you.
@davidspot191
@davidspot191 6 месяцев назад
Really glad I followed the whole process. Learnt alot especially about flexbox.
@sabithapa4776
@sabithapa4776 Год назад
The best video that I ever found about coding! Thank you very much 🙏😍😍😍
@gonefishing2006
@gonefishing2006 Год назад
Just in time. I was trying to do almost exactly what this does and your method works. Mine got close but it was clumsy.
@DejanPavlovic-tu8vj
@DejanPavlovic-tu8vj 9 месяцев назад
I like how you explaining for mistake you made for row/column gap... it was so cute.. You are just a man.. happens ... Thank you for your service man hahah Your videos will help a lot of people ! Thank you
@MwishaLudack
@MwishaLudack 7 месяцев назад
Excellent job, Dani. One thing I notice is that, it does not matter how much we claim to know, learning will always remain in demand.
@user-yu3yd8gt5f
@user-yu3yd8gt5f Месяц назад
good work..i have learned alot
@holiwis243
@holiwis243 10 месяцев назад
Thank so much! ❤
@travismounsteven3486
@travismounsteven3486 Год назад
Your channel deserves a lot more love
@pseuda
@pseuda Год назад
This class is superb!
@santiagobenjamin4752
@santiagobenjamin4752 28 дней назад
you're the goat for sharing all this
@romaneestime5004
@romaneestime5004 11 месяцев назад
Definitely I’m going to build my own website with this tutorial
@Kennethlumor
@Kennethlumor 6 месяцев назад
Sir God bless you so much for impacting knowledge in me
@naweendanushka3358
@naweendanushka3358 Год назад
Great video many thanks ..
@denhamk
@denhamk 2 месяца назад
Thank you for leading me here, Dani .. this video is great! I actually came to find out how to attach my Navbar to other pages so that I don't have to manually edit my navmenu on every page. I acutally learned a few more tricks by watching this. 👌🏽 But couldn't find a way to link my Nav bar to the other pages..
@legendaryempire6507
@legendaryempire6507 2 месяца назад
Quick tip that will make your workflow faster. Download Live Server extension using the extension tab. It automatically refresh your browser for you, anytime you make changes and save the changes.
@jamloop3140
@jamloop3140 11 месяцев назад
thank you sir
@maryemnidcharouq3599
@maryemnidcharouq3599 Год назад
THANK YOUU SOO MUCH
@OmarTaha-pj8vv
@OmarTaha-pj8vv 2 месяца назад
Your cousrses are awesome!
@kumi_de
@kumi_de 10 месяцев назад
Daniel... I usded to work with php and a mysql-DB like 15 years ago. After having an intense view on your videos I realized: Kumi knows NOTHING! I watched alot of tutorial videos, but yours are FAR THE BEST! You're making me understand stuff in just a few minutes, that on others channels will take me hours! Go on with this. I really love your vids. You are taking me onto another level!
@Dani_Krossing
@Dani_Krossing 10 месяцев назад
I'm glad you enjoy my videos ☺
@djfago6240
@djfago6240 Год назад
this is so far the best way to teach someone . your teaching skills are from another level. Thank you very much for sharing your knowledge with us for free.
@DavidTheITGuy.
@DavidTheITGuy. Год назад
Well done mn
@ezraamoako4166
@ezraamoako4166 Год назад
First here, from Ghana
@diakokhalandi1115
@diakokhalandi1115 7 месяцев назад
Hey thx for your content i had a question and cant find an answer online how can i for example have 3 of the items at flexstart and have the contact us at flexend? Is it possible without using margin?
@valrotkier
@valrotkier 8 месяцев назад
What about changing the hover image for the logo?
@fekrtmido2694
@fekrtmido2694 Год назад
Can you pls do a video about how to connect your login page to the shopping cart with order history?
@Stoney_Eagle
@Stoney_Eagle Год назад
When I created my video player UI I used colored boxes to layout everything, it's such a great way to visualize layouts. The only ting is... you run out of highly distinguishable colors very easily 😂
@Aliante4
@Aliante4 Год назад
You can use borders to add distinctions :)
@fissionchips223
@fissionchips223 8 месяцев назад
I really appreciated this strategy as well. I appreciate your sharing!
@TheNextTechG
@TheNextTechG 3 месяца назад
Hey Dani sir! could you make an updated JS tutorial also🙏
@ardavural4649
@ardavural4649 3 месяца назад
Hello Dani! Firstly, I'm newbie and i rly thank you for your conrtent. It is rly helpful for me. But i wanna ask something. At 36:36 , when i do display:block , all my menu items are becoming vertical. Like all stuff "ABOUT", "CONTENT" is on top of another. But when i do display: inline-block; then it becomes horizontal again. why is it different than yours? .index-header { background-color: bisque; width: 100%; height: 60px; display: flex; justify-content: space-between; } .index-header-search-bar { margin-left: 40px; background-color: aqua; width: fit-content; height: 100%; display: flex; align-items: center; } .index-header-search-bar a { margin-right: 5px; } .index-header-menu { margin-right: 20px; margin-left: 20px; background-color: aquamarine; width: fit-content; height: 100%; } .index-header-menu ul{ list-style: none; margin-right: 10px; } .index-header-menu ul li { display: inline; margin-right: 20px; } .index-header-menu ul li a { line-height: 60px; display: inline-block; height: 100%; } .index-header-menu ul li a:hover { color: rgb(143, 37, 37); } I have a little bit different code than yours but it is almost same. (index-header-menu is header-main-nav for you.) when i changed my code from display:inline-block; to display:block; the mistake is happening that i have mentioned.
@angryjellyfish5347
@angryjellyfish5347 Год назад
Hey :) really loving your content, so much more useful than the course I'm doing. When it came to putting a gap between the media icons, it comes up with row-gap, but col-gap didn't work. Just using gap seemed to do it. Is this an issue or is it ok to use going forward? Awesome job :D
@cruzinsweetsntreats
@cruzinsweetsntreats Год назад
it's *column* and not *col* -gap. That threw me off a few times from the shorthand method, that the programming for the feature was spelled out fully. LOL
@patrickmclaughlin6013
@patrickmclaughlin6013 2 месяца назад
Just learning here, Now how does this get connected to the pages, like Home, Products, About, .... Do you have to recreate it for every page or is there an "include" to just add to a new page?
@kennethharris-official5661
@kennethharris-official5661 8 месяцев назад
html lang ="da" ikke dk ( og hvis det er iso er det da-DK tror jeg nok ). Super gode videoer :)
@sandeepnepal4467
@sandeepnepal4467 5 месяцев назад
When I enter the text "HOME" inside my tag, it shows up in the browser with the background color. How do I get rid of that background color and just show up the text like yours? I've added my reset CSS file, I tried using background-color as none as well for ".header-main-nav li" and didn't work. Then, I set background-color as transaparent !important as well and didn't work.
@rayaawilliams9203
@rayaawilliams9203 10 месяцев назад
Hi, I can’t seem to find where you talk about making the header sticky
@kieranwentworth
@kieranwentworth Год назад
Hey Dani, when I try to change the cursor to a pointer it doesn’t change. Any ideas why?
@mihneapria3398
@mihneapria3398 9 месяцев назад
Hello Daniel.I have a problem,after i do it as you,but i don t see the maine header:(..
@alexvang2579
@alexvang2579 7 месяцев назад
the colors except for white aren't showing up on my end. :(
@marcelpiotrowski8849
@marcelpiotrowski8849 11 месяцев назад
Hi guys, Can someone tell me why i cannot block display of anchor even thought i wrote display and height correct?
@dumitruperciun309
@dumitruperciun309 10 месяцев назад
so i have a problem: henever i tr to put the image, the text: HOME, etc. doesent line eith everything. do u kno hy?
@kakeema4188
@kakeema4188 Год назад
Hi there! I am curious to know if it would be better to use display: none to hide the fb and insta icons when pre loading it in the body rather than the method shown in the video.
@Dani_Krossing
@Dani_Krossing Год назад
That method doesn't work anymore 🙂 I believe I explained that in my earlier "image video", so if you want more info it is in there 🙂
@kakeema4188
@kakeema4188 Год назад
@@Dani_Krossing Hi Dani ! Thanks for letting me know and responding, I wasn't aware of that.
@cjcpineda28
@cjcpineda28 Год назад
Hey Dani! when I resize my web browser, the contents in my menu moves below each other. I have the styling exactly how you have it. any thoughts? I am using goggle chrome
@angryjellyfish5347
@angryjellyfish5347 Год назад
If it's when you make the screen smaller things don't fit as they should. That's where using media queries comes in :)
@python5933
@python5933 9 месяцев назад
i don't know if you'll gonna see this but when I hover my social media picture it enlarges and when I tried adjusting the size of the hover picture the other navigations move sideways and the picture will move away from my cursor like it doesn't want it to be clicked.😅
@Dani_Krossing
@Dani_Krossing 9 месяцев назад
Sounds like your CSS either differs a bit from mine in the video, or some of your CSS is not getting updated in the browsers cache. 🙂 Try going to your browsers history, and when you clear the history, make sure to only toggle on "images and files", and make sure it's set to "all time". If that 👆 doesn't solve it, then it is a typo in your CSS causing it, or because our CSS aren't the same. 🙂 And yes... I do see ALL comments on my channel. 😉
@python5933
@python5933 9 месяцев назад
@@Dani_Krossing whoa thanks for the quick reply.I'll look into it immediately.Also I wonder if you provide a simulation class or mentorship for what's it's like working as a junior web developer.Just to prepare and evaluate myself if I can work in that kind of environment🤗.
@sudeepkarki4918
@sudeepkarki4918 Год назад
Waiting for next video 🤧
@Kennethlumor
@Kennethlumor 6 месяцев назад
Please can you add a slide bar to this navbar
@Klipukai
@Klipukai 21 день назад
Why not make a list for the icons? Wouldn't it be easier to just set the parameters for both of them at the same time?
@sanxia.
@sanxia. 2 месяца назад
Do we STILL need to use LISTS in navs?
@Dani_Krossing
@Dani_Krossing 2 месяца назад
You CAN create menus without using , however it is strongly recommended to use lists.
@martin54123
@martin54123 Год назад
Sorry a newbie question but how do I watch the HTML & CSS RU-vids in sequence?
@Dani_Krossing
@Dani_Krossing Год назад
On my channel page there is a playlist 🙂
@martin54123
@martin54123 Год назад
@@Dani_Krossing Thank you, I was looking for that but couldn't find it for some reason. Now I went straight to it! And that was the easy part!😂😂😂
@Dark_Night7710
@Dark_Night7710 Год назад
can u please do a new js tutorial🙏🙏🙏🙏🥺🥺
@sithumbuddika6295
@sithumbuddika6295 Год назад
yes please 🙏🙏
@zane5697
@zane5697 Год назад
are you going to adapt your website to mobile version?
@Dani_Krossing
@Dani_Krossing Год назад
Yes as soon as the front page is finished, then I will create a video where we make the entire page responsive. 🙂
@enfysgreen2758
@enfysgreen2758 Год назад
this code wont work for edge the fb icon is not viseble ant the insta icon goos invisble when hovert on for the rest does this code work if i use firefox the insta icon turn white the rest of browers it works just fine but can u give us an selution so it works all browers
@Dani_Krossing
@Dani_Krossing Год назад
If you followed the video exactly, then it works in all browsers 🙂 If not then you most likely made a typo somewhere.
@enfysgreen2758
@enfysgreen2758 Год назад
​@@Dani_Krossing not a typo its adblocker plus that blocks some code
@nihelmariam5120
@nihelmariam5120 6 месяцев назад
what to do to type a a name in the navbar instead of a logo ??????
@user-hy4ws2ex9g
@user-hy4ws2ex9g 23 дня назад
H1 tag you can also put it in a div with the same coloring of the nav bar
@bcd3321
@bcd3321 7 месяцев назад
@Teegray1124
@Teegray1124 9 месяцев назад
the anchor doesnt need a closing tag.
@Dani_Krossing
@Dani_Krossing 9 месяцев назад
If you don’t close the anchor tag, then everything after would be considered a link. So yes, the anchor tag does need to be closed. 🙂 I’d love to know why you don’t believe it needs to be closed?
@Teegray1124
@Teegray1124 9 месяцев назад
@@Dani_Krossing it was mor a question lol, thanks for the explanation.
@Stoney_Eagle
@Stoney_Eagle Год назад
First 🤣
@Dani_Krossing
@Dani_Krossing Год назад
Fir... arh gosh darn it!
@Dani_Krossing
@Dani_Krossing Год назад
HAH you are second!
@Stoney_Eagle
@Stoney_Eagle Год назад
@@Dani_Krossing noooooo... so close 😱
@DejanPavlovic-tu8vj
@DejanPavlovic-tu8vj 9 месяцев назад
Man made Columbian flag :)
@ginacasazza1321
@ginacasazza1321 Год назад
The whole video is blurry, is that not the case for anyone else?
@Dani_Krossing
@Dani_Krossing Год назад
It is completely crisp and sharp on my end. I think you need to try and reload the video, or increase the quality of the video. In a lot of cases your internet speed will auto adjust it too, so check to see if that is the issue. 🙂
@omniaelevate
@omniaelevate Год назад
@@Dani_Krossing increase the quality of the video was a gold mine response thank you!
@MsCellobass
@MsCellobass 4 месяца назад
Your vid is a little pointless since you arent showing effect in browser
@Dani_Krossing
@Dani_Krossing 4 месяца назад
I'm not sure what you mean? 🙂 Not only did I show the navigation visually in the browser every time we did one step further, but I also colored the segments for you to better understand how everything worked. If you by "effect" mean that we didn't "click one of the links to go to another page", then I think we can both agree that your comment isn't really about "my video being pointless"... But more about you perhaps being frustrated, and now taking your frustrations out on me.
@mickentquenncuizon7785
@mickentquenncuizon7785 7 месяцев назад
Thank you so much Danni. I've learned a lot from you. :) Can you explained me about this? body ::after { position: absolute; width: 0; height: 0; overflow: hidden; z-index: -1; content: url(../img/fb-color.png) url(../img/gmail-color.png); } what is the difference if I don't put this? hehe. Thank you again. :)
@Dani_Krossing
@Dani_Krossing 7 месяцев назад
It preloads the images 🙂 so if you dont add this, the images will “blink” the first time you hover your cursor on them.
@mickentquenncuizon7785
@mickentquenncuizon7785 7 месяцев назад
Thank you so much Danni :)@@Dani_Krossing
@mutualkim9986
@mutualkim9986 3 месяца назад
My class (.header-main-nav ul li a) css styling ain't showing on the browser unless i move them to class(.header-main-nav ul li) what might be the problem???@dani cross
@mutualkim9986
@mutualkim9986 3 месяца назад
My code is similar so am wondering what i might have done differently
@ezraamoako4166
@ezraamoako4166 Год назад
First here, from Ghana
@VladStepu
@VladStepu Год назад
Hey Dani, when I try to change the cursor to a pointer it doesn’t change. Any ideas why?
@Dani_Krossing
@Dani_Krossing Год назад
Try clearing the “cached images and files” from your browser, and then refresh your page. This is often the culprit whenever CSS changes doesn’t wanna work. 🙂 You clear the images and files in the same place where you clear your browser history (Ctrl + H). Just make sure you only tick on the images and files, so you don’t delete your browser history and passwords as well, and make sure you select “all time”. 🙂
Далее
Тяжелые будни жены
00:46
Просмотров 512 тыс.
Create a clean, modern navigation with HTML & CSS
25:17
CSS Basics in 9 Minutes
8:42
Просмотров 307
How to take control of Flexbox
16:01
Просмотров 83 тыс.
Learn Flexbox CSS in 8 minutes
8:16
Просмотров 1,3 млн
CSS Tips And Tricks I Wish I Knew Before
12:12
Просмотров 399 тыс.
Top 10 CSS One Liners That Will Blow Your Mind
13:34
Просмотров 879 тыс.
How to put an HTML website online (on the Internet)
29:37