Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialKristina Gillooly
9,546 Pointsthe new color section is not showing up in workspaces
on the plan video for creating a simple drawing application the add new color button/section is not appearing in workspaces
Kristina Gillooly
9,546 Points1 Answer
jaredcowan
11,808 PointsOn line 5-13 you forgot to give the function an opening curly brace.
//when clicking on control list items
$(".controls li").on("click", function() { // <-- forgot `{`
//deselect sibling elements
$(this).siblings().removeClass("selected");
//select clicked element
$(this).addClass("selected");
//cache current color
color =$(this).css("background-color");
});
jaredcowan
11,808 Pointsjaredcowan
11,808 PointsKristina Gillooly, Can you please post your code so I can better assist you.