Code a dark/light theme toggle | JavaScript, CSS, HTML

preview_player
Показать описание

This week, Leanne and Michael are coding a dark/light mode toggle with HTML, CSS and JavaScript!

They'll look at:
💜 How to code a toggle switch
💜 Creating the light and dark modes with CSS and CSS variables
💜 Testing the themes with Dev Tools
💜 Using media queries to respect the user's system preferences

💡Come along and share your tips in the chat!

ABOUT SCRIMBA
Scrimba's goal is to create the best possible coding school at the lowest possible cost for students. If we succeed with this, it’ll give anyone who wants to become a software developer a realistic shot at succeeding, regardless of where they live or the size of their wallets.



🐦 Say hi on Twitter:
Рекомендации по теме
Комментарии
Автор

The thing that makes these streams so good as a learner is that you don't hide what you don't know. You give things a go and make mistakes (in a good way) so we all know that is normal and okay. Learning heaps today!

SnappyScience
Автор

At 32:48 there will be a jump cut. That's where YT stopped streaming, but pushed on regardless. When the stream got back up live you can see in the next second :D

AlanMynah
Автор

Would it be possible for you to make this code available in a file or something?

parasjain