Build a Responsive Sidebar in 10 minutes | HTML, CSS & JavaScript

Поделиться
HTML-код
  • Опубликовано: 20 май 2024
  • Learn how to build a simple and easy responsive animated sidebar in under 10 minutes using HTML, CSS & JavaScript!
    Source code: github.com/TylerPottsDev/html...
    // JOIN THE DISCORD SERVER!
    / discord
    // BECOME A MEMBER TO UNLOCK MORE CONTENT!
    ruclips.net/user/tylerpottsjoin
    // MY GEAR FOR CODING AND RUclips
    Blue Yeti Microphone: amzn.to/3jr3l7T
    Microphone Stand: amzn.to/35B9LMN
    Chair: amzn.to/3dWds3F
    Thunderbolt Dock: amzn.to/3osBF6u
    Monitor: amzn.to/37I8KoR
    Screenbar Light: amzn.to/3iFRS7w
    All of these products I own and have tested!
    // FOLLOW ME ON TWITTER
    / tyler_potts_
    // INTERESTED IN GAME DEV?
    Game development channel: / muddywolf
    // CHECK OUT MY GAME
    play.google.com/store/apps/de...
    // DO THESE SIMPLE STEPS
    LIKE, SUBSCRIBE & SHARE
    // Timestamps
    0:00 Intro
    0:44 HTML
    2:20 CSS
    4:14 Responsive + Hamburger
    7:44 JavaScript
    8:24 Thanks for watching
  • ХоббиХобби

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

  • @TylerPotts
    @TylerPotts  2 года назад +12

    Did you enjoy this style of video?

  • @rodrodrigues1729
    @rodrodrigues1729 11 месяцев назад

    would you recommend a wrapper around it?

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

    Hello,
    Thank you for your work, very well explained. You deserve a big compliment there.

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

    Love it, keep up this series / content

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

      Thanks, if you like this format I'll definitely do more like it! :D

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

      @@TylerPotts yea I like smaller tutorials 🤭👍

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

    Great tutorial!

  • @user-cw5hl8id6c
    @user-cw5hl8id6c 2 месяца назад

    Realy quick and clean!

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

    Cool, i like the nav button animation

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

    how can i make the sidebar disapear

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

    Thank you good sir!

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

      You're welcome, Coding Fox!

  • @odessa.ukraine
    @odessa.ukraine 7 месяцев назад

    Thank you for good tips! I have a question: how to make this sidebar scrollable with a lot of menu-items? iPhone screen fits only 11 items

  • @vampirejs758
    @vampirejs758 2 года назад +3

    This was quick !

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

      That was my goal! Quick but still have the required learning material!! :D

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

    but without a position fixed if your page has too much content when you scroll your links in sidebar will be hidden

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

    thank you

  • @RexGalilae
    @RexGalilae 2 года назад +3

    First time seeing an "aside" tag in action haha. What are the benefits of using this over a standard div that is styles adequately? Or does it have SEO benefits?

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

      Haha I know, semantics are more for informational purposes, like letting user know the header, nav, footer sidebar, it allows the developer to have more structured content than just using divs, I believe that it also has accessibility purposes too for screen readers

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

      @@TylerPotts
      Good point. Can imagine screen readers relying on these to make sense of the page layout.

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

    Thank s

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

    Quick and precise, thanks
    Ps: theme of vscode plzzzzz!

  • @secretsilver8962
    @secretsilver8962 2 года назад +3

    No offense but I feel like I learned nothing from this but to copy lol

    • @dev-ps9zn
      @dev-ps9zn Год назад +2

      and that's how you learn. copy, weak it, improve

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

      Same here except that even when I copied the code from github, it did not give the required results .. I did not see the hamburger

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

      @@dev-ps9zn that is not how you learn. If you do something without knowing what you are doing then all you are doing is learning to do that one thing and you will be limited on how to do things like it

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

      @@secretsilver8962 What you should do instead is follow along with the code, try to understand what he does and try to change small things and see what changes. Look up the elements/ actions you dont understand. Then try to do it all by yourself once you think you understand it. This way it will be engraved into your brain

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

      @@aza7866 the point of “how to” in code is to explain to you how to make something. If f I wanted to know how to make a responsive sidebar I’d just look up the code online. People look at RUclips videos to learn how to make something not to copy and paste