Learn CSS Variables by Building a City Skyline - Step 77

Tell us what’s happening:

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.

.fb1c {
width: 100%;
height: 80%;
background: repeating-linear-gradient(90deg, var(- -building-color4) 0%, transparent 10%, transparent 15%);
}

it tell me this : You should use a first color of --building-color4 from 0% to 10%.

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/111.0

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

Link to the challenge:
https://www.freecodecamp.org/learn/2022/responsive-web-design/learn-css-variables-by-building-a-city-skyline/step-77[quote=“tiguy, post:1, topic:603074, full:true”]
Tell us what’s happening:

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.

.fb1c {
width: 100%;
height: 80%;
background: repeating-linear-gradient(90deg, var(- -building-color4) 0%, transparent 10%, transparent 15%);
}

it tell me this : You should use a first color of --building-color4 from 0% to 10%.

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/111.0

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

Link to the challenge:

[/quote]

Use the </> button to format code properly.

The instruction: " Add a repeating-linear-gradient to .fb1c with a 90deg angle, your --building-color4 from 0% to 10% and transparent from 10% to 15% ."

You should have two colors and two transparent values in the gradient. The first and second are the same color and they are set to the values of the “0%” and "10%. The third and fourth are transparent set to the values of the “10” and “15%”.

2 Likes

it wasn’t the </> I’ve forgot to put the 10% after the 0% thank you for your help

1 Like

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.