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 trialCruiz Thomason
1,085 Pointsneed help
let interpolatedGreeting = "(greeting), (name)"
this is what I put down. Seems to still be wrong and can't figure out why?
// Enter your code below
let name = "Cruiz"
let greeting = "Hi there"
let interpolatedGreeting = "\(greeting), \(name)"
1 Answer
Jennifer Nordell
Treehouse TeacherHi there! Neither one of the challenge steps asks you to create a constant named interpolatedGreeting
. In the first step, you are to use interpolation in the greeting
constant.
The second step asks you to create a constant named finalGreeting
and use concatenation to join a variable and a string, but that is missing from your code as of right now. Exactly which step are you working on?