how to select every tag linking a css file in javasscript 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"/>';