-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtyler716367.html
103 lines (91 loc) · 3.33 KB
/
tyler716367.html
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
<!--Name: Tyler Thavong--><!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Right Aligned Navbar</title>
<style>
/* Style for the navbar */
.navbar {
background-color: white;
overflow: hidden;
text-align: right; /* Aligning navbar items to the right */
}
navbar img {
float: right; /* Aligning logo to the right */
height: 30px; /* Adjust height as needed */
width: auto; /* Maintain aspect ratio */
margin: 10px; /* Add some margin for spacing */
}
/* Style for navbar links */
.navbar a {
float: right; /* Aligning navbar links to the right */
display: block;
color: black;
text-align: center;
padding: 14px 20px;
text-decoration: none;
}
.navbar img {
float: right; /* Aligning logo to the right */
height: 50px; /* Adjust height as needed */
margin: 10px; /* Add some margin for spacing */
}
/* Style for the active link */
.navbar a.active {
background-color: #555;
color: white;
}
/* Hover effect for navbar links */
.navbar a:hover {
background-color: #ddd;
color: black;
}
</style>
</head>
<body style="background-color: lightblue;">
<!-- Navbar -->
<div class="navbar">
<a href="#">PRODUCTS</a>
<a href="#">BLOG</a>
<a href="#">PAGES</a>
<a href="#">HOME</a>
<img scr="https://codeinthedark.hackillinois.org/submissions/images/CAT-Logo-small.png" alt="pls work" >
</div>
<!-- Page content -->
<div style="padding:20px">
<h2>Code in the Dark</h2>
<p>CAT IS SO COOL</p>
<img src="https://codeinthedark.hackillinois.org/submissions/images/home/SeveralCats.png" style="float: right; margin-right:40 px;">
</div>
<div style="text-align: center;">
<img src="https://codeinthedark.hackillinois.org/submissions/images/home/icon1.png" style="width: 20; margin: 50px;">
<img src="https://codeinthedark.hackillinois.org/submissions/images/home/icon2.png" style="width: 20; margin: 50px;">
<img src="https://codeinthedark.hackillinois.org/submissions/images/home/icon3.png" style="width: 20; margin: 50px;">
</div>
<div style="overflow: auto;">
<img src="https://codeinthedark.hackillinois.org/submissions/images/home/image1.png" style="float: left; margin-right: 20px; width: 200px;">
<p>GO CATEPILLAR.</p>
</div>
<div style="overflow: auto;">
<img src="https://codeinthedark.hackillinois.org/submissions/images/home/image2.png" style="float: right; margin-left: 20px; width: 200px;">
<p style="text-align: right;>GO CATEPILLAR.</p>
</div>
<div style="overflow: auto;">
<img src="https://codeinthedark.hackillinois.org/submissions/images/home/image3.png" style="float: left; margin-right: 20px; width: 200px;">
<p>GO CATEPILLAR.</p>
</div>
<div style="margin-top: 20px;">
<h2>Ask for Info</h2>
<form action="/submit_info_request" method="post">
<label for="name">Name:</label><br>
<input type="text" id="name" name="name"><br>
<label for="email">Email:</label><br>
<input type="email" id="email" name="email"><br>
<label for="question">Question:</label><br>
<textarea id="question" name="question"></textarea><br>
<input type="submit" value="Submit">
</form>
</div>
</body>
</html>