Contoh Sederhana Menggunakan JavaScript File Eksternal di HTML
<html>
<head>
<meta charset="utf-8">
<title>Softhunt.net</title>
</head>
<body>
<form>
<a href="#" onclick="display()">Click Me</a>/>
</form>
<script src="index.js">
</script>
</body>
</html>
Outrageous Ostrich