Skip to content

Instantly share code, notes, and snippets.

@brendalong
Created February 3, 2017 15:16
Show Gist options
  • Save brendalong/ec5fbe3ff952e66230e1c854d160d24f to your computer and use it in GitHub Desktop.
Save brendalong/ec5fbe3ff952e66230e1c854d160d24f to your computer and use it in GitHub Desktop.
Review Stuffs
<!DOCTYPE html>
<html>
<head>
<title>Review of Some JS</title>
</head>
<body>
<button id="resultBtn">Click for Results</button>
<div id="result-1"></div>
<dl>
<dd>Fee-fi-fo-fum!</dd>
<dd>I smell the blood of an English one:</dd>
<dd>Be he alive, or be he dead,</dd>
<dd>I'll grind his bones to make my bread.</dd>
</dl>
<button id="scaryBtn">Too Scary</button>
<p id="p1" class="story">When the giant falls asleep Jack steals a bag of gold coins and makes his escape down the beanstalk.</p>
<p id="p2" class="story">Jack climbs the beanstalk twice more. He learns of other treasures and steals them when the giant sleeps: first a goose that lays golden eggs, then a harp that plays by itself. The giant wakes when Jack leaves the house with the harp and chases Jack down the beanstalk. </p>
<p id="p3" class="story">Jack calls to his mother for an axe and before the giant reaches the ground, cuts down the beanstalk, causing the giant to fall to his death.</p>
<p id="p4" class="story">Jack and his mother live happily ever after with the riches that Jack acquired.</p>
<hr>
<h2>Greetings</h2>
<div class="container">
<div class="inner">Hello</div>
<div class="inner">Goodbye</div>
</div>
<hr>
<div>
<p id="holiday">Feb 3 is National Carrot Cake Day</p>
</div>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.1/jquery.min.js"></script>
<script type="text/javascript" src="javascripts/review.js"></script>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment