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 trialCraig Kempster
4,332 PointsBummer: Make sure you're concatenating `: ` to `lastName` and `role`.
Answers in the forum did not work
let role ='developer'; let role_upper = role.toUpperCase(); works in VS
let firstName = 'First Name';
let lastName = 'Last Name';
let role = 'developer';
let msg = ( firstName ) + (' ') + ( lastName + ':') + ( role.toUpperCase() );
3 Answers
Craig Kempster
4,332 Pointslet role ='developer'; let role_upper = role.toUpperCase(); let msg = ( firstName ) + (' ') + ( lastName + ':') + ( role_upper ); Works in Visual Studio Code but fails in TreeHouse Window
Victor A Hernandez
1,957 PointsThis solution does not work for me.
Javier Garduno
962 PointsHi this is the correct answer if needed : all it needed was a space as so >>> ' : ' in string
let msg = ( firstName ) + (' ') + ( lastName + ' : ') + ( role.toUpperCase() );