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 trialRandell Purington
9,992 PointsI am stuck on this one. I am not sure what I am missing.
I thought I had it right from following the video. But it says it isn't correct.
// Enter your code below
let greeting = "Hi there"
let name = "Linda"
let interpolatedGreeting = "\(greeting), \(name)"
2 Answers
Magnus Hållberg
17,232 PointsThe challlenge say you should interpolate the ”namn” constant in to the greering constant, not that you should create a new constant for them both.
Magnus Hållberg
17,232 PointsYour syntax is not wrong, you hav just not done what the challenge say and that makes an error in the Treehouse ”playground”. It will give an error If you make a typo in a variable name even though the syntax is correct. So its important that you follow the instructions to the point.
Randell Purington
9,992 PointsRandell Purington
9,992 PointsThank you for the response. I am still having an issue with this one. I am not sure where I am messing up. I wrote it in Xcode and everything workes fine, but when I write it in the code challenge it isn't accepting my answer.