Welcome to the Treehouse Community
The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.
Timothy Wattimena4,896 Points
Always getting last question wrong on Landscape & Tools quiz for new Objective-C Basics course.
Hi. I'm always getting the last question wrong on the Landscape & Tools quiz on the new Objective-C course, and I don't know why.
This is the question:
Gabe’s favorite food is cheese, as shown in this code:
NSString *favoriteFood = @”cheese”;
Re-type that code below, so his favorite food is instead “bacon”.
This is my answer:
NSString *favoriteFood = @”bacon”;
I also tried this answer out: favoriteFood = @"bacon";
Both of them were wrong. What's the answer? I can't pass this quiz without getting this question right.
Jake Salo13,175 Points
i too had this issue, i solved it just by copying the code from the question and changing 'cheese' for 'bacon'. i assume that it is just a typo on one of the speech marks or something but this worked for me.