What's a good reason to link HTML and JavaScript files together?

So we can use JavaScript to make HTML interactive So we can write more HTML codeHTML pages don't work without JavaScript

A good reason to link HTML and JavaScript files is so we can use JavaScript to make HTML interactive.