Length 27:47How to let your users change the color scheme of your site
About this video
A tutorial on building a site where visitors can change the background colour, using HTML, CSS and JavaScript. It shows how to add the markup and styles, add a script, and detect dark backgrounds, using a portfolio site as the example.
What you’ll learn
- Add HTML and CSS controls that let users change the background colour
- Add a script that applies the chosen colour to the page
- Detect dark backgrounds to adjust the interface for legibility
Recommended
Length 27:47
Length 22:02
Length 22:06
Length 15:45
Length 24:48
Length 12:42
Length 14:45
Length 14:51
Length 10:31
Length 11:40
Length 10:47
Length 24:53