Hello guys,
I’ve an issue whit the “Attach a Fallback Value to a CSS Value” challenge.
The challenge ask me to " fix the typo and add a fallback value of black
to the background
property of the .penguin-top
and .penguin-bottom
classes"
In particular I make all the changes to code necessary to pass the test:
- Change from --pengiun-skin to --penguin-skin.
- set the fallback value to black
But when I run the test on the modified code, I’ve this result:
// running tests
Apply the fallback value of black to the background property of the penguin-top class.
Apply the fallback value of black to the background property of the penguin-bottom class.
// tests completed
I’m almost sure that the code I wrote I’ts correct (Am I maybe wrong??). This is the changes I made:
.penguin-top {
top: 10%;
left: 25%;
/* change code below */
background: var(--penguin-skin, black);
/* change code above */
width: 50%;
height: 45%;
border-radius: 70% 70% 60% 60%;
}
.penguin-bottom {
top: 40%;
left: 23.5%;
/* change code below */
background: var(--penguin-skin, black);
/* change code above */
width: 53%;
height: 45%;
border-radius: 70% 70% 100% 100%;
}
I really can’t find the error