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![](https://ecs-static.teamtreehouse.com/assets/views/marketing/shared/community-banner-white-47072046c51352fe6a69f5e691ff5700b28bb11d45197d7bdf066d9ea3f72d0c.webp)
![Javi Caballero](https://uploads.teamtreehouse.com/production/profile-photos/11687056/micro_giraffe-muzzle-spotted-fbbe89nexx6mapu6.jpg)
Javi Caballero
7,422 PointsBelow role, create a new variable named msg that combines the firstName, lastName and role variables to create a string
I can't seem to figure out why this is wrong. Ik it is something, but I can't find it.
let firstName = 'Javi';
let lastName = 'Caballero';
let role = 'developer';
let msg = firstName + " Javier " + lastName + "Caballero: developer" + role;
1 Answer
![Steven Parker](https://uploads.teamtreehouse.com/production/profile-photos/969492/micro_tool_chess_set_2.jpg)
Steven Parker
230,853 PointsWhat this code currently puts into msg
is: "Javi Javier CaballeroCaballero: developerdeveloper".
You will only need to use literal strings for spaces and/or punctuation. Your names and the role are filled in by the variables.
Javi Caballero
7,422 PointsJavi Caballero
7,422 PointsThanks! And wow, you answer a lot of questions lol... wait... BRO 215,000 POINTS THATS CRAZY
Steven Parker
230,853 PointsSteven Parker
230,853 PointsAbout half of those points are from answering forum questions.![:wink: :wink:](https://image-proxy-cdn.teamtreehouse.com/2e760b3ad2356c698f6445aa940a24edfd675455/68747470733a2f2f7374617469632e7465616d74726565686f7573652e636f6d2f696d616765732f656d6f6a692f756e69636f64652f31663630392e706e67)