Learn CSS Variables by Building a City Skyline - Step 77 Not sure what I’m missing I have also tried removing the 0% with no luck

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.

Replace these two sentences with your copied code.
Please leave the ``` line above and the ``` line below,
because they allow your code to properly format in the post.

Your browser information:

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

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

Link to the challenge:

Post the entire html and css code here. Use the </> button for that purpose.

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

i am posting that part only in which i have to do that task

  • after 90deg you miss a comma
  • ‘transparent’ goes without var() - it is not defined as a variable
  • after the first color’s 0%, and the first transparent 10%, you should add a comma.
.fb1c {
  width: 100%;
  height: 80%;
  background: repeating-linear-gradient(
    90deg,
    var(--building-color4)0%,
    var(--building-color4)10%,
    --transparent 10%,
    --transparent 15%
  );
}

what problem now i am having can you tell me ??

Delete the dashes in front of “transparent”.

thank it worked if you don’t mind can i ask you one question?

Of course. That is why we are here.

where are you from and what is your age

Click on my avatar to get the basic information. For the age question, I think it doesn’t matter at all.

ok bro i want to get in touch with you so can we connect on linkedin ?

That is always desirable option. The wider network, the bigger chances for jobs, projects, etc. Anyway, try to post these kind of question always in private chat.

ok i have started following you on linkedin make sure you also follow me back as it also benefits me . my username- Mohd Sultan