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 trialGroshvin Grover
327 PointsHow could I complete this Code Challenge?
So I'm stuck on this Code Challenge and no matter what I tried nothing works. It could be because I'm new to programming, but if you could help, then that would be great. Here's a screenshot. Thank you!
name = "Kenneth"
subject = "Treehouse " + "loves"
2 Answers
Ian Darby
1,455 Points"Treehouse loves" is its own string. The problem is asking you to combine the aforementioned string with the name variable.
Ian
Keifer Joedicker
5,869 PointsThe challenge is asking you to concatenate the variable "name" with the string "Treehouse loves ".
Concatenate is a fancy term for adding strings together.
Try putting "Treehouse loves " in one string, then with your addition operator add the variable you created called name.