what is use of defer in javascript code example
Example: javascript defer
//A script that will not run until after the page has loaded
<script src="demo.js" defer></script>
//A script that will not run until after the page has loaded
<script src="demo.js" defer></script>