Build Your Own THEME SELECTOR with JavaScript & CSS

Поделиться
HTML-код
  • Опубликовано: 2 янв 2022
  • View the SOURCE CODE:
    github.com/dcode-youtube/them...
    In today's video we'll be building a theme selector using HTML, CSS and JavaScript. This is very easy to do and will even use Local Storage to save the chosen theme.
    Explore FusionCharts:
    www.fusioncharts.com/?...
    Thanks to FusionCharts for sponsoring today's video!
    🏫 My Udemy Courses - www.udemy.com/user/domenic-co...
    🎨 Download my VS Code theme - marketplace.visualstudio.com/...
    💜 Join my Discord Server - / discord
    🐦 Find me on Twitter - / dcodeyt
    💸 Support me on Patreon - / dcode
    📰 Follow me on DEV Community - dev.to/dcodeyt
    📹 Join this channel to get access to perks - / @dcode-software
    If this video helped you out and you'd like to see more, make sure to leave a like and subscribe to dcode!
    #dcode #javascript #css

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

  • @3hsan
    @3hsan 2 года назад +12

    Hey man, before your account blows up, I want to thank you with my whole heart for giving us this content. Your content is ideal for beginners like me. Pls don't stop making these types of tutorials where you explain things in small, logical steps. I specifically love these javascript series where you make different types of applications/components of sites. ❤

  • @li-ma-mu
    @li-ma-mu 2 года назад

    thank you so much for these videos! they are great and i am learning so many new things!

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

    PERFECT ! THANKS

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

    what an awesome tutorial 🤩

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

    Amazing as always

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

    pretty nice!

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

    You are amazing !

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

    Thanks dcode

  • @dcode-software
    @dcode-software  2 года назад +2

    Explore FusionCharts:
    www.fusioncharts.com/?Leads%20Acquisition&
    Thanks to FusionCharts for sponsoring today's video!

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

      Thanks for the video tutorial, this is what I needed all this time.
      Thanks You. ❤️😀😘

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

    You read my mind!

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

    Chrome now has a media query for dark more; you just put the another root rule inside it and when the client sees that the user prefers dark mode, it’ll use those colours. You can test by looking under the rendering tab in dev tools and clicking test dark mode something. Can’t really remember, don’t have a computer near me

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

    Really cool video, like

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

    Why do you have Chrome in light mode? It hurts so much in my eyes!

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

    Great video, I had absolutely zero idea that you could change css style sheets dynamically like that :|

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

    Great project ..sir want more js project

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

    Question: how can the retain the color on other pages??

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

    👍❤

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

    Which theme are you using in VScode? this is my favorite color combo

    • @dcode-software
      @dcode-software  2 года назад

      It's called "dcode" - give it a look!

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

      Hell yeah, thanks brotha. Keep the vids coming 🙌🏻

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

    Can someone help me? So, one of the things that the themes of my page should also change is the background, so I set a variable in each css theme file as "--background: url(./assets/backgrounds/standart.png);" (the png pictures are in a folder called backgrounds, in a folder called assets) and put this variable on my main stylesheet too. So I did everything in the video, step by step, all the colors are changing correctly as I change the themes, but not the background picture, that is actually not even showing on the default theme, a white flat background is everything showing.