ga-wdi-exercises / pixart_js

Use JS events and programmatically generated DOM elements to build a drawing application. [javascript, dom]
MIT License
9 stars 321 forks source link

Homework - Pixart #46

Closed malissaromero closed 9 years ago

malissaromero commented 9 years ago

comfort level - 1 (I enjoy jquery and listed my thought process below) completeness - 1

I could not complete the first commit correctly. I did create a form variable and a form addEventListener correctly.

My thought process was to change the brush box color by manipulating the input tag. I looked online for a few options such as .on(keyup) which seems to be similar to the pixart.js solution on github. I could not get it to work.

I looked at setting up another changeColor function for that step because I have seen fellow students solution but I could not get it to work.

I really like the step by step directions because at least I'm not in the dark as to what to do next.

I know I want to change the color within my form.addEventListener but do not understand how to do that. I have included my pseudocode and different ideas I've tried in the comments.