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 trial

iOS

Error when coding using swift on xcode the code works fine however when i input it onto teamtreehouse it bounces

let name = "Patrick"
let greeting = "hi there"
let greetingFinal = "\(greeting), \(name)"

You need it like this for treehouse. Haven't got my mac with me so can't say if it works on xcode but the code doesn't look to clean.

let name = "Patrick." let greeting = "hi there (name)" let greetingFinal = "(greeting)" + "How are you?"

Hope this makes sense.

Hm, the actual challenge is not linked with your post. Could you please copy and paste the URL? Makes it a bit easier to debug ;) Other than that, my guess is that the "h" of "hi" might need to be uppercase...