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 trialLaly Singh
2,029 Pointshello, input[type="text"]:focus{} is not working?
1 Answer
Steven Parker
231,236 PointsThere's nothing obviously wrong with the CSS, perhaps the problem is caused by something else.
To share the entire environment, make a snapshot of your workspace and post the link to it here.
Laly Singh
2,029 PointsThank you for the clarification about the hash symbol! Here's my snapshot https://w.trhou.se/tgr1u7ox9m
Steven Parker
231,236 PointsOn line 59 of selectors.css there is this sentence: " Give the text field a blue border upon focus.".
But this line is not enclosed in comment symbols. So it is considered part of the selector for the next rule, which of course invalidates it.
Mark the comment appropriately to fix the issue.
Laly Singh
2,029 PointsThank you!!
Steven Parker
231,236 PointsSteven Parker
231,236 PointsFYI: This symbol # is a "hash" or "pound". It is not a "hashtag".
The term "hashtag" is not used in programming.
It is a term used only with certain social media sites for an identifier that begins with a "#".