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 trialChantal St Louis
5,524 PointsI don't understand how this answer is wrong? It's correct on the browser console
... and as I far as I can see I'm answering the given question correctly. Here's my code
let firstName = 'Stacey';
let lastName = 'Grey';
let role = 'developer';
const msg = firstName + ' ' + lastName + ':' + role.toUpperCase() + '.'
2 Answers
Steven Parker
231,236 PointsClose! But you need a space after the colon, and no punctuation at the end.
Chantal St Louis
5,524 PointsThank you. I missed the fact that the full stop was outside of the quotations in the question. Thanks again
Bolivar Arguello
Front End Web Development Techdegree Student 9,429 PointsBolivar Arguello
Front End Web Development Techdegree Student 9,429 Pointslet msg = firstName + " " + lastName + ": " + role.toUpperCase(); shall display content inside the double quotation marks only, and there is no puntation after developer. note: Always check for semicolon at the end.