Skip to content

Instantly share code, notes, and snippets.

@ggoodman
Forked from anonymous/index.html
Last active October 1, 2015 11:48
Show Gist options
  • Save ggoodman/1986619 to your computer and use it in GitHub Desktop.
Save ggoodman/1986619 to your computer and use it in GitHub Desktop.
Basic jQuery
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title></title>
<link rel="stylesheet" href="style.css" />
<script data-require="jquery" data-semver="2.0.1" src="http://code.jquery.com/jquery-2.0.1.min.js"></script>
<script src="script.js"></script>
</head>
<body>
<h1>Basic plunk!</h1>
<p>If the header above is red, then you know Plunker is working!</p>
<p>The header above should slide right, indicating that jQuery is up and running.</p>
<!-- Put your html here! -->
</body>
</html>
{
"tags": ["jquery"]
}
// Add your javascript here
$(function(){
$("h1").animate({
"margin-left": "100px"
}, "slow");
});
/* Put your css in here */
h1 {
color: red;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment