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

HW w07 d02 - Tammy's 'working' branch #21

Closed tpeters0 closed 9 years ago

tpeters0 commented 9 years ago

Complete 2-3 Understanding 2-3

I was stuck on step one forever, until I realized two things: 1) I had to put the event listener on the entire form and not just the button, and 2) Although JS uses camel case, I still needed the hyphen when selecting "#color-field"

I need some better foundation on appending things to get the rest to work.

andrewsunglaekim commented 9 years ago

I'm going to mark this as completed; however, it was very close to not being. I think you get the basic concepts of adding event listeners, but i would strongly encourage you to try this exercise again. Now that you know some jQuery, maybe try this problem again using jQuery.