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

Does anyone know the answer to this one? I've been stuck for a while now.

I feel like I shouldnt be this stuck on this challenge. can someone please give me a hint for this one?

app.js
let firstName = "Ja'Quan";
let lastName = "Thompson";
let role = 'developer';

let msg = "Ja'Quan " + "Thompson: " +  role;

console.log( msg+ role.toUpperCase());

1 Answer

Trent Ungard
Trent Ungard
10,533 Points

In your 'msg' variable, try to use the other variables that you've already declared to make your code more flexible.