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

CSS The Selectors Solution

Laly Singh
Laly Singh
2,029 Points

hello, input[type="text"]:focus{} is not working?

Steven Parker
Steven Parker
231,248 Points

:information_source: FYI: This symbol :point_right: # :point_left: 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 "#".

1 Answer

Steven Parker
Steven Parker
231,248 Points

There'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
Laly Singh
2,029 Points

Thank you for the clarification about the hash symbol! Here's my snapshot https://w.trhou.se/tgr1u7ox9m

Steven Parker
Steven Parker
231,248 Points

On 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.