Freecodecamp: In the instructions there is a refernce to -> { color: #000000; } and the real answer is { background-color: #000000; }

Created on 18 Jun 2017  路  11Comments  路  Source: freeCodeCamp/freeCodeCamp

Challenge Use Hex Code for Specific Colors has an issue.
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36.
Please describe how to reproduce this issue, and include links to screenshots if possible.

My code:


<style>
  body {
    background-color: #000000;
  }
</style>

help wanted

Most helpful comment

ahh! I plan to respond but too slow. lmao

All 11 comments

real user @ZevGev

@zeevig @zeevig thanks for the issue! Yes, this is a bit odd. I thought this was moved into the instructions, but I guess not.

For whoever wants to take up this challenge, let's move that example up to the instructions. The "instructions" in the challenge test were just a reminder of how to set the colors. So moving them back up to the instructions should be intended as a reminder.

ahh! I plan to respond but too slow. lmao

@erictleung, I checking that challenge in beta. :O we have to do both. backup/master and staging.

http://beta.freecodecamp.com/en/challenges/basic-css/use-hex-code-for-specific-colors

@texas2010 I don't think we need to do it for backup/master as changes for that should be critical changes. This "error" can stay, as it is only supposed to be a suggestion/reminder.

@erictleung Hi! I'd like to take this one up and include it in the instruction like this, for example: "In CSS, we can use 6 hexadecimal digits to represent colors, two each for the red (R), green (G), and blue (B) components. For example, body { color: #000000; } will set the color of an element's text content to black (which is the lowest possible hex value). You can find more information about the RGB color system here."
If it's okay, I'll create a PR!

@Enikol thanks for your interest! I was thinking of having a separate code block just for the example

...For example, #000000 is black and is also the lowest possible value. You can find more information about the RGB color system here.

body {
  color: #000000;
}

Replace the word black in our body element's background-color with its hex code representation, #000000.

The code you need should be

"<blockquote>body {<br>  color: #000000;<br>}</blockquote>",

Let me know what you think. And please first read the contributing guidelines before taking care of this issue. And feel free to visit the Contributors Help chat room if you have any questions about helping. We're there to help.

I would take this. but someone can have it. XD

good luck. @Enikol

@erictleung Awesome. thanks a lot! I created a PR, if you could take a look at it, it would be great!
@texas2010 Thanks :)

Hi!am new here ,just want to clarify some thing plz don't laught if am wrong.what is backup/master? Thank you!

@haruna24 backup/master is a git branch name in the freeCodeCamp repository.

Was this page helpful?
0 / 5 - 0 ratings