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
24 changes: 22 additions & 2 deletions iron-comments/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,29 @@
</head>
<body>

<section id="section">
<form id="form-container">
Name: Email: Comment: Receive email updates? Submit
</form>

<label class="text" for="name">
Name:<br>
<input type="text" name="name" id="name" >
</label>
<br>
<label class="text" for="email">
Email:<br>
<input type="email" name="email" id="email" >
</label>
<br>
<label class="text" for="comment">
Comment:<br>
<textarea name="comment" id="comment" cols="21" rows="10" ></textarea>
</label>
<p class="text"><i>Recieve email updates?</i>
<input type="checkbox" name="emailUpdates" id="emailUpdates">
</p>
<button type="summit" value="summit" class="btn">Submit</button>

</form>
</section>
</body>
</html>
51 changes: 46 additions & 5 deletions iron-comments/styles/style.css
Original file line number Diff line number Diff line change
@@ -1,11 +1,52 @@
body {
body {
margin: 0px 50px 0px 50px;
padding: 0;
margin: 0;
padding-top: 100px;
width: 100vw;
background-color: black;
height: 100%;
}

#section {
height: 100%;
background:rgb(25, 33, 41);
padding: 50px 0px 50px 0px;
box-sizing: border-box;
}

#form-container {
margin: auto;
margin:auto;
background:rgb(25, 33, 41);
width: 250px;
border: 2px solid rgb(67, 163, 230);
padding: 30px 0px 8px 20px;
border-radius: 2px;
box-sizing: border-box;
}

.text {
color: white;
font-size: 16px;
}

.btn{
background-color: rgb(67, 163, 230);
color: white;
border: none;
border-radius: 10px;
padding: 5px 10px;
font-size: 14px;
margin: 0px 0px 10px 0px;
font-weight: lighter;
}

.label, input, textarea {
margin: 2px 0px;
border: 1.3px solid rgb(67, 163, 230);
border-radius: 3px;
}

p {
margin: 0px 0px 5px 0px;
}