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 trialVy Nguyen
4,350 PointsThis is making my head hurt
how do you do this
var id = "23188xtr";
var lastName = "Smith";
var userName = id.toUpperCase();
userName += "#";
<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>JavaScript Basics</title>
</head>
<body>
<script src="app.js"></script>
</body>
</html>
3 Answers
Scott Duncan
2,287 PointsWhat is it you want to do Vy?
brendinnye
12,696 PointsBased on the challenge:
What you have seems to be correct for the first task (setting username to uppercase version of id variable).
The second task is asking you to append a # to the end of the username variable. So far,
userName += "#";
should be correct.
After this, the second task asks you to append the uppercase version of lastname to username. You are missing this. Add this feature and you should complete the challenge.
Scott Duncan
2,287 Pointssorry this is the first question I've helped with . I didn't see the view challenge button.
Your there Vy . Just remove the +=