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 triallake bernet
Courses Plus Student 1,794 PointsI have dyslexia and I'm curious I need help with thisChallenge task one of two I don't understand This example
let name = "lake" let greeting = "Hi there" let interpolatedMyGreeting = "(greeting), (name)"
is this right thanks
// Enter your code below
let name = "lake"
let
1 Answer
Sarah Hurtgen
Treehouse Project ReviewerHi! You have the right idea, but I think you're adding in an extra step. The constant "interpolatedMyGreeting" is not required, they only want the constant named 'greeting'.
They're looking for you to work 'name' into your 'greeting' string. Also make sure to include the backslash before (name). For example:
let example = "this is my example"
let sentence = "Hello there, \(example)."
// the final value of 'sentence' would be, "Hello there, this is my example."
Hope that helps!
lake bernet
Courses Plus Student 1,794 Pointslake bernet
Courses Plus Student 1,794 Pointsthank you for your help