How do i style these codes to make it a header, text-color to be white, yellow background colour. | Sololearn: Learn to code for FREE!
Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren
0

How do i style these codes to make it a header, text-color to be white, yellow background colour.

I can't change the text color

3rd May 2020, 12:14 PM
Iwasam Enya
Iwasam Enya - avatar
6 Antworten
3rd May 2020, 1:27 PM
Arb Rahim Badsa
Arb Rahim Badsa - avatar
+ 1
Hey you added the code link as a tag, you could attach the code here in fact using the 'insert' button. However to color a text use : color: white; You can use any color name! And here's how you make the background yellow : background: yellow;
3rd May 2020, 12:19 PM
Arb Rahim Badsa
Arb Rahim Badsa - avatar
+ 1
Thanks AKR ! I'm grateful
3rd May 2020, 12:51 PM
Iwasam Enya
Iwasam Enya - avatar
+ 1
AKR How do i make the text appear in the middle of the header, not center align. Middle of the height. Like top, middle, bottom. https://code.sololearn.com/WiNFF53EA346/?ref=app
3rd May 2020, 1:14 PM
Iwasam Enya
Iwasam Enya - avatar
0
https://code.sololearn.com/WC9AGe8Bkx8a/?ref=app AKR
3rd May 2020, 12:43 PM
Iwasam Enya
Iwasam Enya - avatar
3rd May 2020, 12:44 PM
Iwasam Enya
Iwasam Enya - avatar