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 trialScott Magee
4,168 PointsCan't Complete Challenges
Intermittent issues using Firefox or chrome with code challenges in the UI Element States Pseudo Selector section of the CSS course.
I am asked to add a font weight of "bold". So I type;
{ font-weight: bold; }
Then I receive an error ". Make sure you set font-weight to 'bold'."
Sometimes if I refresh the page, close the browser and reopen, or switch browsers the problem goes away, with no changes to my answers (which I am testing along side the browser)
Is anyone else running into this issue?
3 Answers
Raymond Yuen
7,291 Pointsthat on its own won't do anything because you are missing the selector. it should look like this:
[thing you are targeting] { font-weight: bold; ]
Scott Magee
4,168 PointsYes, sorry. This has happened to many different questions throughout the various code challenges. I am definitely including the proper css (unless I've lost my mind@!). Here's the example of what is/was failing in code check;
input[type="radio"]:checked + label {font-weight: bold;}
Then I receive an error ". Make sure you set font-weight to 'bold'."
Jeff Busch
19,287 PointsHi Scott,
I believe the code challenge is also asking for a font color. Sometimes the error messages aren't that accurate.
Jeff
James Barnett
39,199 PointsJames Barnett
39,199 PointsCan you update your original post with all of your CSS you using in this code challenge so we can see the bigger picture.