Responsive Sidebar Menu in HTML CSS & JavaScript | Dark/Light Mode

Поделиться
HTML-код
  • Опубликовано: 29 апр 2024
  • In this video tutorial, you will learn to create a responsive Responsive Sidebar Menu using HTML CSS & JavaScript with Dark and Light Mode. I have provided all source code that I have used to create this sidebar menu, the link has been given below.
    ---
    Hire us on Fiverr
    ➤ www.fiverr.com/prakashahi
    Follow me on Instagram
    ➤ / coding.np
    ---
    Timestamps:
    00:00 Sidebar Menu with Dark Light Mode | Demo
    01:22 How do I Import Google fonts.
    02:01 How do I Import Font Icons | Boxicons
    02:39 How to create variables in CSS
    03:03 Creating Sidebar in HTML
    03:24 Styling Sidebar in CSS
    10:08 Adding Search Bar in Sidebar
    20:19 Creating Toggle for Light Dark Mode
    22:25 JavaScript for the Sidebar
    #SidebarMenu #SideNavigationBar #htmlcssjs
    ---
    Music Credit:
    Deep Sea by Vendredi / vendrediduo
    Creative Commons - Attribution 3.0 Unported - CC BY 3.0
    Free Download / Stream: bit.ly/-deep-sea
    Music promoted by Audio Library • Deep Sea - Vendredi (N...
    Ikson - Anywhere (Vlog No Copyright Music)
    • Ikson - Anywhere (Vlog...
    Something 'bout July (Instrumental) by RYYZN
    • Something 'bout July (...
    Track: Lost Sky - Vision [NCS Release]
    Watch: • Lost Sky - Vision | Du...
    Song: Ehrling - You And Me (Vlog No Copyright Music)
    Video Link: • Ehrling - You And Me (...
    ---
    Keywords:
    Responsive Sidebar Menu in HTML CSS & JavaScript,sidebar menu html css,responsive side navigation bar,responsive side navigation bar in html and css,responsive side navbar,side navigation bar in html and css,side navigation bar,side menu bar in html and css,how to creat sidebar,side navigation bar in html css and javascript,side navigation bar in html and css js,sidebar with dark light mode,sidebar with day night mode,how to create side navigation bar in html and css

Комментарии • 317

  • @jorgienalim7944
    @jorgienalim7944 6 месяцев назад +3

    amazing! took me couple hours to follow through. thank you for this tutorial

  • @mrCetus
    @mrCetus 2 года назад +2

    very useful video, I accidentally saw it on my youtube page, I happened to be looking for a reference to learn web programming, I think this channel is suitable for learning. 😁😁

  • @Eduardo-ug9ui
    @Eduardo-ug9ui 8 месяцев назад +8

    no de locos. Que bueno que compartes esto con nosotros. Como desarrollador back-end me cuesta un poco crear interfaces bonitas. Pero gracias a ti puedo sacar a delante prototipos y proyectos. Muchas gracias realmente. Se te agradece mucho

  • @i_am_man1080
    @i_am_man1080 10 месяцев назад

    This video is perfect it helped me so much. Best sidebar video ever!

  • @clement_pqtn
    @clement_pqtn 2 года назад +4

    Thank you it's beautiful, really well done

  • @MatheusSilva-qm3ph
    @MatheusSilva-qm3ph 2 года назад +91

    Your design is amazing, congratulations! But could you teach how to place the functions of the buttons?
    I'm learning a lot from your classes, thank you!

    • @CodingLabYT
      @CodingLabYT  2 года назад +8

      Check description for the source code.

    • @Ashishsharma-ig7is
      @Ashishsharma-ig7is Год назад

      animated Box With CSS
      ruclips.net/video/gBmx3RmThDE/видео.html

    • @UsmanKhan-tb7ll
      @UsmanKhan-tb7ll Год назад

      Yes How To Add Function When Clicked to open

    • @Harmee216
      @Harmee216 Год назад

      me to bro

  • @churny5141
    @churny5141 2 месяца назад

    Brilliant. Easy to implement, and works as expected

  • @maribelmed
    @maribelmed Год назад +3

    Nice video. Could you tell me how I could set up this side menu in a Wordpress Theme? What file should I modify to add this side menu to my WP theme? CSS Style sheet? Thanks for sharing your knowledge. Looking forward to hearing your response. Cheers from Spain

  • @somedude6420
    @somedude6420 3 месяца назад

    That is one beautiful sidebar !!!

  • @John-qt6qk
    @John-qt6qk Год назад

    Just brilliant lad!

  • @GiriAndhika
    @GiriAndhika 2 года назад

    Great tutorial, thanks 😃

  • @MrSimonlevey
    @MrSimonlevey 2 месяца назад

    Stumbled across this tutorial yesterday. It's brilliant!! I've been through and recreated it, learning a huge amount. One question, which I probably missed. My version loads with the menu bar collapsed each time. Your doesn't seem to. Have I missed something in the code which gives it a default position? Thanks in advance....

  • @CHTCDS
    @CHTCDS 2 года назад +2

    Mabye next time when the sidebar is minimized you make the moon logo on the button instead of just the button, so you know what it's for

  • @magmabits
    @magmabits 2 года назад +18

    If only this tutorial had dropdown menus inside the sidebar, I would've coded along 🥺

    • @CodingLabYT
      @CodingLabYT  2 года назад +7

      Watch this- ruclips.net/video/ES8vJcUqE7s/видео.html

    • @Ashishsharma-ig7is
      @Ashishsharma-ig7is Год назад

      animated Box With CSS
      ruclips.net/video/gBmx3RmThDE/видео.html

  • @priyanbishwakarma9632
    @priyanbishwakarma9632 Месяц назад

    east or west respected prakash shahi sir is best

  • @lcgswolf
    @lcgswolf 3 месяца назад

    I just love this!

  • @gcrvk
    @gcrvk 2 года назад +1

    wow thanks, great tutorial

  • @gamingszene4840
    @gamingszene4840 Год назад +4

    Could you please make a video in which you create a sidebar with a search bar, a dark/white mode and a dropdown menu. Despite your two videos, I just can't do it. That would be great if you did that.
    Otherwise still my favorite youtuber when it comes to programming. keep making great videos :D

    • @CodingLabYT
      @CodingLabYT  Год назад +1

      Here it is - ruclips.net/video/TWiy3dGSmgk/видео.html

    • @gamingszene4840
      @gamingszene4840 Год назад

      @@CodingLabYT That's not a sidebar but thanks anyway I'll see what I can do :D

  • @mcastill3
    @mcastill3 7 месяцев назад +3

    Awesome video, one of the bests that I have looked. Thanks a lot for sharing your time and knowledge.

    • @GrajaGopalaReddy
      @GrajaGopalaReddy 6 месяцев назад

      hello , could you share the code , pls

  • @newentu
    @newentu 9 месяцев назад

    Excelente tutorial!

  • @victorga74
    @victorga74 2 года назад

    Great!
    Thanks for sharing

  • @b.agaskara
    @b.agaskara 10 месяцев назад

    terimakasih atas ilmu yang kau berikan pada kami, thanks alot

  • @ayaatyq
    @ayaatyq 2 года назад

    thank you sooooooooooo mush for help us i visited you website and it's was perfect and so helpfull

  • @mjgtpajgt9540
    @mjgtpajgt9540 Год назад

    Jordar bro 😁

  • @abidinawres2229
    @abidinawres2229 Месяц назад

    GREAT GREAT video, make more plz :)

  • @Celebritysix
    @Celebritysix 2 года назад +5

    Oh boy !
    I am using your sidebar for my personal website and I was thinking to make it enabled with night mode.
    But, you are like constantly providing update and that's helpful.
    Eagerly waiting for you to give source code so that I could do directly update it from there..!
    Thanks bro

    • @CodingLabYT
      @CodingLabYT  2 года назад

      Glad I could help!...Check description for source code.

    • @Celebritysix
      @Celebritysix 2 года назад

      @@CodingLabYT yes, I got that.
      Thanks a lot

    • @_ZiadAyman
      @_ZiadAyman 7 месяцев назад +1

      @@CodingLabYT Hey man, I can't see the source code...was it removed or what?

    • @BGdev305
      @BGdev305 2 месяца назад

      @@CodingLabYT its not in description

  • @karimamr775
    @karimamr775 2 года назад

    Great work!

  • @jobkanape5280
    @jobkanape5280 2 года назад

    I think is good idea some like
    if(window.innerWidth < 790) sidebar.classList.toggle("close")

  • @sebin_01
    @sebin_01 Год назад

    how bout the main content? and chhanging the content when clicking on different nav links? Do you already make one of that?

  • @camdenhobby3940
    @camdenhobby3940 8 месяцев назад

    Thank you master 🙏

  • @samukarbrj
    @samukarbrj Год назад

    thats dope! to much details. this is better than a course

  • @rupavagetsitdone
    @rupavagetsitdone Год назад +1

    i had to add a style="padding-left: 0px !important;" to the as i couldnt find out why was it shifted to the right. the rest was perfect. thanks!

    • @CodingLabYT
      @CodingLabYT  Год назад

      Source code is available on my website. Link is in the video description.

  • @rijviahmedrabby3986
    @rijviahmedrabby3986 2 года назад +2

    best channel for creativity ideas💙
    love from bangladesh

  • @trlolist3332
    @trlolist3332 2 месяца назад

    OMFG IT TOOK ME WHOLE DAY TO RECREATE THIS.

    • @balaji0608
      @balaji0608 2 месяца назад

      can i get source code

    • @BGdev305
      @BGdev305 2 месяца назад

      And he said the source code was below and it's not smh

  • @vishnuvardhanuppunuthula2789
    @vishnuvardhanuppunuthula2789 2 года назад +1

    Splendid and simple...great work

  • @aldrianreyajero1069
    @aldrianreyajero1069 Год назад +2

    Hey! Thanks so much for this video!

  • @CristianEtchebest
    @CristianEtchebest 2 года назад

    Top!!❤

  • @CHTCDS
    @CHTCDS 2 года назад

    but great design and perfect animation

  • @balladeer_gaming
    @balladeer_gaming Месяц назад

    useful video
    excellent work

  • @CreativeTutorialsWeb
    @CreativeTutorialsWeb 2 года назад +7

    Awesome video/project Sir 👍💙

    • @CodingLabYT
      @CodingLabYT  2 года назад +1

      Many many thanks

    • @Ashishsharma-ig7is
      @Ashishsharma-ig7is Год назад

      animated Box With CSS
      ruclips.net/video/gBmx3RmThDE/видео.html

  • @avalanxereal
    @avalanxereal 2 года назад +1

    Amazing design!

  • @arsenekm8192
    @arsenekm8192 Год назад +8

    So impressive and amazing work. 💯
    Please, can you teach us how you made that Logo.
    Thank you.👌❤️

    • @Ashishsharma-ig7is
      @Ashishsharma-ig7is Год назад

      animated Box With CSS
      ruclips.net/video/gBmx3RmThDE/видео.html

  • @rafa.n9953
    @rafa.n9953 Год назад +1

    so I decided to give soft softs a try. I just subscribed to your channel

  • @masudulalammaruf6450
    @masudulalammaruf6450 Год назад +1

    Awesome 👌

  • @inipenting236
    @inipenting236 Год назад

    Really amazing, thanks full content the intereneting

  • @rayanneraquel
    @rayanneraquel 2 года назад +2

    which program you used to record ur screen?

  • @rootier_channel4714
    @rootier_channel4714 Год назад +1

    thanks, your video is amazing...

  • @jovaneah
    @jovaneah 2 года назад +10

    Woooww.. This is so cool.. I will try it, thank you CodingLab

  • @mjgtpajgt9540
    @mjgtpajgt9540 Год назад

    Love you bro ❤️

  • @maazahmed2848
    @maazahmed2848 2 года назад

    Thanks alot ♥️

  • @aldriansahwisnu4027
    @aldriansahwisnu4027 Год назад

    Quarantine brought here also! lol best of luck bruva. Lets see if we can do sotNice tutorialng productive with tNice tutorials down ti!

  • @esportgame3284
    @esportgame3284 2 года назад

    thanks you!!

  • @MarcosAF9
    @MarcosAF9 Год назад +2

    salvou demais pae

  • @kajull
    @kajull Год назад

    amazing content. thank you so much for the source code - subscribe earned 😄😄

  • @uxdworld
    @uxdworld 5 месяцев назад

    Great design

  • @danangwicaksono278
    @danangwicaksono278 2 года назад

    i add a file or page to the notification menu, when i click on it why is the dark/light mode off and the sidebar is closed? how to make it keep on and the sidebar not close? please🙏🏻

  • @apisaknhso
    @apisaknhso 2 года назад +1

    Perfect

  • @user-maroc-1919
    @user-maroc-1919 Год назад

    thanks a lot , but how to insert pages in eache icons without disturbing animation ?

  • @muhamadluthfia2580
    @muhamadluthfia2580 Год назад

    it worked. Thankss sooooo much.

  • @whiteltd5970
    @whiteltd5970 2 года назад

    Please share the link to the source code, it will be very useful for beginners, thank you!

  • @MrInmortal434
    @MrInmortal434 Год назад

    me encantan sus vídeos me voy a suscribir a tu canal, gracias

  • @zaurmammadov7903
    @zaurmammadov7903 2 года назад

    Thank you🙂

  • @CodingPorium
    @CodingPorium 2 года назад +1

    Very nice one sir!

  • @kishanpatel5935
    @kishanpatel5935 Год назад +1

    I love you CodingLab ❤️❤️❤️❤️❤️❤️❤️

  • @sangitachauhan1728
    @sangitachauhan1728 2 года назад

    Thanks!

  • @meriemmery7648
    @meriemmery7648 2 года назад +26

    Masha Allah.. your design is top of the splendor... Can you copy the code in and put it in a comment or in the description box.. to try it first.. because I have some problems with html and css, for example, those buttons that you download from the internet do not work for me. ..

    • @CodingLabYT
      @CodingLabYT  2 года назад +5

      All source code are available in my website. Link is in description.

  • @kimmallu9895
    @kimmallu9895 2 года назад

    Many thanks

  • @AbrarulRhythm
    @AbrarulRhythm Год назад

    Very helpful video
    Thank you

  • @thecodetex
    @thecodetex 2 года назад +4

    Awesome 👍 👌

  • @Abhicoder
    @Abhicoder 2 года назад +1

    That's cool sir!

    • @CodingLabYT
      @CodingLabYT  2 года назад

      Glad you liked. Best regards.

  • @divyankajaiswal2988
    @divyankajaiswal2988 2 года назад +2

    Bhaiya aapke content kafi acche h agr aap bol ke explain kr ke smjhia ga to its will be more helpful for us

    • @CodingLabYT
      @CodingLabYT  2 года назад

      Okey, I will think about it.

  • @susheil76
    @susheil76 6 месяцев назад +2

    Thanks for the video,, but I cannot find the source code link...

  • @Vitosoaski
    @Vitosoaski Год назад

    Thank you so much

  • @louayabdelkader2946
    @louayabdelkader2946 Год назад

    thank you so muchhh 😍

  • @hochihuynh2024
    @hochihuynh2024 2 года назад

    I have an issue the bootstrap table. I can't align ít in the center. horizontally. Wrong width when toggling.

  • @vanzpro2244
    @vanzpro2244 2 года назад +1

    very good i use this source for my website

  • @sandalkuilang
    @sandalkuilang 2 года назад +1

    wow nice, thank you

  • @anusafzal779
    @anusafzal779 2 года назад +1

    No Doubt an awesome Project... But when we will add more buttons the scroller will destroy its beauty... 🤦‍♂🤦‍♂

  • @Jdi715
    @Jdi715 2 года назад +1

    Very usefull, Thanks

  • @SnnayBanda1
    @SnnayBanda1 Год назад +1

    So helpful thanks

  • @ClearPharmacology145
    @ClearPharmacology145 5 месяцев назад

    Very good

  • @Deus-lo-Vuilt
    @Deus-lo-Vuilt 2 года назад

    Wooow thanks

  • @mingguihe2539
    @mingguihe2539 Год назад

    Amazing!

  • @eduardofranciscomunozpania6062
    @eduardofranciscomunozpania6062 Год назад +2

    Excelente Maestro, cuánto me Gustaría me ayudara en un Proyecto...
    Cómo puedo contactarlo?

  • @indexcard
    @indexcard 2 года назад +2

    Hello, I was wondering how you would fix an issue where the .home class stops at a specific height of the body, while the rest of the .home contents continues? If that made sense.

    • @tsuyukiae6609
      @tsuyukiae6609 2 года назад

      You can check if the .home is inside another class that has these properties ;)

    • @Ashishsharma-ig7is
      @Ashishsharma-ig7is Год назад

      animated Box With CSS
      ruclips.net/video/gBmx3RmThDE/видео.html

  • @user-mc9np1bk4u
    @user-mc9np1bk4u 2 года назад +3

    Thank you for your amazing video!
    I really appriciate it.
    I have a question. When sidebar is closed, I can still click every "nav-link" thorugh Dashboard part. (Even it is hidden.)
    it might be the text part of the "nav-link".
    And I don't want "nav-link" to be clicked through Dashboard when it is hidden.
    How can I do that?

    • @CodingLabYT
      @CodingLabYT  2 года назад +1

      You can give - pointer events none

    • @zylorixus
      @zylorixus Год назад

      @@CodingLabYT at the end of code I will write that?

    • @Ashishsharma-ig7is
      @Ashishsharma-ig7is Год назад

      animated Box With CSS
      ruclips.net/video/gBmx3RmThDE/видео.html

  • @toufikmenaa320
    @toufikmenaa320 2 года назад +1

    you are the best

  • @heshamkh5739
    @heshamkh5739 Год назад +1

    I am just wondering why you are being so generous with your knowledge?

    • @CodingLabYT
      @CodingLabYT  Год назад +1

      It's my pleasure. Thank you for your kindness

  • @programmerbiru
    @programmerbiru Год назад

    It's amazing..

  • @lapiece86
    @lapiece86 Год назад

    Also, in mobile it seems all the icons are visible, it would be better if shown only on click

  • @adsonsantos7197
    @adsonsantos7197 2 года назад

    nice job

  • @TheLovelyNatureOfficial
    @TheLovelyNatureOfficial 2 года назад +1

    I am impressed

  • @ajirizalnursaputra7779
    @ajirizalnursaputra7779 Год назад +1

    Yesssss!!!

  • @shrikantgadkar7794
    @shrikantgadkar7794 8 месяцев назад

    Is it responsive for mobile and tablet

  • @lapiece86
    @lapiece86 Год назад

    Very nice, is it possible to add submenus (with arrows and drop down) ?

    • @CodingLabYT
      @CodingLabYT  Год назад

      Here is the tutorial - ruclips.net/video/ES8vJcUqE7s/видео.html

  • @rakibhossain8986
    @rakibhossain8986 2 года назад

    just wow

  • @hackerprime9722
    @hackerprime9722 Год назад +2

    It would be nice if this had tool tip as well.

    • @Ashishsharma-ig7is
      @Ashishsharma-ig7is Год назад

      animated Box With CSS
      ruclips.net/video/gBmx3RmThDE/видео.html

  • @mhr3029
    @mhr3029 7 месяцев назад

    how to set default that show sidebar first???

  • @GoldAppSolutions
    @GoldAppSolutions 7 месяцев назад

    Ik zie de link van de source code niet staan zou u deze kunnen delen?

  • @dreamteams
    @dreamteams 2 года назад +1

    Неплохо 👍