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 trialEric Shanks
6,030 Pointslet firstName = "Eric"; let lastName = "Shanks"; let role = "developer"; const msg = firstName + " " + lastName + ": " +
Create a string like "Carlos Saldago: developer."
let firstName = "Eric";
let lastName = "Shanks";
let role = "developer";
const msg = firstName + " " + lastName + ": " + role ".";
Eric Shanks
6,030 PointsAsking a question. I am getting a Bummer, can not read 1 as null.
2 Answers
Caleb Pooler
1,234 PointsHonestly, I'm uncertain how or why it worked. But I just passed this step using:
let firstName = 'Caleb'; let lastName = 'Pooler'; let role = 'developer'; let msg = firstName + " " + lastName + ": " + ":" + role + ".";
Brian Burkard
5,771 Pointsit was just a missing +
after role
and before "."
Eric Shanks
6,030 PointsThank you. That helps.
Abdullah Howard
11,955 PointsAbdullah Howard
11,955 PointsAre you asking a question or are you just posting your result?