Inherit CSS Variables: root, pink penguin belly

In the Inherit CSS Variables chapter of the Responsive web design cert, I have this:

<style>

  :root {

    /* Only change code below this line */

    --penguin-belly: pink

    /* Only change code above this line */

  }

  body {

    background: var(--penguin-belly, #c6faf1);

  }

but it says wrong answer, I really think it is correct, can anyone shed some light on this? I think there is a bug with the correction

You need a semicolon ; after pink.

For me, the code works after you add a semicolon

thanks, you are right, I was missing a semicolon

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