Philip Guo (Phil Guo, Philip J. Guo, Philip Jia Guo, pgbovine)

Hello World in HTML/JavaScript/CSS

Here's a super-simple "hello world" template for teaching Web frontend development with HTML, JavaScript, and CSS. Simply copy this code to an HTML file, open it in any modern Web browser, and open the console to start live coding in jQuery-enabled JavaScript:

<html>
<head>

<style type="text/css">
/* put your CSS code here */
</style>

<script src="http://code.jquery.com/jquery-1.11.0.min.js"></script>
<script type="text/javascript">
$(document).ready(function() {
  /* put your JavaScript code here */
});
</script>

</head>
<body>

<!-- put your HTML code here -->

</body>
</html>
Created: 2014-11-20
Last modified: 2014-11-20
Related pages tagged as programming: