do style in javascript code example
Example: js add css to document
document.querySelector('head').innerHTML += '<link rel="stylesheet" href="styles.css" type="text/css"/>';
document.querySelector('head').innerHTML += '<link rel="stylesheet" href="styles.css" type="text/css"/>';