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 trialBenjamin Brinsden
Courses Plus Student 109 Pointsi've done the coding correctly and it says its correct on xcode but it does not say its correct on here, please help!
let name = "Ben" let greeting = "Hi there," let interpolatedGreetingName = "(greeting) (name)"
let name = "Ben"
let greeting = "Hi there,"
let interpolatedGreetingName = "\(greeting) \(name)"
1 Answer
Chris Stromberg
Courses Plus Student 13,389 PointsYour code will compile with xcode, but it does not do what the challenge asked for.
Part 1.
let name = "Ben"
let greeting = "Hi there, \(name)"
Benjamin Brinsden
Courses Plus Student 109 Pointsthanks chris! im confused on what the question was asking me.
Benjamin Brinsden
Courses Plus Student 109 PointsBenjamin Brinsden
Courses Plus Student 109 PointsIn Xcode, the answer come out to be "Hi there, Ben" this is the outcome that the question asked me to get.