Learn CSS Variables by Building a City Skyline - Step 107

Tell us what’s happening: Ok, I’ve looked through the forums and it seems that no one has really properly answered this question. The exact prompt that comes up is: You should add a repeating-linear-gradient to .fb6 in the background property. This is implying that it isn’t even included it in my code at all, even though I can see it with my own two eyeballs and have spell checked everything multiple times. All of the other steps seem to recognize it just fine for this project and when I peek ahead to the next step, it looks exactly the same. Anyone have any guesses on why it’s not accepting the right answer?

Your code so far

WARNING

The challenge seed code and/or your solution exceeded the maximum length we can port over from the challenge.

You will need to take an additional step here so the code you wrote presents in an easy to read format.

Please copy/paste all the editor code showing in the challenge from where you just linked.

.fb6 {
  width: 9%;
  height: 38%;
  background-color: var(--building-color3);
  background: repeating-linear-gradient(
    90deg, 
    var(building-color3) 0%, 
    var(building-color3) 10%, 
    transparent 10%, 
    transparent 30%
  );
}

Your browser information:

User Agent is: Mozilla/5.0 (X11; CrOS x86_64 14816.131.5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.0.0 Safari/537.36

Challenge Information:

Learn CSS Variables by Building a City Skyline - Step 107

Look at how the challenge uses var here

Now look at how you use it. See a difference?

1 Like

here’s the thing, that has nothing to do with it. It may not be exactly the same, but it’s not the issue that I’m having. The issue is that the program is claiming that I don’t have the words repeating-linear-gradient within in my code.

Ya, the hint you are getting isn’t the best. In fact, it is lying to your face :slightly_smiling_face: But @Cody_Biggs is correct, the issue is that you aren’t using the proper syntax for the custom variables.

2 Likes

Thanks, you were right! Usually those hints are spot on, but I guess in this case it wasn’t.

Nevermind, bbsmooth explained why you’re correct. Thank you for the help!

2 Likes

Do you feel like opening a github issue for this?