(Solved) How do I change the background color in a web code? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

(Solved) How do I change the background color in a web code?

I’m making a page, and I’m wondering how to change the background of a page, so it isn’t white. How do I do that?

26th Jun 2022, 5:55 PM
MyNameIsNotBob
MyNameIsNotBob - avatar
1 Answer
+ 3
You can style the background using CSS on <body>: body { background-color: #ff9900; }
26th Jun 2022, 5:58 PM
Lisa
Lisa - avatar