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 trialChristopher J Doyle
682 PointsStill getting it incorrect..
let name = "CEEJAY" let greeting = "Hi there, (name)" let finalGreeting = "(greeting) + How are you? "
no Idea what im doing wrong. I asked for help and im still getting it wrong
// Enter your code below
let name = "Ceejay"
let greeting = "Hi there, \(name)"
let finalGreeting = "\(greeting) + How are you? "
3 Answers
Chad Goldsworthy
4,209 Pointsyour finalGreeting would output: Hi there, Ceejay + How are you? You don't want the + sign to show in your output, so either take the greeting out of the quotations or replace the + with a period, like so:
let finalGreeting = "\(greeting). How are you? "
OR
let finalGreeting = greeting + ". How are you? "
Christopher J Doyle
682 PointsThank you!
Christopher J Doyle
682 PointsI just did everything you said and did..copied and redid. still saying it's wrong..I looked it up..says im right. I did it xcode... and no error came up.. idk what to do
Chad Goldsworthy
4,209 PointsCould you post the full question for me to see?