js add css to document 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"/>';