westaa / localstorage-walkthrough

Saving a users background preferences with local storage

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Saving a users background preferences

Let's make a simple page that stores the users preference for a web page background color for each day of the week. A user should be able to visit the site, enter a hex color for each day of the week, and the page's background color should reflect that input. Furthermore, when the user closes the browser and revisits the page, the background color should still be the same as the colors that were previously entered, and NOT the default blank color.

https://gyazo.com/fad0401a938c959594f362bdd114715f

About

Saving a users background preferences with local storage


Languages

Language:HTML 48.9%Language:JavaScript 46.5%Language:CSS 4.5%