Skip to content

Instantly share code, notes, and snippets.

@cmoscardi
Created February 27, 2017 12:50
Show Gist options
  • Save cmoscardi/6393dca2369fca5b83ec0150dc91a1e8 to your computer and use it in GitHub Desktop.
Save cmoscardi/6393dca2369fca5b83ec0150dc91a1e8 to your computer and use it in GitHub Desktop.
Exported from Popcode. Click to import: https://popcode.org/?gist=6393dca2369fca5b83ec0150dc91a1e8
<!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>
{"enabledLibraries":["jquery"]}
#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