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 trialBrian Hernandez
20,285 PointsHow To Make A Website Code Challenge Bug?
In 'How To Make A Website' under the 'CSS: Cascading Style Sheets' badge, the 'Style The Basic Elements' code challenge doesn't seem to allow for viewing the index.html file. Are you meant to infer the CSS selectors from the questions or possibly this is a bug?
I checked with both latest versions of FireFox and Chrome on OS X and can't view index.html
4 Answers
Nick Pettit
Treehouse TeacherHi everyone,
We've updated the instructions now to be more clear, specifying that "wrapper" is an ID. I hope that helps! :)
Jennifer Rai
Courses Plus Student 13,164 PointsHi Brian,
That is a good question. I wondered the same thing when I was doing that challenge and don't know if it is a bug or intentional. Two of the three questions you can figure out the selector easily without the html file, but for the second one you need to remember that the wrapper is an id not a class.
James Barnett
39,199 Points>
for the second one you need to remember that the wrapper is an id not a class.
That seems like a problem with the question to me, tagging Nick Pettit on this one.
Nick Pettit
Treehouse TeacherJust took a look at this. I agree, this is somewhat confusing. I've notified our developers and fix should be rolled out soon. Sorry for the confusion, and thanks for being patient with us!
Lawrence Shvartsberg
9,666 PointsOddly I didn't have an issue with the first 2 because I am pretty familiar html/css using #wrapper in most websites, what gets me is question three and how it's telling me my value for text-align is wrong when I know it's not.
ideally it's suppose to be , otherwise I wouldn't have got to question 3 if I haven't finished question 1 heh
.logo { text-align: center; }
If I am wrong, please feel free to correct me :)
Didn't mean to hijack the thread but figured to add since this one seems to be problematic. Either the question is giving improper instruction or something on the back-end is tweaking out.
James Barnett
39,199 PointsThe hint you get when you get something wrong is usually just a guess based on the most likely error that was programmed into the code correctness check, so in some cases that hint may be a bit of a red herring, this has discussed her on the forum a lot.
Lawrence Shvartsberg
9,666 PointsI figured the problem out , usually when I write id's in my websites, so I totally forget about the single selector , so instead of writing .logo, I tried #logo and presto