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 trialbrandon jones
Full Stack JavaScript Techdegree Student 1,708 Pointsi don't know what i;m doing wrong subject = "Treehouse loves " + "brandon "
i didnt know what i'm doing wrong
name="brandon"
subject = "Treehouse loves " + " brandon "
1 Answer
Luc de Brouwer
Full Stack JavaScript Techdegree Student 17,939 PointsHi brandon,
you declared a variable called "name" but it doesn't ask you to literally concatenate your name into the string, but it asks you to use your name variable to concatenate into the subject variable
I am used to putting ; 's at the end but itsn't required I just figured out..
name = "yourname";
subject = "Treehouse loves " + " " + name;
this passed for me