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 trial

CSS How to Make a Website Customizing Colors and Fonts Write Hexadecimal Colors

Please help me with this code challenge

Challenge task 2 of 4: Set the color of paragraphs to black using a hexadecimal value. I put p{ color: #111; }

Can someone tell me where I went wrong?

3 Answers

Cayla, if you're setting the paragraph color to black using hexadecimal values (in an HTML or CSS document), then what they're looking for specifically is something like

p { color: #000; }

or

p { color: #000000; }
Adam Evans
Adam Evans
6,975 Points

I am not entirely sure, but they are probably looking for #000.

Thank you! For some reason I had it in my mind that 1's were the lowest. How silly!

You're welcome, Cayla. If you decide to study JavaScript, PHP, Ruby, or something else, then you'll find out most programming languages are 0-based, especially with arrays where the first item is "0". If you're running Chrome, Firefox, or Opera, you'll have a Console where you can try out different JavaScript commands.

array = ["milk","honey","bread"];
array[0];