Skip to content

Commit c5d7e97

Browse files
committed
update Project: Basic Informational Site
1 parent e9337e1 commit c5d7e97

5 files changed

Lines changed: 208 additions & 0 deletions

File tree

basicInformationalSite/404.html

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="UTF-8">
5+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
6+
<title>404 - Page Not Found</title>
7+
<style>
8+
body {
9+
font-family: Arial, sans-serif;
10+
text-align: center;
11+
background-color: #f4f4f4;
12+
padding: 40px;
13+
}
14+
15+
h1 {
16+
font-size: 36px;
17+
color: #333;
18+
}
19+
20+
p {
21+
font-size: 18px;
22+
color: #777;
23+
}
24+
</style>
25+
</head>
26+
<body>
27+
<h1>404 - Page Not Found</h1>
28+
<p>We're sorry, but the page you are looking for cannot be found.</p>
29+
<p>Please check the URL for typos or go to our <a href="/">home page</a>.</p>
30+
</body>
31+
</html>

basicInformationalSite/about.html

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="UTF-8">
5+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
6+
<title>About Us</title>
7+
<style>
8+
body {
9+
font-family: Arial, sans-serif;
10+
text-align: center;
11+
background-color: #f4f4f4;
12+
padding: 40px;
13+
}
14+
15+
h1 {
16+
font-size: 36px;
17+
color: #333;
18+
}
19+
20+
p {
21+
font-size: 18px;
22+
color: #777;
23+
}
24+
</style>
25+
</head>
26+
<body>
27+
<h1>About Us</h1>
28+
<p>Welcome to our website! Here, you can learn more about us.</p>
29+
<p>Our mission is to provide great products/services and assist our customers.</p>
30+
<p>Contact us at <a href="mailto:info@example.com">info@example.com</a>.</p>
31+
<a href="index.html" class="btn">Back to Home</a>
32+
</body>
33+
</html>
Lines changed: 91 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,91 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="UTF-8">
5+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
6+
<title>Contact Me</title>
7+
<style>
8+
body {
9+
font-family: Arial, sans-serif;
10+
text-align: center;
11+
background-color: #f4f4f4;
12+
padding: 40px;
13+
}
14+
15+
h1 {
16+
font-size: 36px;
17+
color: #333;
18+
}
19+
20+
p {
21+
font-size: 18px;
22+
color: #777;
23+
}
24+
25+
.contact-form {
26+
max-width: 400px;
27+
margin: 0 auto;
28+
}
29+
30+
.form-group {
31+
text-align: left;
32+
margin-bottom: 20px;
33+
}
34+
35+
.form-group label {
36+
display: block;
37+
font-weight: bold;
38+
margin-bottom: 5px;
39+
}
40+
41+
.form-group input[type="text"],
42+
.form-group input[type="email"],
43+
.form-group textarea {
44+
width: 100%;
45+
padding: 10px;
46+
font-size: 16px;
47+
border: 1px solid #ccc;
48+
border-radius: 4px;
49+
}
50+
51+
.form-group textarea {
52+
height: 150px;
53+
}
54+
55+
.form-group button {
56+
background-color: #333;
57+
color: #fff;
58+
border: none;
59+
padding: 10px 20px;
60+
font-size: 18px;
61+
border-radius: 4px;
62+
cursor: pointer;
63+
}
64+
</style>
65+
</head>
66+
<body>
67+
<h1>Contact Me</h1>
68+
<p>Feel free to get in touch with me using the contact form below:</p>
69+
70+
<div class="contact-form">
71+
<form action="#" method="post">
72+
<div class="form-group">
73+
<label for="name">Name:</label>
74+
<input type="text" id="name" name="name" required>
75+
</div>
76+
<div class="form-group">
77+
<label for="email">Email:</label>
78+
<input type="email" id="email" name="email" required>
79+
</div>
80+
<div class="form-group">
81+
<label for="message">Message:</label>
82+
<textarea id="message" name="message" required></textarea>
83+
</div>
84+
<div class="form-group">
85+
<button type="submit">Send</button>
86+
</div>
87+
</form>
88+
</div>
89+
<a href="index.html" class="btn">Back to Home</a>
90+
</body>
91+
</html>

basicInformationalSite/index.html

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="UTF-8">
5+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
6+
<title>My Website</title>
7+
<style>
8+
body {
9+
font-family: Arial, sans-serif;
10+
text-align: center;
11+
background-color: #f4f4f4;
12+
padding: 40px;
13+
}
14+
15+
h1 {
16+
font-size: 36px;
17+
color: #333;
18+
}
19+
20+
p {
21+
font-size: 18px;
22+
color: #777;
23+
}
24+
25+
.container {
26+
max-width: 800px;
27+
margin: 0 auto;
28+
background-color: #fff;
29+
padding: 20px;
30+
border-radius: 5px;
31+
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
32+
}
33+
34+
.btn {
35+
display: inline-block;
36+
padding: 10px 20px;
37+
background-color: #333;
38+
color: #fff;
39+
text-decoration: none;
40+
border-radius: 4px;
41+
font-size: 18px;
42+
}
43+
</style>
44+
</head>
45+
<body>
46+
<div class="container">
47+
<h1>Welcome to My Website</h1>
48+
<p>Explore our content and learn more about us.</p>
49+
<a href="about.html" class="btn">About Us</a>
50+
<a href="contact-me.html" class="btn">Contact Me</a>
51+
</div>
52+
</body>
53+
</html>

basicInformationalSite/index.js

Whitespace-only changes.

0 commit comments

Comments
 (0)