How could you improve this code? | Fixed Navigation Bar | HTML, CSS & JS

Поделиться
HTML-код
  • Опубликовано: 18 сен 2024
  • If you like my stuff, support me on Patreon! / dcode
    View code on GitHub:
    github.com/dco...
    In this video I have a go at creating a fixed navigation bar from scratch using bare-bone HTML, CSS and JavaScript. I'd now like you guys to give your opinions on the code and suggest any possible ways of improving this in terms of speed, characters used or general "good practice".
    I'm doing this in hopes of creating a discussion-style environment where everyone can learn from each other and we can all contribute, making it an interactive experience.
    I also wanted to do something slightly different on the channel where you can see how I would code something from scratch.
    Follow me on Twitter @dcode!
    If this video helped you out and you'd like to see more, make sure to leave a like and subscribe to dcode!

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

  • @wswebus922
    @wswebus922 6 лет назад +1

    Could you put your code on Codepen or Github?
    Thank you

    • @dcode-software
      @dcode-software  6 лет назад

      Good idea, especially for these larger type of videos - thanks mate!

    • @dcode-software
      @dcode-software  6 лет назад

      I've uploaded this code onto GitHub:
      github.com/dcode-youtube/fixed-navigation-bar-feedback/