style

Estimated reading time: 1 minute

.style

you can add style with style

var profile = document.getElementById('profile');
profile.style.color = 'red';
profile.style.height = '200px';

css properties

resource

dom, js