[RESOLVED] CSS Fallback Value challenge

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:

  1. Change from --pengiun-skin to --penguin-skin.
  2. 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 :worried:

you just have to add black to it not fix typo restart the test and add black to both

You’re right, unfortunately I misunderstood the challenge request.

Thanks a lot!

1 Like