java.js
// Allows you to change the color of an object
Allows you to change the color of an object
Allows you to change the color of an object
function changeObjectColor(coloredObject, theColor, theTextColor) {
	const colob = document.getElementById(coloredObject);
	colob.style.backgroundColor = theColor;
	colob.style.color = theTextColor;
}
function changeObjectColor ( coloredObject , theColor , theTextColor ) { const colob = document . getElementById ( coloredObject ) ; colob . style . backgroundColor = theColor ; colob . style . color = theTextColor ; }
Allows you to change the color of an object
Allows you to change the color of an object