Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Week 2-Day1-AubaFP #45

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
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
20 changes: 19 additions & 1 deletion iron-comments/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,29 @@

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

<body>

<form id="form-container">
Name: Email: Comment: Receive email updates? Submit
<label for="name">Name:</label>
<br>
<input type="text" id="name">
<br>
<label for="email">Email:</label>
<br>
<input type="email" id="email">
<br>
<label for="email">Comment:</label>
<br>
<textarea id="comment" name="comment" rows="14" cols="30"></textarea>
<br>
<label for="agreement"><em>Recieve email updates?</em></label>
<input type="checkbox" id="agreement" name="agreement"/>
<br>
<button type="submit">Submit</button>

</form>

</body>

</html>
54 changes: 53 additions & 1 deletion iron-comments/styles/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,61 @@ body {
margin: 0;
padding-top: 100px;
width: 100vw;
background-color: rgb(25, 33, 41);

}

#form-container {
margin: auto;
margin: 0 auto;
width: 250px;
padding: 30px 65px 25px 25px;
border: 3px solid rgb(67, 163, 230);
border-radius: 1%;

}

label {
color: white;
font-family: 'Times New Roman', Times, serif;
font-size: 22px;
font-weight: 600;
}

input[type="text"], input[type="email"] {
border: 2px solid rgb(67, 163, 230);
border-radius: 5%;
margin-top: 4px;
margin-bottom: 4px;
height: 25px;
width: 238px
}

textarea {
border: 2px solid rgb(67, 163, 230);
border-radius: 1%;
margin-top: 4px;

}

input[type="checkbox"]
{
height: 16px;
width: 16px;
}

button {
border-radius: 12px;
border: none;
color: white;
background-color: rgb(67, 163, 230);
height: 35px;
width: 70px;
text-align: center;
color: white;
font-family: 'Calibri';
letter-spacing: -1px;
font-size: 22px;
font-weight: 100;
margin-top: 4px;

}