Pls where is d error in these codes | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
- 1

Pls where is d error in these codes

The output is wrong https://code.sololearn.com/WAPlL6wed3v6/?ref=app

5th May 2022, 1:02 PM
daniel ishola
2 Answers
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.
5th May 2022, 1:24 PM
Mihail
Mihail - avatar
0
Thanks, I'll try this
5th May 2022, 1:36 PM
daniel ishola