Add the tags to create a button.

<html>
<head>
  <script src="script.js"></script>
</head>
<body>
  <button>Add to cart</button>
</body>
</html>]]>

Make sure to add <button>Add to cart</button>.