Background color is good in console but not when I run it in my browser plz help | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Background color is good in console but not when I run it in my browser plz help

Html code ⬇️ <html> <head> <meta charset="UTF-8" /> <meta name="description" content="this is a good website" > <meta name="author" content="Rudhwan" > <meta name="viewport" content="width=device-width, initial-scale=1.0"> <link rel="stylesheet" href="/storage/emulated/0/CSS/style.css"/> <title>www.swpower.com</title> </style> </head> <body> <header> <h5> HOME PLANS CONTRIPUTE CONTACT</h5> <hr> </header> </body> </html> Css code ⬇️ header{ background-color: #34568B; } h5{ word-spacing:30px; font-family:serif; } https://code.sololearn.com/WHAdF17OpbZA/?ref=app

17th Jan 2022, 7:14 PM
Rudhwan Adam
Rudhwan Adam - avatar
1 Answer
0
Thanks Revma for informing me about that extra style tag, but yet BG color didn't appear on my browser, checked the css path file again and everything seems well
17th Jan 2022, 8:12 PM
Rudhwan Adam
Rudhwan Adam - avatar