-
-
Save codecademydev/b3c55aec3f61f917b5a4be64f715131e to your computer and use it in GitHub Desktop.
Codecademy export
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> | |
<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> |
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
$(document).ready(function() { | |
$(#not ready).fadeOut(1000); | |
}); |
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
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