Created
February 27, 2017 12:50
-
-
Save cmoscardi/6393dca2369fca5b83ec0150dc91a1e8 to your computer and use it in GitHub Desktop.
Exported from Popcode. Click to import: https://popcode.org/?gist=6393dca2369fca5b83ec0150dc91a1e8
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>Page Title</title> | |
</head> | |
<body> | |
<div>First Name</div> | |
<input id="first-name" /> | |
<div>Last Name</div> | |
<input id="last-name" /> | |
<div>Your full name is:</div> | |
<div id="full-name"></div> | |
<button id="full-name-button">Get Full Name</button> | |
</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
{"enabledLibraries":["jquery"]} |
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
#full-name { | |
border: 1px solid black; | |
height: 30px; | |
} | |
.part2 { | |
margin-top: 50px; | |
} | |
.box-controls { | |
display: flex; | |
justify-content: center; | |
} | |
.boxes { | |
display: flex; | |
justify-content: center; | |
} | |
.box { | |
width: 100px; | |
height: 100px; | |
margin: 10px; | |
display: flex; | |
justify-content: center; | |
align-items: center; | |
color: white; | |
font-size: 40px; | |
font-family: arial; | |
} | |
#box1 { | |
background-color: goldenrod; | |
} | |
#box2 { | |
background-color: skyblue; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment