JS execute após executar o arquivo HTML
<head>
<script src="js-file.js" defer></script>
</head>
Lam Nguyen
<head>
<script src="js-file.js" defer></script>
</head>