Skip to content

Instantly share code, notes, and snippets.

@janzeteachesit
Created February 17, 2017 07:32
Show Gist options
  • Save janzeteachesit/f0f69b7c3377d690e2105f2282b4ba17 to your computer and use it in GitHub Desktop.
Save janzeteachesit/f0f69b7c3377d690e2105f2282b4ba17 to your computer and use it in GitHub Desktop.
Chapter 1: Tennis_Step01
<!--
As long as it's between the start and end marks then it's a valid comment and won't show up on the page. But people can View Source in their browser and see it!
-->
/*
Utilising CodePen JavaScript Console (//codepen.io/nullobject/pen/cngzI)
made with love by @nullobject (http://joshbassett.info), 2014.
Stuff from tutorial not needed in CodePen
<!DOCTYPE>, <html>, <head> <body> tags
window.onload = function script
*/
console.log("Hello, World!");
console.log("Here's another line of text going to the JavaScript console");
// console.log("Jimmy Joe Bob!"); example of commenting out.
console.log("PROGRAMMING RULES OMB WHEEEEEEE!!1!!1!ONE");
/*Here's how a multi-line comment looks in JavaScript. Just like the HTML one it won't be used by the browser, but is still visible when someone does a View  Source.*/
<script src="//codepen.io/nullobject/pen/cngzI"></script>
<link href="//codepen.io/nullobject/pen/cngzI" rel="stylesheet" />
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment