Skip to content

Instantly share code, notes, and snippets.

@ivanteoh
Created July 6, 2020 10:24
Show Gist options
  • Save ivanteoh/2ad58b3df15818e141742b9ac236a879 to your computer and use it in GitHub Desktop.
Save ivanteoh/2ad58b3df15818e141742b9ac236a879 to your computer and use it in GitHub Desktop.
Javascript: 101 Sign Up
<!DOCTYPE HTML>
<html lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
<title>JavaScript 101</title>
<script type="text/javascript">
function load()
{
var total = 2 + 2;
alert(total + '');
}
</script>
</head>
<body onload="load()">
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment