These are chat archives for codefellows/sea-f1-TAs/Brian

23rd
Sep 2014
Ryan Christensen
@randhyllcho
Sep 23 2014 06:47
whats wrong with this code? https://github.com/randhyllcho/gtRace.git I can't get it to do anything but change the color of the racer upon click.
Brian Caldwell
@Caldwerl
Sep 23 2014 15:41
Check line 32 in the js file
whats the best way to bind an event to a dom element
Brian Caldwell
@Caldwerl
Sep 23 2014 16:12
Also, check your tabbing and white space, its very hard to tell where the scope is at the moment.
Ryan Christensen
@randhyllcho
Sep 23 2014 17:08
you mean line 33? I changed it to look like Diana's code that she put up yesterday.
I had it as $('raceButton').on('click', function()...) but it wasn't working so I changed it to match.
Brian Caldwell
@Caldwerl
Sep 23 2014 18:17
raceButton is an ID right?
Ryan Christensen
@randhyllcho
Sep 23 2014 18:47
yeesssss...