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
41 changes: 27 additions & 14 deletions iron-comments/index.html
Original file line number Diff line number Diff line change
@@ -1,19 +1,32 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">

<title> Iron Comments </title>

<link rel="stylesheet" type="text/css" href="./styles/style.css">
</head>
<body>
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />

<title>Iron Comments</title>

<link rel="stylesheet" type="text/css" href="./styles/style.css" />
</head>
<body>
<form id="form-container">
Name: Email: Comment: Receive email updates? Submit
</form>
<label for="name">Name:</label>
<input type="text" id="name" />

<label for="email" pattern="[a-z0-9._%+-]+@[a-z0-9.-]+\.[a-z]{2,4}$"
>Email:</label
>
<input type="email" id="email" />

</body>
</html>
<label for="comment">Comment:</label>
<textarea type="comment" name="comment" rows="8"></textarea>
<br />
<input type="checkbox" name="updates" value="checkbox" class="checkbox" />
<p>Receive email updates?</p>
<br />

<button type="submit">Submit</button>
</form>
</body>
</html>
64 changes: 61 additions & 3 deletions iron-comments/styles/style.css
Original file line number Diff line number Diff line change
@@ -1,11 +1,69 @@
body {
padding: 0;
margin: 0;
margin: 0 auto;
padding-top: 100px;
width: 100vw;
width: 100vw;
background-color: rgb(25, 33, 41);


}

#form-container {
margin: auto;
margin: 0 auto;
max-width: 250px;
color: white;
font-family: Georgia;
border: rgb(67, 163, 230) solid 2px;
border-radius: 4px;
padding: 20px;

#form-container {
margin: 0 auto;
}





}

button {
color: white;
background-color: rgb(67, 163, 230);
margin-top: 15px;
border-radius: 15px;
font-family: Georgia;
padding: 8px;
margin-top: -15px;
}

.checkbox {
float: right;

margin-right: 70px;

}

p {
font-family: Georgia;
font-style: italic;
font-size: 15px;
margin-top: 5px;
}

label {
margin-top: .33em;
display: block;
}

input {
border-color: rgb(67, 163, 230);
margin-top: 5px;
border-radius: 3px;
}

textarea {
margin-top: 5px;
border-color: rgb(67, 163, 230);

}