Created
June 25, 2013 23:22
-
-
Save tpowell/5863379 to your computer and use it in GitHub Desktop.
Simple helloworld example. Yes document.write is here but calm yourself if you know JS as we are on boarding people. Sadly alert is no better and console.log() is a next step with certain assumptions.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!doctype html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<title>JavaScript Hello World</title> | |
</head> | |
<body> | |
<h1>First HTML Based JavaScript</h1> | |
<hr> | |
<script> | |
document.write("Hello World from JavaScript!"); | |
</script> | |
<p>See at <a href="http://javascriptref.com/3ed/ch1/hellojsworld.html">Book site</a></p> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment