Javor12
November 29, 2025, 3:11pm
1
Here is the instruction of step 75
Add a repeating-linear-gradient to .fb1c below the one that’s there; use your --building-color4 from 0% to 10% and --window-color4 from 10% and 90%. This will fill in behind the gradient you added last.
Hello Campers, what is wrong with this rule?
.fb1c {
width: 100%;
height: 80%;
background:
repeating-linear-gradient(90deg,
var(--building-color4) 0%,
var(--building-color4) 10%,
transparent 10%,
transparent 15%),
repeating-linear-gradient(90deg,
var(--building-color4) 0%,
var(--building-color4) 10%,
var(--window-color4) 10%,
var(--window-color4) 90%);
}
Please talk about how you got stuck trying to fix the code instead of copy-pasting the instructions
Javor12
November 29, 2025, 3:14pm
3
My code couldn’t pass fcc test.
I am aware of that. Did you do anything to try to figure out why the code wasn’t passing? Telling us what you tried helps us help you.
ILM
November 29, 2025, 4:35pm
5
Here are some troubleshooting steps you can follow. Focus on one test at a time:
Are there any errors or messages in the console?
What is the requirement of the first failing test?
Check the related User Story and ensure it’s followed precisely.
What line of code implements this?
What is the result of the code and does it match the requirement?
If this does not help you solve the problem, please reply with answers to these questions.
Javor12
November 29, 2025, 5:10pm
6
Here are the answers for questions 1 and 5 respectively.
YES, there is a message in the console which says - “You should add a repeating-linear-gradient with a first color of --building-color4 from 0% to 10%.”
The result of the code actually reflected on the project even though it couldn’t pass.
ILM
November 29, 2025, 5:21pm
7
make sure you did not add anything extra, that can also cause tests to fail
for more help, share the link to the challenge
Javor12
November 29, 2025, 5:34pm
8
Here is the link to the challenge
ILM
November 29, 2025, 6:19pm
9
you added something that was not asked for, so it’s failing
Javor12
November 30, 2025, 9:55am
10
I hope you have noticed something that’s causing it fails, right?
Javor12
November 30, 2025, 10:07am
11
Thank you, I have passed.
1 Like