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
16 changes: 11 additions & 5 deletions iron-comments/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,16 @@
<link rel="stylesheet" type="text/css" href="./styles/style.css">
</head>
<body>

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

<div class="form">
<form id="form-container" action="some/url" method="post">
<label for="name">Name:</label><input type="text" id="name">
<label for="email">Email:</label><input type="email" id="email">
<label for="comment">Comment:</label><textarea id="comment" name="comment" rows="8" cols="5"></textarea>
<div id="checkbox">
<label for="updates-consent">Receive email updates?</label><input type="checkbox" id="updates-consent" value="updates-consent"/>
</div>
<button type="submit">Submit</button>
</form>
</div>
</body>
</html>
24 changes: 22 additions & 2 deletions iron-comments/styles/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,30 @@ body {
padding: 0;
margin: 0;
padding-top: 100px;
width: 100vw;

width: 100vw;
background-color: rgb(25, 33, 41);
color: rgb(255,255,255);
}


#form-container {
margin: auto;
display: flex;
flex-direction: column;
justify-content: space-evenly;
width: 188px;
height: 320px;
border: 2px solid rgb(67,163,230);
padding: 20px 43px 20px 17px
}
#form-container button{
width: 60px;
background-color: rgb(67,163,230);
color: white;
border-radius: 25px;
padding: 5px 0px;
}
#checkbox{
display: flex;
justify-content: space-between;
}