Repository navigation
Expand file tree
/
Copy pathWeek3Assignment.html
More file actions
105 lines (91 loc) · 2.37 KB
/
Copy pathWeek3Assignment.html
File metadata and controls
105 lines (91 loc) · 2.37 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>My Week 3 Assignment</title>
<style>
/* Style for the header */
header {
background-color: #f0f0f0;
padding: 20px;
text-align: center;
}
/* Style for the h1 element with your chosen color */
h1 {
color: #3498db; /* Blue color; */
}
/* Style for the image */
img {
display: block;
margin: 20px auto;
max-width: 80%;
height: auto;
}
/* Style for the form */
form {
width: 300px;
margin: 0 auto;
padding: 20px;
border: 1px solid #ccc;
border-radius: 5px;
}
form label {
display: block;
margin-top: 10px;
}
form input {
width: 100%;
padding: 8px;
margin-top: 5px;
box-sizing: border-box;
}
/* Style for the buttons */
.btn-group {
text-align: center;
margin-top: 20px;
}
.btn-group button {
padding: 10px 20px;
margin: 0 10px;
cursor: pointer;
}
/* Style for the footer */
footer {
background-color: #f0f0f0;
text-align: center;
padding: 10px;
margin-top: 20px;
font-size: 14px;
}
</style>
</head>
<body>
<!-- Header Section -->
<header>
<h1>Welcome to My Week 3 Assignment!</h1>
</header>
<!-- Main Content Section -->
<main>
<!-- Image of your liking -->
<img src="https://via.placeholder.com/600x300.png?text=My+Favorite+Image" alt="My Favorite Image">
<!-- Form with 3 input elements of different types -->
<form action="#" method="post">
<label for="username">Username:</label>
<input type="text" id="username" name="username" placeholder="Enter your username">
<label for="email">Email:</label>
<input type="email" id="email" name="email" placeholder="Enter your email">
<label for="birthdate">Birthdate:</label>
<input type="date" id="birthdate" name="birthdate">
<!-- Two buttons: Accept and Cancel -->
<div class="btn-group">
<button type="submit">Accept</button>
<button type="reset">Cancel</button>
</div>
</form>
</main>
<!-- Footer Section -->
<footer>
<p>© Anthony Sagastume. All rights reserved.</p>
</footer>
</body>
</html>