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

Osman Khan
Osman Khan
7,005 Points

Challenge Task 3 of 3 Finally, convert the string stored in role to uppercase letters.

Honestly feel like a doughnut as I seen the other posts and tried them with no luck - please help me understand what I need to do next?

let firstName = "Oz;" let lastName = "Khan"; let role = 'developer'; let msg = firstName + " " + lastName +":" + " " + role;

1 Answer

Steven Parker
Steven Parker
231,261 Points

For case conversion, you'd probably want to use the string method .toUpperCase().   :wink:

And for future questions, please be sure to provide a link to the course page and use Markdown formatting for the code. Take a look at this video about Posting a Question.

Osman Khan
Osman Khan
7,005 Points

I literally just solved it and it was unbelievably simple. I thought I had to rewrite another line with ".toUpperCase()." Thank you for your time Steven, and I'll be sure to watch the video for future posting.