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 trialSydney Stevens
822 PointsI can't get passed the question in Web Design challenge.
It says "set the color of the paragraph element to black using hexadecimal colors" - I keep putting
p {
color: #000;
}
What am I doing wrong?
8 Answers
Zak Erving
22,832 PointsActually, Julian, hexadecimal numbering refers to a Base-16 numbering system (not 6), and tridecimal refers to a Base-13 numbering system. Senary refers to a Base-6, and Ternary refers to a Base-3.
Hence, Ricardo's right: you can abbreviate a hexadecimal to only 3 digitsβbut maybe for this particular quiz question, you could be right if TT is asking for all six digits to be implemented into the answer.
banned banned
Courses Plus Student 11,243 Pointsp {
color: #000000;
}
Try that
Julian Price
11,760 PointsHex means six ie hexagon (six sided)
Julian Price
11,760 PointsLOLs who knew geometry and math would be so useful :)
Ricardo Hill-Henry
38,442 PointsJulian Price, Hexadecimals can be abbreviated to 3. For example, #FFFFFF can be abbreviated to #FFF and #33FF44 can be #3F4. With this being said #000 should be equivalent to black. Why it doesn't work in the code challenge is beyond me.
Jason Anello
Courses Plus Student 94,610 PointsTask 2 passes with this:
p {
color: #000;
}
Which looks the same to me as what you posted. Maybe you should paste in what all of your css looks like on task 2. Maybe you have some error before that's throwing off the code checker.
Julian Price
11,760 PointsMark de Groot solution should work because hexa = 6
Julian Price
11,760 PointsYes colors can be simply 3 but the question was in hexadecimal (6) not abbreviated are tridecimals :) let's be honest 3 is tri :)LMAO . Let's get right people ;)