Sidebar Menu with sub-menu using HTML CSS & JavaScript

Sdílet
Vložit
  • čas přidán 28. 03. 2020
  • Sidebar Menu with sub-menu using HTML CSS & JavaScript
    Responsive Sidebar Menu using only HTML & CSS
    ➤ • Responsive Side Menu B...
    Responsive Dropdown Menu with Search Box
    ➤ • Responsive Dropdown Me...
    Responsive Mega Menu using only HTML & CSS
    ➤ • Responsive Mega Menu a...
    Download Codes From Here (You may have to search the title of this video there) - codingnepalweb.com
    My Code Editor - • Best Text Editor for H...
    Facebook - / coding.np
    Instagram - / coding.np
    Music Credit:
    Track: BEAUZ & JVNA - Crazy [NCS Release]
    Music provided by NoCopyrightSounds.
    ➤ Watch: • BEAUZ & JVNA - Crazy |...
    Track: Lost Sky - Dreams pt. II (feat. Sara Skinner) [NCS Release]
    Music provided by NoCopyrightSounds.
    ➤ Watch: • Lost Sky - Dreams pt. ...
    ROY KNOX - Blue Eyed Demon [NCS Release]
    Music provided by NoCopyrightSounds.
    ➤ Watch: • ROY KNOX - Blue Eyed D...
    Track: Culture Code - Feel Again (feat. Harley Bird) [NCS Release]
    Music provided by NoCopyrightSounds.
    ➤ Watch: • Culture Code - Feel Ag...

Komentáře • 290

  • @CodingNepal
    @CodingNepal  Před 4 lety +18

    Nowadays font awesome CDN link/script that I provided not support so your icons may not be showing. Just replace that line no.8 script tag with this

  • @Smurfis
    @Smurfis Před 3 lety +3

    I very much see an artistic approach with that Hover effect mr designer

  • @T00Lazy2Scope
    @T00Lazy2Scope Před 3 lety +3

    Followed it step by step checking myself every few lines/change, works great and learned a lot.

  • @45sachindige14
    @45sachindige14 Před 2 lety +5

    Literally I m searching this tutorial for many days
    And finally get this perfect one 👌
    Just one word for you dude
    #Awesome

  • @TheMusicalHarmonee
    @TheMusicalHarmonee Před 2 lety

    That was awesome to watch. Can’t wait to build one!

  • @GG-zj7oi
    @GG-zj7oi Před 3 lety +9

    This is the best sidebar tutorial I've ever seen!! And with the source code! subscribed! You deserve a lot more subscribers

  • @zahidshaikh3122
    @zahidshaikh3122 Před 3 lety +1

    You are doing very good social work for poor devs like us. thanks a lot.

  • @ogunkayodeoluwaseun9348
    @ogunkayodeoluwaseun9348 Před 2 lety +1

    thank you so much this tutorial is pretty amazing and I loved how you always referenced what you were styling by going back to the html page and clicking on it for us to follow along... I'm not so great with JS yet is there a work around to make it work with css where the menu does not hide but the dropdowns can be displayed when you click

  • @super-TechCctv
    @super-TechCctv Před 7 měsíci

    mainy sirf is liye subscribe kiya hai q k itna acha code milla hai mujhy or wo bhii free to is liye ek subscribe to banta hai.
    Lekin hats of jo mehnat hai apki love you from Pakistan brother!

  • @bsparaujo
    @bsparaujo Před 3 lety +1

    Learned so much in this video! thanks for sharing.

  • @ahmedyasin5684
    @ahmedyasin5684 Před 2 lety

    Hi, is there a video explaining how to create input forms after clicking on the some sidebar menu? great video by the way, i followed your step and i could achieve the same sidebar menu, keep it up please.

  • @albertojeraldr.3520
    @albertojeraldr.3520 Před 2 lety +1

    thank you for the wonderful lesson i watch i hope you got more blessings to come thank you have a great day always!

  • @2010appra
    @2010appra Před 3 lety +4

    Currently, when clicked on the menus it opens the submenus and when click another menu it again open the submenu but How to close rest of the opened dropdown submenus while clicking one of the menu?

    • @CodingNepal
      @CodingNepal  Před 3 lety

      You may did some mistakes on codes.... Download codes from here - www.codingnepalweb.com or contact me Instagram for further help - instagram.com/coding.np

  • @Smurfis
    @Smurfis Před 3 lety +1

    These are truly inspirational keep uploading please.. you are fielding me to keep learning

    • @CodingNepal
      @CodingNepal  Před 3 lety

      Thank you 💙😁... Keep learning.

    • @Smurfis
      @Smurfis Před 3 lety +1

      Is it possible to do a version of the css for this header, I will I just get stuck a lot and get.. disheartened with no teacher it’s difficult. But your videos to study and learn from is a positive ♥️ now I just need to work out a few things I don’t get yet..

    • @Smurfis
      @Smurfis Před 3 lety +1

      Song name?

    • @CodingNepal
      @CodingNepal  Před 3 lety

      Song name link is in description... Yes it is possible to styling elements in html file using tag inside tag

  • @umpinscherquetagrr6790

    that part of the arrow didn't work for me :( But I'm working! Thank you man! The best video!

  • @liankatheringuevara1437
    @liankatheringuevara1437 Před 3 lety +2

    Excelente video, gracias por el gran aporte

  • @kasa1982
    @kasa1982 Před 2 lety +1

    Hi Mr. Very nice. I have just one doubt, When I clicked over a submenu option, one of the menus remains selected. How can I remove when clicked above other option menu?

  • @paulandres7074
    @paulandres7074 Před 3 lety +1

    Very helpful! Thank you so much!

  • @blessed-favored
    @blessed-favored Před 4 lety +1

    Good job. Kindly do a video with both the top navbar and the sidebar.

    • @CodingNepal
      @CodingNepal  Před 4 lety

      Just watch our navbar videos and changes some codes.

  • @sahiltiwari5590
    @sahiltiwari5590 Před 4 lety +1

    amazing background music,
    and video also

  • @hiralpatel148
    @hiralpatel148 Před 3 lety

    Thank You so much for creating this video....It helped a lot...

  • @camelalejandro
    @camelalejandro Před 2 lety

    Hola, no me funciona el botón de salida. Me dice que el objeto no se encuentra localizado. Ya verifique que la ruta se encuentre en ..procesos/salida.php. lo coloque el href de la etique a. ¿Cuál podría ser el error?. Erro 404.

  • @scottsaccenti
    @scottsaccenti Před 4 lety +1

    You should put in the title of this vid that you are using JQuery as one of the techs

  • @tomato7993
    @tomato7993 Před 3 lety +1

    I used this code, but this overrides the other css properties. How can we have two css linked to a single html page without overlapping. Adding the sidebar makes a lot of changes to my original css

  • @justexceed8353
    @justexceed8353 Před 11 měsíci

    how do you link the html pages of the submenu without collapsing the submenu after getting directed? for example i clicked on Features > Pages, the dropdown "Features" is open on the main page, when i get directed to the "Pages", the sidebar menu should be open and the Features dropdown should also still be open while it is highlighted as it is active.

  • @proxnoob2
    @proxnoob2 Před 2 lety

    I want to make background blur when sidebar opens and then remove background blur when sidebar closes and I want to close the sidebar when clicking out side it, can you help pls

  • @tomail1167
    @tomail1167 Před rokem

    this tutorial is excellent, and I want ask: How close the sub-menu in the sidebar after closing Hamburger Icon?, because when opening the Hamburger Icon all sub-menu is closed.

  • @ImranKhan-xi4jz
    @ImranKhan-xi4jz Před 2 lety +1

    i clear some problem to this video sir thank you

  • @semnomeporenquanto2
    @semnomeporenquanto2 Před rokem

    Can you explain to me why the links are only colored when the a href="#"?

  • @someshlakhe563
    @someshlakhe563 Před 2 lety

    I didn't even know about jQuery, but adding jQuery link and using javascript like that way i got that jQuery is nothing but just a short-hand

  • @bambindien3327
    @bambindien3327 Před 4 lety +1

    Thank U for this nice tutorial. Is it also possible to let the sub menu slide down smoothly?

  • @AnjuGupta-jy6lj
    @AnjuGupta-jy6lj Před 2 lety

    i have written all the code but when i seeing ti on browser only menu icon is coming and when i am clicking on it it is only sliding and showing up my menu

  • @korkmazmerve
    @korkmazmerve Před 2 lety +1

    thanks for sharing such an amazing video

  • @hernanzoccoli2113
    @hernanzoccoli2113 Před 3 lety +3

    HI there! I have a question, how would you implement a scrolling bar in the sidebar menu? Thanks!

    • @CodingNepal
      @CodingNepal  Před 3 lety

      Just put this...
      .sidebar{
      overflow: scroll;
      }
      If this not work... Please contact me on Instagram and I'll do the codes of this and send to you.

    • @manjirijawanjal1768
      @manjirijawanjal1768 Před 3 lety

      @@CodingNepal can you please send me the code

  • @ArunSharma-ii4sh
    @ArunSharma-ii4sh Před 4 lety +3

    i like your videos and i learn also.

    • @CodingNepal
      @CodingNepal  Před 4 lety +1

      Thank you 💙

    • @ArunSharma-ii4sh
      @ArunSharma-ii4sh Před 4 lety

      @@CodingNepal hello sir i need ur help, sir i want to make mlm web so how to make this site with logic. Plz help me sir.

  • @abraradnan854
    @abraradnan854 Před 3 lety +1

    useful tutorial, I hope it responsive too

    • @CodingNepal
      @CodingNepal  Před 3 lety

      Here is responsive sidebar video - czcams.com/video/c5kWKnESUjY/video.html

  • @flick--spadegaming9617

    arey fellow nepali boro good job hai keep going

  • @Roro-mf8oe
    @Roro-mf8oe Před 3 lety +1

    Hi, Thank you for the superb video. If I add some content in the content area and the page is not scrolled up and down. please let me know how to resolve it?

    • @CodingNepal
      @CodingNepal  Před 3 lety +1

      First add overflow: scroll; and the sidebar has also position: fixed; so your page isn't scrolled... Change the position of sidebar to position: relative; .. You can contact me on Instagram for further help - instagram.com/coding.np

  • @xinyuejin3979
    @xinyuejin3979 Před 2 lety

    Hi,there.I can’t see the full import url in the video.can anyone type it to me.I’m just a beginner.I don‘t know if it is necessary for the Js file.

  • @aartijalgaonkar1709
    @aartijalgaonkar1709 Před 3 lety +1

    Hello...my .sidebar toggleClass is not working...after clicking on bar they are not showing sidebar menu...plz help me

    • @CodingNepal
      @CodingNepal  Před 3 lety

      You may did some mistakes please download codes from description link and check it with your codes.

    • @aartijalgaonkar1709
      @aartijalgaonkar1709 Před 3 lety

      Yes I corrected@@CodingNepal

    • @aartijalgaonkar1709
      @aartijalgaonkar1709 Před 3 lety

      I want to add sidebar and navigation bar on same page...plz guide me for this if you can@@CodingNepal

  • @ashishsivadas18
    @ashishsivadas18 Před 4 lety +1

    I'm facing a problem with the font awesome icons and its style properties. Could u plz help me. And also please provide me the font awesome js link. I didn't get anything like this.

    • @CodingNepal
      @CodingNepal  Před 4 lety

      You can get source codes download link in the description.

  • @oscardbg9654
    @oscardbg9654 Před 4 lety +6

    i'll appreciate if you write jquery instead of javascript on the title, because its confusing and both things aren't the same

  • @manishamin4859
    @manishamin4859 Před 3 lety +1

    Useful video. using HTML side menu can we create data entry module and data should save in google sheet.

  • @typicalprogrammer3542
    @typicalprogrammer3542 Před 4 lety +1

    Can you please make a responsive megamenu .
    Btw, Great Content.

  • @kevinsatria8312
    @kevinsatria8312 Před 2 lety

    Nice guide, thx

  • @veerpat5331
    @veerpat5331 Před 3 lety +1

    Grear utulity and nice video..
    How do i change the fonts for the menu options. Fo instance there is a mandatory to use system fonts like Arial in the company.
    If i change the style ".Sidebar .text" for Arial font its not working..

    • @CodingNepal
      @CodingNepal  Před 3 lety

      You've to use font-family css property to change font.

  • @Thesmoker485
    @Thesmoker485 Před 2 lety

    How can i make the menu displayed from beginning?

  • @andreaagresti608
    @andreaagresti608 Před 4 lety +1

    I saw that you write a JQuery function for both dropdowns. isn't there a way to write a single function for both?

    • @CodingNepal
      @CodingNepal  Před 4 lety +1

      Single function will open both Drop-down at same time. So I created onclick function for each dropdown.

  • @bermanramadhan872
    @bermanramadhan872 Před 3 lety +1

    can you make the main menu shrink when the side bar appear, thanks that would be so helpful

  • @MsamerieJohnson
    @MsamerieJohnson Před 3 lety +1

    Hi, I have a Question: how do you get the content to slide over too, when you push the menu button?

  • @monsurrahman8773
    @monsurrahman8773 Před 2 lety

    how to close previous dropdown menu when clicking another dropdown menu?

  • @kennethdelgado2001
    @kennethdelgado2001 Před 4 lety +1

    the @import url in the css part, it's not complete. what's the full code of it?

    • @CodingNepal
      @CodingNepal  Před 4 lety

      That is google font link. You can add there any fonts. If you want it then contact me on Instagram.. I'll send you code.

  • @b-laggersvlog2182
    @b-laggersvlog2182 Před 3 lety +2

    Good day! I use this on my project. It's cool but it always overlaps my main content. can you help me how to solve this? thank you so much!

  • @someonesomewhere5613
    @someonesomewhere5613 Před 3 lety +1

    How to add these JS scripts in wordpress i'm using wp and this script is unable to run ->caret btn
    please give the solution

    • @CodingNepal
      @CodingNepal  Před 3 lety

      Just add this script tag before the end of body tag

  • @sahildudani4658
    @sahildudani4658 Před 3 lety

    I am using these code in nuxt so in click how i use javascript in this?

  • @ainurrahman5826
    @ainurrahman5826 Před 4 lety +2

    Great videos

  • @blakisdds2787
    @blakisdds2787 Před 4 měsíci

    bonjour, Merci d'abord pour la video, cependant, je n'ai pas compris d'où est sortir le menu 'berger' vers la fin. Ensuite, comment on peut faire pour placer le menu verticalement?

  • @musfiqurrahman8279
    @musfiqurrahman8279 Před 3 lety

    how can you do this?
    left side coding & right side result at a time???

  • @japbautista1259
    @japbautista1259 Před 2 lety

    Thank you lods!

  • @vivektrivedi8086
    @vivektrivedi8086 Před 4 lety +1

    Is there any way to put an with a source in white body area?

    • @CodingNepal
      @CodingNepal  Před 4 lety

      Yes...you can use any other on the white space like video, images etc.

  • @peterhuszar2132
    @peterhuszar2132 Před 3 lety +1

    Thank you! Good!

  • @daliamohammed1018
    @daliamohammed1018 Před 4 lety +1

    Hey there , I am facing issue with the submenu! i need help!!

    • @CodingNepal
      @CodingNepal  Před 4 lety

      Contact on me Instagram - instagram.com/coding.np

  • @RicardoBelfort
    @RicardoBelfort Před 4 lety +1

    Hello there, I`m trying to implement this in my project but I'm using Angular 8 and unfortunately is not working. Can you help?

    • @CodingNepal
      @CodingNepal  Před 4 lety +1

      Send me your code here - instagram.com/coding.np

    • @RicardoBelfort
      @RicardoBelfort Před 4 lety

      CodingNepal ok I’ll send to you thanks

    • @erwindarmawan6728
      @erwindarmawan6728 Před 4 lety

      me too, i want to implement it into my angular project but this is so confusing @@

  • @matheusvieira7762
    @matheusvieira7762 Před 2 lety

    is it possible to open this sidebar in right side of the page?

  • @NooblantisDistrict
    @NooblantisDistrict Před 3 lety +1

    WOW
    Uploaded 29 March 2020...
    I'm here on 29 March 2021
    lmao

  • @TheAlibaadshah
    @TheAlibaadshah Před 3 lety +1

    good but my question is that. side bar active show as block when i click then side bar hide?

  • @shraddhamandekar3272
    @shraddhamandekar3272 Před 4 lety +1

    Code have an error... if I add many menus in sidebar that menus at bottom becomes invisible please correct it

    • @CodingNepal
      @CodingNepal  Před 4 lety

      Add this code on css file:
      body, .sidebar{
      overview: auto;
      }
      If this won't work contact me on Instagram.

    • @shraddhamandekar3272
      @shraddhamandekar3272 Před 4 lety

      I message you on instagram..still it is not working@@CodingNepal

  • @dcarossio
    @dcarossio Před 2 lety

    excelente trabajo pero lo triste es que el autor perdio la voz....

  • @wealthchannel4318
    @wealthchannel4318 Před rokem

    Very good

  • @soussysporttv7029
    @soussysporttv7029 Před 4 lety +2

    Can you post videos for courses? HTML and CSS

  • @justynaszulecka9691
    @justynaszulecka9691 Před 2 lety

    Thanks for sharing!

  • @phen1768
    @phen1768 Před 4 lety +1

    Thank you for your great video! but i have a problem when i click .feat-btn, it does toggle but after 1 sec the page refresh itself automatically. How can i solve this?

    • @CodingNepal
      @CodingNepal  Před 4 lety

      Have you downloaded my codes?

    • @phen1768
      @phen1768 Před 4 lety +1

      No, i haven't. I wrote all code just like in your video.🥺

    • @CodingNepal
      @CodingNepal  Před 4 lety +1

      Now download my codes and check where you did mistakes.

    • @phen1768
      @phen1768 Před 3 lety

      Thank you, I found my issue because i forgot to put # in href. :)

  • @gabrielpereiramendes3463
    @gabrielpereiramendes3463 Před 4 lety +1

    #Excelent!

  • @36547
    @36547 Před 3 lety

    this is great but as a newbie im overwhelmed afff

  • @sijooj-h1m
    @sijooj-h1m Před 5 dny

    u are great....

  • @yummypeach3592
    @yummypeach3592 Před 3 lety +2

    pls answer my question , what app u used? D;
    i wanna try to use it

    • @CodingNepal
      @CodingNepal  Před 3 lety

      I'm using Atom.. Here is the video - czcams.com/video/55VjXTeYkTE/video.html

  • @mohammadtahmidislam5014

    when is your website going to be available ?

  • @miamaxim7662
    @miamaxim7662 Před 3 lety +1

    5:57 how did you get the hover sound :))

  • @medoxhunter6699
    @medoxhunter6699 Před 2 lety

    Great absolutely great

  • @weizhe3103
    @weizhe3103 Před 4 lety +1

    i wanted to ask
    how can i insert an image next to my sidebar????
    because i dont really get it on how to do it

    • @CodingNepal
      @CodingNepal  Před 4 lety

      Watch this - czcams.com/video/V0O4pY2xX10/video.html

    • @weizhe3103
      @weizhe3103 Před 4 lety

      Ok, I get it now, thanks so much

  • @mahmudabd41
    @mahmudabd41 Před rokem

    Bro I was walking with you step by step, but when I’m clicking the caret-down the hidden ul isn’t showing. The only thing I didn’t understantd is the show we added after feat-show.show, where did the .show came from?

  • @HieuPhan-jt8bj
    @HieuPhan-jt8bj Před 4 lety +1

    thanks you

  • @jvalideshop6399
    @jvalideshop6399 Před 3 lety +2

    thank u bro ;)

  • @yvng4697
    @yvng4697 Před rokem

    but why did u use $ on the js? mine doesnt work

  • @haiderboukhriss2898
    @haiderboukhriss2898 Před rokem

    thanks a lot

  • @shriyanscreativestudios5603

    I liked it very much

  • @padnote7103
    @padnote7103 Před 4 lety +1

    Bro same style ma tara side bata nabayera mathi bata launa mildaina ? Yeso bandim na bro

    • @CodingNepal
      @CodingNepal  Před 4 lety

      Milxw bro... Mero navbar videos herw... Sikihalxau.

  • @andrewlu8432
    @andrewlu8432 Před rokem

    how to set only one menu open, it one open, other menu is close

  • @haripriya.u6951
    @haripriya.u6951 Před rokem

    How to create submenu without slide bar in dynamically in javascript drop-down

  • @technicalknowledge3101
    @technicalknowledge3101 Před 3 lety +1

    Thanks

  • @abdoseadaa
    @abdoseadaa Před 4 lety +1

    GREAT

  • @minhtriet2269
    @minhtriet2269 Před 3 lety

    Nice

  • @SandeepKumar-bt3hw
    @SandeepKumar-bt3hw Před 3 lety

    span function not working in my computer why?

  • @fallecido5893
    @fallecido5893 Před 3 lety +2

    I wish someone would teach me to work so well with CSS and HTML :С

    • @CodingNepal
      @CodingNepal  Před 3 lety +1

      No one will teach you. You have to learn by yourself by watching videos, blogs.

    • @fallecido5893
      @fallecido5893 Před 3 lety

      @@CodingNepal I am much better at programming, for example, Javascript, PHP, Other Backend Languages, but with web design trouble

    • @kelali
      @kelali Před 3 lety

      @@fallecido5893 php is more easy

    • @fallecido5893
      @fallecido5893 Před 3 lety

      @@kelali i know, i prefer backend

  • @fabiolaramos5897
    @fabiolaramos5897 Před 3 lety +1

    thank u!

  • @palashxm
    @palashxm Před 4 lety +1

    Wow Sir

  • @samuelsouza8267
    @samuelsouza8267 Před 3 lety +2

    How do I add opacity to this menu?

  • @ridmapasan
    @ridmapasan Před rokem

    I have done everythins according to the video but why submenu dosen't work?

  • @kohbangsai5735
    @kohbangsai5735 Před 4 lety +2

    i hope you make to drag and drop file to the area.

  • @irfanansari85
    @irfanansari85 Před 4 lety +1

    kindly create a admin panel html css top navigation and left menu responsive