Skip to content

Commit f94b50c

Browse files
authored
Updates (READ DESC)
Updated index.html, Added CSS, Added contact page (WIP), Added about page
1 parent 36ef55b commit f94b50c

4 files changed

Lines changed: 58 additions & 11 deletions

File tree

about.html

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
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+
</head>
8+
<body>
9+
<div style="text-align: center;">
10+
<h1>About Acme Corp</h1>
11+
<p>We began our journey on [YEAR] and [...]</p>
12+
<p>Our goal is to [...]</p>
13+
<a href="index.html">Back</a>
14+
</div>
15+
</body>
16+
</html>

contact.html

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
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 Us</title>
7+
</head>
8+
<body>
9+
<form action="/submit-url" method="post">
10+
<label for="name">Name:</label><br>
11+
<input type="text" id="name" name="name"><br><br><br>
12+
<label for="tell">What Do You Want To Tell Us:</label><br>
13+
<input type="text" id="tell" name="tell">
14+
<input type="submit" value="Submit">
15+
</form>
16+
<a href="index.html">Back</a>
17+
</body>
18+
</html>

index.html

Lines changed: 14 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -4,32 +4,35 @@
44
<meta charset="UTF-8">
55
<meta name="viewport" content="width=device-width, initial-scale=1.0">
66
<title>Main</title>
7+
<link rel="stylesheet" href="style.css">
78
</head>
89
<body>
910
<!--!!!USE THIS ONLY FOR TESTING!!!-->
1011
<div style="text-align: center;" >
11-
<img src="https://shmector.com/_ph/13/188552034.png" loading="lazy" width="500">
12+
<img src="https://shmector.com/_ph/13/188552034.png" loading="lazy" width="500" id="top">
1213
<h1>Welcome to Acme Corp</h1>
1314
<p>We at Acme Corp value our customers and offer [...]</p>
1415
<p>Our mission is to [...]</p>
1516
<a href="#customer_service">Customer Service</a><br>
1617
<a href="#products">Products</a><br>
17-
<a href="#other">Other</a>
18+
<a href="about.html" target="_blank">About Us</a>
1819
<br><br><br><br>
19-
<h2 id="products">Our Products</h2>
20+
<h2 id="products"><b>Our Products</b></h2>
2021
<p>Product 1:</p>
21-
<img src="https://vectorified.com/image/product-icon-vector-27.png" loading="lazy" width="500"><bR>
22-
<button>Buy</button>
22+
<img src="https://vectorified.com/image/product-icon-vector-27.png" loading="lazy" width="300"><bR>
23+
<button onclick="alert('This does not work!')">Buy</button>
2324
<p>Product 2:</p>
24-
<img src="https://vectorified.com/image/product-icon-vector-27.png" loading="lazy" width="500"><br>
25-
<button>Buy</button>
25+
<img src="https://vectorified.com/image/product-icon-vector-27.png" loading="lazy" width="300"><br>
26+
<button onclick="alert('This does not work!')">Buy</button>
2627
<p>Product 3:</p>
27-
<img src="https://vectorified.com/image/product-icon-vector-27.png" loading="lazy" width="500"><br>
28-
<button>Buy</button>
28+
<img src="https://vectorified.com/image/product-icon-vector-27.png" loading="lazy" width="300"><br>
29+
<button onclick="alert('This does not work!')">Buy</button>
30+
<br><br><br><br><br><br><br><br>
2931
<img src="https://static.vecteezy.com/system/resources/previews/014/873/884/original/customer-service-icon-call-center-icon-design-illustration-customer-service-icon-simple-and-modern-flat-symbol-vector.jpg" loading="lazy" width="300">
3032
<p id="customer_service">Customer Service Phone number: (555) 444-1234</p>
31-
<br><br><br><br>
32-
<a href="#products">Back to top</a>
33+
<h5>OR</h5>
34+
<a href="contact.html">Contact Us</a><br><br>
35+
<a href="#top">Back to top</a>
3336
</div>
3437
</body>
3538
</html>

style.css

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
h1 {
2+
color: orange;
3+
text-shadow: 2px 2px;
4+
}
5+
body {
6+
font-family: 'Courier New', monospace;
7+
}
8+
button:hover {
9+
cursor: pointer;
10+
}

0 commit comments

Comments
 (0)