Skip to content

Instantly share code, notes, and snippets.

@anaguzmn
Created December 7, 2016 21:30
Show Gist options
  • Save anaguzmn/4aecd0f6060874aa439ba477a235174d to your computer and use it in GitHub Desktop.
Save anaguzmn/4aecd0f6060874aa439ba477a235174d to your computer and use it in GitHub Desktop.
Exported from Popcode. Click to import: https://popcode.org/?gist=4aecd0f6060874aa439ba477a235174d
<!DOCTYPE html>
<html>
<head>
<title>Pre-Cloud 9 Do Now</title>
<p id="Greatest">First Name</p>
</head>
<body>
<p id="Ever" >Last Name</p>
<button id="ScriptEd"type="button">Click the ScriptEd Button!</button>
</body>
</html>
{"enabledLibraries":["jquery"]}
$("#Ever").click(function() {
$("#Ever").append("Ever");
});
$("#Greatest").click(function() {
$("#Greatest").append("Greatest");
});
$("#ScriptEd").click(function() {
$("body").css("background","white");
$("p").css("color","F1640D");
$("#ScriptEd").css("background-color","#F1640D");
});
p{
font-size:70px;
color: #C7AB0D;
font-weight:bold;
text-align: center;
}
#body{
background-color:black;
}
button{
float:left;
border-radius:10px;
border:2px solid;
margin-left:45%;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment