Skip to content

Instantly share code, notes, and snippets.

@stephanie-walter
Created May 18, 2013 13:50
Show Gist options
  • Save stephanie-walter/5604460 to your computer and use it in GitHub Desktop.
Save stephanie-walter/5604460 to your computer and use it in GitHub Desktop.
Add class to element
document.body.className = 'hasJS';
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment