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 trialKathleen OKeife
1,960 PointsCannot complete challenge
I have tried tot complete this challenge and it looks exactly like what Treehouse has posted on the web. What is wrong
let firstName = "Kat";
let lastName = "Gibbons";
let role = 'developer';
var msg = firstName + '' + lastName + ":" + role;
2 Answers
Steven Parker
231,275 PointsThe spacing might be hard to see in the video. The first literal string should not be empty, it should have a space in it. And the other one should have both a colon and a space in it.
Jaime Cazares
Courses Plus Student 2,888 PointsI'm a beginner. Thank you.
Jaime Cazares
Courses Plus Student 2,888 PointsJaime Cazares
Courses Plus Student 2,888 Pointsyou will need to add a + after role, and then period in single quotes.
Steven Parker
231,275 PointsSteven Parker
231,275 PointsJaime, have you taken this course? You specifically do not want to add punctuation after the role.