Tell us what’s happening:
I couldn’t pass test 35 I’ve read some of other users topics who faced the same problem and still don’t know what the problem is.
Your code so far
/* These are the colors declarations */
:root {
--color0: #ffffff;
--color1: #e6f4e6;
--color2: #c2e0c2;
--color3: #8fc48f;
--color4: #4ea74e;
--color5: #0f7a0f;
--solid-border: 1px solid #000;
--dashed-border: 1px dashed #000;
}
/* This is the code I couldn't get pass */
#legend-gradient {
border: var(--solid-border);
width: 7em;
height: 1.2em;
background-image: linear-gradient(
90deg,
var(--color0) 0% 16.66%,
var(--color1) 16.66% 33.33%,
var(--color2) 33.33% 50%,
var(--color3) 50% 66.66%,
var(--color4) 66.66% 83.33%,
var(--color5) 83.33% 100%
);
}
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/137.0.0.0 Safari/537.36
Challenge Information:
Build an Availability Table - Build an Availability Table