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 trialMUZ140907 Wellington Maredza
3,014 Pointshello guys how can can i put the name variable and the treehouse variable in the sentence "X loves Y"
i have tried something but it is ending up saying it looks like Task 1 is not passing yet the 1st and 2nd answers were said to be correct
name=("wellington")
treehouse=("Tree"+"house")
email_greeting=("treehouse"+loves+"wellington")
1 Answer
Vittorio Somaschini
33,371 PointsHello Wellington.
When you want to use the variable you have created, you do NOT have to use quotes, otherwise the compiler would handle it as a string.
The email_greeting variable should be a concatenation of our 2 variables (the ones just created) and a string " loves " in between.
Please pay extra attention to the spacing as well.
Let me know if still stuck.
;)
Vittorio