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 trialAlan Sea
6,781 PointsColor selector not showing and chrome dev tools not showing an error
I'm sure my problem is relatively simple, but it's hard to fix when dev tools doesn't give me a single clue. Can anybody spot anything I'm not seeing?
2 Answers
rydavim
18,814 PointsA second pair of eyes always helps! It looks like you've got some minor issues with just one line of code.
// Changed single-quotes to double-quotes, added a + after the b, added # before newColor.
$("#newColor").css("background-color", "rgb(" + r + ", " + g + ", " + b + ")");
That did it for me, but let me know if you run into trouble. Happy coding! :)
Alan Sea
6,781 PointsThanks