Skip to content

Instantly share code, notes, and snippets.

@codecademydev
Created June 28, 2017 08:01
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/7240a67365b1c6725dade9794dd17b85 to your computer and use it in GitHub Desktop.
Save codecademydev/7240a67365b1c6725dade9794dd17b85 to your computer and use it in GitHub Desktop.
Codecademy export
<html>
<head>
<title>Button Magic</title>
<link rel='stylesheet' type='text/css' href='stylesheet.css'/>
<script type="text/javascript" src="script.js"></script>
</head>
<body>
<div><br/><strong>Click Me!</strong></div>
</body>
</html>
$(document).ready(function(){
$('div').fadeTo('fast',1);
});
div {
height: 60px;
width: 100px;
border-radius: 5px;
background-color: #69D2E7;
text-align: center;
color: #FFFFFF;
font-family: Verdana, Arial, Sans-Serif;
opacity: 0.5;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment