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 JavaScript Basics Working with Strings Combine and Manipulate Strings

can anyone help on challenge task 3 javascript basics

converting role to uppercase

app.js
 firstName="Malcolm"
 lastName="Mowlam"
 role = 'developer';
var firstame= "Carlos";
var lastName= "Salgado";
var role= "developer";
let msg = firstName + " " +lastName + ": "  + role;
const word= "developer";
// the value of 'Shout' is "DEVELOPER"
const shout= "role";. toUpperCase();

2 Answers

A R
A R
12,834 Points

keep an eye on what's a string and what's a variable.

let role= "developer";
const shout= role.toUpperCase();

thank you will have a go

thank you Bolivar