Created
December 7, 2014 18:27
-
-
Save bbugh/741bc264f6d8e49e238a to your computer and use it in GitHub Desktop.
Practicing events with jQuery
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<title>jQuery Practice</title> | |
</head> | |
<body> | |
<div id="content"> | |
<div class="entry"> | |
<h1>You Won't Believe What Happens When You Click This Link</h1> | |
<a href="#">Click me!</a> | |
</div> | |
<div class="entry"> | |
<h1>When I Clicked This Link, I Couldn't Stop Crying</h1> | |
<a href="#">Click me!</a> | |
</div> | |
</div> | |
<script type="text/javascript" | |
src="https://code.jquery.com/jquery-2.1.1.min.js"></script> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment