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 trialMicah Dalton
2,182 PointsHelp! How do I make "Micah" into the SUBJECT variable without it saying that task 1 is not conplete anymore?
When i try to make subject = "Micah" and subject =+ "Treehouse loves" it says that task 1 is incomplete
name = "Micah"
subject =+
1 Answer
AJ Salmon
5,675 PointsHey Micah, usually, when "Task one is no longer passing", you have a syntax error. That's the case with your code! The line subject =+
is invalid syntax. You're giving it the correct opperand, but you're not giving it anything to concatenate, or add together. To complete this challenge, the subject
variable needs to be assigned the string "Treehouse loves Micah"
, and you need to accomplish this using string concatenation. So start with subject = "Treehouse loves "
and then use the +
opperand to add your name
variable to the string. Happy coding!
Micah Dalton
2,182 PointsMicah Dalton
2,182 PointsThanks! It solved the problem after a bit of troubleshooting! Thanks a ton!
AJ Salmon
5,675 PointsAJ Salmon
5,675 PointsHappy to hear it! My pleasure :)