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 trialFILIPPOS THEOFANAKIS
188 Pointsi cant do the 3d step. please answer me.
let firstName = "felip";
let lastName ="aaaa" ;
let role = "developer";
let msg = firstName + " " + lastName + " :" + role + "."
role.toUpperCase();
4 Answers
Ian Cahn
7,245 PointsHey 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();
Ian Cahn
7,245 PointsNo worries! The only thing is that you keep on trying! Good luck
FILIPPOS THEOFANAKIS
188 Pointswhere did you found my question? can i find also other people here and questions-answers?
Ian Cahn
7,245 PointsI found your question under Community section. There you can see people asking questions ,and others answering them.
Ian Cahn
7,245 PointsHey 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();
FILIPPOS THEOFANAKIS
188 PointsFILIPPOS THEOFANAKIS
188 Pointsthanks a lot i was trying it all day . my braid was melted haha
Anton Alexandru-Razvan
7,996 PointsAnton Alexandru-Razvan
7,996 Pointsi tried your answer but doesen't work to me..