Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

CSS The Selectors Solution

Laly Singh
Laly Singh
2,029 Points

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

Steven Parker
Steven Parker
218,848 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
218,848 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
218,848 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.