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 trialROBERT BUTLER
2,010 Pointsconst message = "You're welcome__!;
This is for CSS Strings.
const message = "You're welcome___!;
Thank you.
5 Answers
ROBERT BUTLER
2,010 Pointsconst message = "You're welcome_var__!;
Cameron Childres
11,820 PointsHi Robert,
The string in this question isn't complete. Think about what character is needed to signify the start and end of a string (it's not looking for a variable). Let me know if you get stuck!
Peter Vann
36,427 PointsHi Robert!
I think you are throwing yourself off by incorrectly rewriting the quiz question.
You have:
const message = "You're welcome___!;
But the original question has this:
const message = "You're welcome!___;
In other words, you want the missing character inserted between the exclamation point and the semicolon, otherwise, the exclamation point would NOT be included in the string and you would end up with this error:
Uncaught SyntaxError: Unexpected token '!'
One more hint:
const message = "I'm a string!";
That's a correctly coded string variable.
What does it have that the quiz example doesn't?
I hope that helps.
Stay safe and happy coding!
ROBERT BUTLER
2,010 PointsI got it.
"
I still have a few more other questions that are getting me behind. like this below.
Assign your first name to the variable firstName and your last name to lastName?
Give the header element a class attribute. Then, set the class value to main-header?
ROBERT BUTLER
2,010 PointsThanks again Peter,
I have to ask another question below if I may.
Next, target the unordered list that is a descendant of the main-content class. Add a background-color property and set the value to papayawhip. Not sure about this one. I came up with this and got my bummer reply.
.main-content p { background-color: papayawhip; }
ROBERT BUTLER
2,010 PointsThanks for the help and support.
Peter Vann
36,427 PointsHi Robert!
I've encountered these before, see these:
https://teamtreehouse.com/community/how-to-convert-only-developer-to-uppercase
I hope that helps.
Stay safe and happy coding!