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

Variable

More info about variable

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

4 Answers

Steven Parker
Steven Parker
231,275 Points

The first task is just to assign the first 2 variables. The third variable already has an assignment, you can use that as a reference for the changes you make on the first 2 lines.

Let first = β€˜ shuhrat ’ ;

Let first name = β€˜shuhrat ’ ;

Let shuhrat; Let Qarshiev; Let role = β€˜ developer’;

Steven Parker
Steven Parker
231,275 Points

You need to leave the variable names there and add assignments to give them contents. For example:

let firstName = 'Shuhrat';