- 1
Pls where is d error in these codes
The output is wrong https://code.sololearn.com/WAPlL6wed3v6/?ref=app
2 Antworten
0
You have a mistake in calling the variables.
They shouldn't be an empty space between the 'var' keyword and the parenthesis.
background: var (--penguin-belly,white); <-- incorrrect
background: var(--penguin-belly,white); <-- correct
^
You also have a lot of missing colons.
And you may want to give absolute positioning to all div elements at the beginning of the style tag.
0
Thanks, I'll try this