added bonus 3

This commit is contained in:
craigquincy 2017-02-13 10:45:16 -07:00 committed by GitHub
parent 1eb44be667
commit 3b6bcefb00

View File

@ -35,6 +35,11 @@ Improve the mouse so it behaves like a real paintbrush. In other words, allow th
Add a color picker which allows the user to select any brush color using the [`<input type="color">` tag](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/color) and the [`change` event](https://developer.mozilla.org/en-US/docs/Web/Events/change). Add a color picker which allows the user to select any brush color using the [`<input type="color">` tag](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/color) and the [`change` event](https://developer.mozilla.org/en-US/docs/Web/Events/change).
### Bonus 3
Research [LocalStorage](https://developer.mozilla.org/en-US/docs/Web/API/Storage/LocalStorage) and make a way to Save and Load a drawing. Research [JSON.stringify](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/JSON/stringify) and [JSON.parse](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/JSON/parse) as a way to put the drawing into LocalStorage.
### Deployment ### Deployment
Read over the following articles to learn how to deploy this web site to Surge. Read over the following articles to learn how to deploy this web site to Surge.