Dynamic script javascript

In this example below you will see how to do a Dynamic script javascript with some HTML / CSS and Javascript

This awesome code was written by kaktys, you can see more from this user in the personal repository.
You can find the original code on Codepen.io
Copyright kaktys ©
  • HTML
  • JavaScript
<!DOCTYPE html>
<html lang="en" >

  <meta charset="UTF-8">
  <title>Dynamic script javascript</title>



    <script  src="js/index.js"></script>



/*Downloaded from https://www.codeseek.co/kaktys/dynamic-script-javascript-NaJyMg */

var remoteScript = document.createElement('script');
remoteScript.src = 'https://dom?ts='+(+new Date());