Skip to content

Instantly share code, notes, and snippets.

@rishisidhu
Created April 27, 2020 13:34
Show Gist options
  • Save rishisidhu/c2fa14c6c97b7515b7b97969e22074a8 to your computer and use it in GitHub Desktop.
Save rishisidhu/c2fa14c6c97b7515b7b97969e22074a8 to your computer and use it in GitHub Desktop.
This file implements a button which can run a javascript file
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Document</title>
</head>
<body>
<h1>Javascript Var v/s Let v/s Code</h1>
<script src="index.js"></script>
<input type="button" onclick="go()" value="Run JS Program" />
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment