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 trialchey pettitt
657 Pointsit says task 1 is no longer passing help please
im creating a variable like this name = 'chey' which works then it says create a variable with two strings so i do it like this treehouse = tree + house press next and it tells me task 1 is not passing go back!! please help
name = 'chey'
treehouse = tree + house
2 Answers
Robert Richey
Courses Plus Student 16,352 PointsHi Chey,
Wrap tree and house inside quotes to make them strings. Also, you'll need to capitalize Tree for this challenge.
Now, create a variable named treehouse by combining two strings, "Tree" and "house".
Trevor Currie
9,289 PointsYou'll see "Task 1 is no longer passing" generally when you have some syntax error or otherwise non-functioning code.
In your case, you've tried to add two variables (tree, house) before you initialize their value.
With lines tree = "Tree" and house = "house" between the name = ... line and treehouse = ... line, your code will both function and pass the test.
chey pettitt
657 Pointschey pettitt
657 Pointsill try that thanks