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 (Retired) Storing and Tracking Information with Variables Using String Methods

Stoicescu Sebastian
Stoicescu Sebastian
3,728 Points

Oops ! It looks like Task one is no longer passing. Error message.

The same annoying error. Literally I can't get it. Task one is correct, but when i solve Task two it occurs the message. Anybody encountered this before?

var id = "23188xtr";
var lastName = "Smith";

var userName=id.toUpperCase();
userName+= "#" + lastName;

1 Answer

Hi Sebastian, I've also seen this with other challenges on other courses, that if you make a mistake on the second task, it says "Task 1 no longer passing". Maybe this can be changed? @davemcfarland

Anyways, reading the Task 2 description, you also have to capitalize the last name.

var id = "23188xtr";
var lastName = "Smith";

var userName = id.toUpperCase();
userName += "#" + lastName.toUpperCase();

Hope this helps!

Best, Philip