Skip to content

Instantly share code, notes, and snippets.

@claraj
Last active September 25, 2017 20:48
Show Gist options
  • Save claraj/38233f39590cccc072eeaec0b245cb6c to your computer and use it in GitHub Desktop.
Save claraj/38233f39590cccc072eeaec0b245cb6c to your computer and use it in GitHub Desktop.
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Your Turn</title>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
</head>
<body>
<h2>A list of recently-released movies. Each li element should hide individually when clicked.</h2>
<ul>
<li>Wonder Woman</li>
<li>Hidden Figures</li>
<li>The Emoji Movie</li>
<li>Spiderman Homecoming</li>
</ul>
<h2>All the b elements should hide when any b element is clicked</h2>
<P>The <b>really cool</b> JQuery library can make <b>very long</b> JavaScript code
much <b>much much</b> more concise, at the expense of loading another library.</P>
<script>
// JQuery document ready callback
$(function(){
// TODO write your code here
});
</script>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment