Learn CSS Variables by Building a City Skyline - Step 105

Tell us what’s happening:

I’ve trying and tryin but found no solution, I’m stuck at “.fb5” where we have to add second ‘repeating-linear-gradient’ I’ve fullfilled the requirements but still an syntax error which i cannot find, can anyone help me?
i swear I’m gonna break my computer into pieces,
pls help me

Your code so far

<!-- file: index.html -->

/* file: styles.css */
/* User Editable Region */

.fb5 {
  width: 10%;
  height: 33%;
  background-color: var(--building-color2);
  position: relative;
  right: 10%;
  background: repeating-linear-gradient(
      var(--building-color2),
      var(--building-color2) 5%,
      transparent 5%,
      transparent 10%
    ),
    repeating-linear-gradient(
      90deg,
      var(--building-color2),
      var(--building-color2) 12%,
      var(--window-color2) 12%,
      var(--window-color2) 44%,
    )
}

/* User Editable Region */

Your browser information:

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

Challenge Information:

Learn CSS Variables by Building a City Skyline - Step 105

Hello and welcome back to the community!

Please don’t break your computer?

Try removing the comma after 44% and see if that works for you.

I have made this mistake myself at times.

Keep up your good progress.

1 Like

thank you so much it worked

1 Like

You are very welcome. Glad I could help!

It is something I think we all have done, and still do, and difficult to find.

Keep up your good progress!

1 Like

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