Switch the order of the bonuses

bangalore
Ryan Sobol 9 years ago
parent 0e30df2147
commit d4ec26fcea
  1. 8
      README.md

@ -27,14 +27,14 @@ Here's a development workflow that we recommend you use.
### Bonus 1
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 2
Improve the mouse so it behaves like a real paintbrush. In other words, allow the user to paint by clicking and dragging across the canvas. For this, you'll need a combination of the `mousedown`, `mouseenter`, and `mouseup` events.
**TIP:** The [`mouseenter` event](https://developer.mozilla.org/en-US/docs/Web/Events/mouseenter) doesn't bubble to up the DOM tree.
### Bonus 2
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).
### Deployment
Review the following articles on the Surge platform and then deploy your website to production.

Loading…
Cancel
Save