Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

JavaScript JavaScript Basics Working with Strings Combine and Manipulate Strings

i cant do the 3d step. please answer me.

let firstName = "felip";
let lastName ="aaaa" ;
let role = "developer";
let msg = firstName + " " + lastName + " :" + role + "."

4 Answers

Hey Buddy, so you are on the right track, but the idea here is to use the METHOD of toUpperCase on your role variable.

Like this:

let msg = firstName + ' ' + lastName + ': ' + role.toUpperCase();

thanks a lot i was trying it all day . my braid was melted haha

Anton Alexandru-Razvan
Anton Alexandru-Razvan
2,308 Points

i tried your answer but doesen't work to me..

No worries! The only thing is that you keep on trying! Good luck

where did you found my question? can i find also other people here and questions-answers?

I found your question under Community section. There you can see people asking questions ,and others answering them.

Hey Anton,

I just tested it again, and it works for me.

Here is the full code, have a look, you might have a syntax error somewhere:

let firstName = 'Ian'; let lastName = 'Cahn'; let role = 'developer'; let msg = firstName + ' ' + lastName + ': ' + role.toUpperCase();