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

Ijac Mihai
6,976 PointsI'm having problems with my javascript, it won't show in the browser
var firstName = prompt("What is your first name?"); var lastName = prompt("What is your last name?"); var completeName = firstName.toUpperCase() + ' ' + lastName.toUpperCase() ; var characterCount = completeName.lenght ; alert("The string\"" + completeName + "\" is '+ characterCount + "Characters long. " );
1 Answer

Owa Aquino
19,277 PointsHi Ijac,
I see that your using double quote wrong. I sugget use a single quote instead for your javascript strings.
alert('The string\"' + completeName + '\" is '+ characterCount + 'Characters long.' );
Also, your completeName.lenght is missed spell.
var firstName = prompt("What is your first name?");
var lastName = prompt("What is your last name?");
var completeName = firstName.toUpperCase() + ' ' + lastName.toUpperCase() ;
var characterCount = completeName.length ;
alert('The string ' + completeName + ' is '+ characterCount + ' Characters long.' );
Hope this help!
Cheers! Owa