Skip to content

Instantly share code, notes, and snippets.

@reactivepixel
Created July 20, 2012 19:13
Show Gist options
  • Save reactivepixel/3152657 to your computer and use it in GitHub Desktop.
Save reactivepixel/3152657 to your computer and use it in GitHub Desktop.
Semantics in HTML and JS
var var1 = 25,
var2 = 50,
var3 = (xxx?) * 1.15,
var4 = (yyy?) * 1.15;
<article>
<header>
<h2>About Us</h2>
</header>
<section>
<p>We are a bad ass company... check out references.</p>
</section>
<footer>
<h4>Copyright: our BA Associates Inc.</h4>
</footer>
</article>
var height = 25,
width = 50,
xSpacing = width * 1.15,
ySpacing = height * 1.15;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment