css Background-color | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

css Background-color

Fill in the blanks to make the background color of the element with id="mystyle" black using hexadecimal color definition. mystyle? { background-color : # 000000 ; } help, where does it fail?

23rd May 2018, 3:40 AM
Luis Alberto Mendez Perez
Luis Alberto Mendez Perez  - avatar
3 Answers
+ 1
#mystyle, the "#" sign is used when you are going to apply CSS to an ID element #mystyle { background-color:#000000; } <!--try this one-->
23rd May 2018, 3:47 AM
Christopher Aguilar
Christopher Aguilar - avatar
+ 1
Thank you. that's why the little details count.
23rd May 2018, 4:41 AM
Luis Alberto Mendez Perez
Luis Alberto Mendez Perez  - avatar
0
Sigue aprendiendo compañero 🎉
23rd May 2018, 4:42 AM
Christopher Aguilar
Christopher Aguilar - avatar