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

Thanks to everybody! prob:Finally, add a # symbol and lastName in uppercase to the end of the userName string. The final

var id = "23188xtr"; var lastName = "Smith"; var userName = id.toUpperCase() + "#" + lastname.toUpperCase(); alert(userName); I tryed this and so many things, I just can't sort myself out, please hel

Oops! It looks like Task 1 is no longer passing. this the answer I got fixing the syntax?

4 Answers

I have tried it again, after correcting just this part: lastName.toUpperCase() with the CamelCase, and also deleting the last line (alert(userName);) as the quiz is not asking for that part, and it works.

Hi Benoit

You typed lastname where you should have typed lastName (CamelCase).

I corrected syntax; I got =Oops! It looks like Task 1 is no longer passing. it is few days now I am puzzled

Anyway so many thanks to you

don't you see any solution?

thank you so much, Olga !