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 trialJordan Thoma
302 Pointsconcatenation problem.
im not sure if I've simply formatted the answer improperly or if my answer is actually just wrong, help!
name = "jordan"
subject = "Treehouse loves"
subject + name =
Jose Aguirre
14,866 Pointsname = "jordan" subject = "Treehouse loves"
you've got the first part right, both of your variables are declared but they want subject to be "Treehouse loves jordan", right now it is just "Treehouse loves"
you can set subject to subject + name like this
subject = subject + name
but, there might be spacing issues here
let me know if that doesn't make sense you always though will only have one variable name on the left side of an equals sign.
1 Answer
Steven Parker
231,269 PointsYou don't need that third line.
You just want to add "+ name
" to the end of the second line.
Also remember to add a space after the word "loves" as Antonio suggested.
Jordan Thoma
302 Pointsyes this answer made sense, thank you and Jose and Antonio for helping me with this.
Antonio De Rose
20,885 PointsAntonio De Rose
20,885 Points