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 trialMatt Fried
10,665 PointsSlight error in .attr() getter/setter example shown
I just noticed a slight error in the (getter) and (setter) example shown at the start of the video.
The second line of code has a single quote mark at the start of the #my-image selector, and a double quote mark and the end of it shown like this -> $('#my-image").
Just a heads up to anyone taking notes throughout the course that those should both be a matching type of quotation mark shown like this -> $('#my-image') -or- $("#my-image").
Great course by the way :).
1 Answer
Steven Parker
231,275 PointsGood eye! And now that I looked again, I notice on the first line the quotes don't match either because they are word processor type "curly quotes".
In addition to warning the students, you might want to make a bug report to the staff as described on the Support page.