Skip to content

Instantly share code, notes, and snippets.

@codecademydev
Created June 6, 2016 01:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save codecademydev/b3c55aec3f61f917b5a4be64f715131e to your computer and use it in GitHub Desktop.
Save codecademydev/b3c55aec3f61f917b5a4be64f715131e to your computer and use it in GitHub Desktop.
Codecademy export
<!DOCTYPE html>
<html>
<head>
<title>What Say You?</title>
<link rel="stylesheet" type="text/css" href="stylesheet.css"/>
<script type="text/javascript" src="script.js"></script>
</head>
<body>
<div id="ready">I'm ready!</div>
<div id="notready">You'll never take me alive, jQuery!</div>
</body>
</html>
$(document).ready(function() {
$(#not ready).fadeOut(1000);
});
div {
height:100px;
width:100px;
border-radius:5px;
display: inline-block;
text-align: center;
vertical-align: middle;
font-family: Verdana, Arial, Sans-Serif;
margin-right:5px;
}
#ready {
background-color:#008800;
color:#FFFFFF;
}
#notready {
background-color:#FF0000;
color:#FFFFFF;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment