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 trial

JavaScript JavaScript Basics Working with Strings Combine and Manipulate Strings

I can't seem to make this exercise work

I'm pretty sure i did this one right, because i check it in a workspace using the console.log, but I can’t seem to find out how to pass it, would you know what I can do to skip this part, if it continues to not let me pass?

app.js
let firstName;
let lastName;
let role = 'developer';

1 Answer

You have to complete what the challenge is asking; in this case it wants you to assign the variables a string with "firstName" being your first name and "lastName" being your last name. If you aren't sure how to do so this is how:

let firstName = "Name";
let lastName = "Last Name";
let role = "developer";