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 trialGyörgy Varga
19,198 PointsMore specific solution...?
In the tasks "Change the background color of the submit button when active." and "Give the text field a blue border upon focus." there is a more specific solution than the one in the video...
For the first task this:
.subscribe input[value="Signup"]:active { background-color: red; }
And for the second this:
.subscribe input[placeholder="Enter email..."]:focus { border-style: solid; border-color: blue; }
Is this allright? It's working fine, I am just wondering is my solution gives unnecessary loading time, not so effective or something like this... and I'm not thinking about the styling...
Thank you for your answer!
1 Answer
William Owens
8,668 PointsHi Varga, Your load time will not be adversely affected. As for the effectiveness of the code I'm not entirely sure, but I think it's fine.