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!
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
Philip Bieni2,208 Points
What does it mean when you submit your work and it tells you task 1 is no longer passing?
The question ask for me to add a #Symbol and lastName in uppercase and I put: "#lastName".toUpperCase and the tells me that task one (var userName = id.toUppercase());" is no longer passing? I need help.
var id = "23188xtr"; var lastName = "Smith"; var userName = id.toUpperCase("23188xtr"); var userName + "#lastName".toUpperCase = "23188XTR#SMITH";
Steven Parker224,848 Points
That usually means you introduced a syntax error.
Since the tasks are re-tested in order, a syntax error will make them all fail, so it will report task 1 first.
In this case, you have an addition operation on the left side of an assignment, which is not allowed. Also remember that variable names should not be put in quotes, a variable should be declared only one time, and the toUpperCase method does not take an argument.