Learn CSS Variables by Building a City Skyline - Step 104

it says I should give a color of var(–building-color2)0% 5%

but it still doesn’t pass

Your code so far


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.

.fb5 {
  width: 10%;
  height: 33%;
  background-color: var(--building-color2);
  position: relative;
  right: 10%;
  background: repeating-linear-gradient(
    var(--building-color2)0% 5%,
    transparent 5% 10%


Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/ Safari/537.36

Challenge: Learn CSS Variables by Building a City Skyline - Step 104

Link to the challenge:

hello, unfortunately you haven’t posted any code.
Please edit your post to add the code in the area indicated by the sentence “Replace these two sentences…”

Just updated it I feel like i have maybe a typo but everything looks good on my end

Try rewriting the stops into four lines with each line having one colour and stop number in it (right now you have two stops per line, so split them up so each one is by itself).

it worked! thanks wonder why they stated that or maybe they just wanted us to figure it out and remember for the other foreground buildings code

You guessed correctly. At this point they will expect you to recall how to write the code you learned before or at least be able to google the syntax up online. (Which is btw. how I got my response to you)

1 Like