JS i HTML

<html>
<head>
  <script src="plik.js">
  </script>
</head>
<body>
  <script>
  //kod js
  </script>
</body>
</html>