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 trialJustin Kinney
445 Pointshow would i format the last challenge task?
for the I\O code challenge it states create a var email_greetings (done) then it says gave it say x loves y. would we rename the var's or would we use existing var's?
4 Answers
Samuel Webb
25,370 PointsBy using concatenation with the + operator like this:
name = 'Sam'
treehouse = 'Tree' + 'house'
email_greeting = treehouse + ' loves ' + name
Justin Kinney
445 Pointsthats exactly what I put and it says try again...
Samuel Webb
25,370 PointsAre you sure you're spelling everything correctly? Copy/paste mine into your code challenge and it should work. I tested it out before posting and it passed for me.
Justin Kinney
445 Pointsokay Ill try and that could be it, its hard typing with a cast
Justin Kinney
445 Pointsit worked! what had happend was wasn't putting a space between the ' and love so i was putting it like this 'Loves' and not ' Loves '. haha Thank you sooo much
Samuel Webb
25,370 PointsNo problem.