Sololearn: Learn to Code
New course! Every coder should learn Generative AI!
Try a free lesson
+ 3
🎃#H P 22™🎃 <body style="background-color: black"> edit: 🎃#H P 22™🎃 Or much cleaner solution. swap your line 7 and line 8 upside down. (css has precedence rule, the lowest most has more priority than others in css but remember the highest priority is with inline css) Also the spelling of black must start with small letter in line 7 like so, background-color: black;
18th Sep 2020, 10:33 AM
Rohit
0
Remove background:url from the body it will become black
18th Sep 2020, 10:35 AM
Ruba Kh
Ruba Kh - avatar
0
Well I don't know it does not seem to be doing anything... Anyway to use both an image and color use background: black url("https://www.gunnars.com/wp-content/uploads/2014/08/Space.jpg")
18th Sep 2020, 10:38 AM
Ruba Kh
Ruba Kh - avatar