How can I change the color in my array using javascript still using innerHTML

It is possible to change the color of my array using javascript still using document.getElementById("myArray").innerHTML = girls; ???
JS

function myArray() {
		var girls = ["barbara", "gloria", "andrea"];
		myArray.toString();
		document.getElementById("myArray").innerHTML = girls;
		document.getElementById("myArray").style.color = red;

	}

code
i would like to change the font color to red when the array appears using the this line of code document.getElementById("myWishes").innerHTML = wishes;
i was trying to do it in this way:

unction myWishes() {
		var wishes = ["soda", "pasta", "tv", "pizza"];
		myWishes.toString();
		document.getElementById("myWishes").innerHTML = wishes;
		document.getElementById("myWishes").style.color = red;
	}

but didnt work

This is my code in codepen

OMG thats easy, so can we use continuously different

document.getElementById("myWishes").innerHTML = wishes;
document.getElementById("myWishes").style.color = "red";
document.getElementById("myWishes").style.background= "blue";

to modify the elements without issues right?

thanks alot that info was handy thanks :grinning::grinning: