Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 15 additions & 2 deletions iron-comments/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,23 @@

<link rel="stylesheet" type="text/css" href="./styles/style.css">
</head>

<body>

<form id="form-container">
Name: Email: Comment: Receive email updates? Submit
<form id="form-container" class="form">
<label for="name">Name:</label>
<input id="name" type="text" class="formInput"/>

<label for="email">Email:</label>
<input id="email" type="email" class="formInput" />

<label for="comment">Comment:</label>
<textarea id="comment" class="formInput"></textarea>

<label for="updates" class="labelUpdates">Receive email updates? <input id="updates" type="checkbox" /> </label>


<button class="submitButton">Submit</button>
</form>

</body>
Expand Down
40 changes: 39 additions & 1 deletion iron-comments/styles/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,48 @@ body {
padding: 0;
margin: 0;
padding-top: 100px;
width: 100vw;
width: 100vw;
background-color: rgb(25, 33, 41);

}


#form-container {
margin: auto;
}

.form {
color: rgb(255,255,255);
width: 250px;
border: 3px solid rgb(67, 163, 230);
border-radius: 2%;
padding: 20px;
box-sizing: border-box;
}

.form label {
margin: 3px 0;
display: block;
}

.formInput {
width: 85%;
}

#comment {
height: 150px;
}

.labelUpdates {
font-style: italic;
}

.submitButton {
background-color: rgb(67, 163, 230);
color: rgb(255,255,255);
border-radius: 12px;
padding: 5px;
border: none;
}