+ 8

Fill in the blanks to give yellow background color to the element with id="intro", and black text color to the class="mytext":

_____ { Background-color: yellow; } _____{ Color: black; }

7th Jul 2019, 8:33 PM
Amanuel Amdemichael
Amanuel Amdemichael - avatar
7 odpowiedzi
+ 4
#intro { Background-color: yellow; } .mytext { Color: black; }
7th Jul 2019, 8:35 PM
KingDaniel2004
KingDaniel2004 - avatar
+ 4
The answer is #intro and .mytext
7th Jul 2019, 8:38 PM
KingDaniel2004
KingDaniel2004 - avatar
+ 3
Remove the "^" symbol from your tag , it will work
7th Jul 2019, 8:40 PM
KingDaniel2004
KingDaniel2004 - avatar
+ 2
You don't learn if everyone gives you the answers all time. If you don't know, research how it works. The # connects to an id in your html, the . connects to classes in your html.
8th Jul 2019, 4:10 AM
Frenchtoast
Frenchtoast - avatar
+ 2
Thanks for the challenge. But perhaps it is better to do things like this in your feed. Topics like this are usually mfd.
8th Jul 2019, 4:17 AM
Chris Coder
Chris Coder - avatar
0
.mytext isn't working and this question is annoying me im about to give up ive searched every thing nothing tells me th second one and iv'e already tried on my own.
19th Feb 2022, 11:02 PM
Drake
0
if you need the anwer it's not mytext it's actually .points
19th Feb 2022, 11:06 PM
Drake