how to change the property of an element via getelementbyid code example
Example 1: how to change color on js
document.getElementBiId("your id").style.color = "your color";
//it can also be used as:
document.body.style.backgroundColor = "your color";
Example 2: change style js
// select element from DOM
const el = document.querySelector('.para')
// change css style
el.style.color = 'purple'