I mean, if I use JavaScript in an external file(write script code in another file, not in HTML file).
I write this code in my HTML file <script src="filename.js"></script>
But this code works only if I left the tags empty.
So I'm wondering that if we use JavaScript in an external way, should I leave the tag empty as I mentioned?