Cascading CSS variable

please help me with this code

	:root {
    var (--penguin-belly: pink)

		/* add code below */
		/* add code above */

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

declare the --penguin-belly variable in the :root and assign it to pink .

I’ve edited your post for readability. When you enter a code block into a forum post, please precede it with a separate line of three backticks and follow it with a separate line of three backticks to make easier to read.

See this post to find the backtick on your keyboard. The “preformatted text” tool in the editor (</>) will also add backticks around text.

Note: Backticks are not single quotes.


To help you effectively we would need to know a few things:

  • what is the link to the challenge (or what are the challenge instructions)?
  • what is it that you have tried doing?
  • what is it that you don’t understand?
  • what do the failing tests say?