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

Ruben Rios
Ruben Rios
391 Points

I'm having a really hard time with this question.

its asking me to Assign your first name to the variable firstName and your last name to lastName. and i have no idea what im doing wrong

app.js
let firstName = "Ruben";
let lastname =  "Rios";
let role = 'developer';
Ruben Rios
Ruben Rios
391 Points

this is what its telling me. Bummer: Make sure that the value of lastName is a string holding your last name.

1 Answer

Hi Ruben,

Change your lastname variable to lastName. Make sure you’re using camel case.