Last active
January 16, 2025 16:16
-
-
Save olegopro/1006be36586be00da042274f8561d010 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script> | |
function loadStyle(url){ | |
let link = document.createElement('link'); | |
link.href = url; | |
link.rel = 'stylesheet'; | |
document.body.appendChild(link); | |
} | |
loadStyle('css/async.css'); | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment