-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathProgramming_Projects.html
More file actions
214 lines (190 loc) · 7.2 KB
/
Programming_Projects.html
File metadata and controls
214 lines (190 loc) · 7.2 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
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
<!DOCTYPE html>
<!--HTML COMMAND LIST & INFORMATION:
<b> </b> means BOLD
<i> </i> means ITALICS
<u> </u> means UNDERLINE
<head> </head> contains website info, and is where you load JavaScript and CSS files
<body> </body> contains main content of the webpage
<title> </title> sets title of the tab
<h1> </h1> Heading style 1
<h2> </h2> Heading style 2 (smaller)
<h3> </h3> Heading style 3 (even smaller)
<h4> </h4> Heading style 4 (even more smaller)
<h5> </h5> Heading style 5 (almost normal font size)
<h6> </h6> Heading style 6 (tiny)
<p> </p> Paragraph of text
<br> newline
<hr> creates a horizontal line (for sectioning)
<a> </a> anchors text to some command
<ul> <li> </li> </ul> creates an unordered bulleted list (new <li> for each bullet), CAN BE NESTED
<ol> <li> </li> </ol> creates an ordered bulleted list (numbers instead of bullets), CAN BE NESTED
<div> </div> used to group multiple HTML elements together (say, elements of the same class that all work together or are grouped together)
Creating a 3x2 table:
<table border="1"> Initializes the Table with a border of 1
<tr> Creates a row in the table
<th> </th> Creates column headers for first row
<th> </th>
</tr>
<tr> Creates another row
<td> </td> Creates column data for new row
<td> </td>
</tr>
<tr> Creates another row
<td> </td> Creates column data for new row
<td> </td>
</tr>
</table>
-->
<!--CSS COMMAND LIST & INFORMATION:
href="LINK URL" target="_blank" -> Used with <a> to create a hyperlink (opens in new tab)
name="viewport" content="width=device-width, initial-scale=1" -> sets screen scale
border="1" -> Used with <table> to add a table border of 1
-->
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Jacob Meredith's Portfolio</title>
<style>
.beige-square {
width: 1175px; /* Set the width of the square */
height: 500px; /* Set the height of the square */
background-color: #e4cd94; /* Set the background color to beige */
border-radius: 15px;
position: absolute;
top: var(--top, 125px);
left: var(--left, 175px);
}
.rounded-image {
border-radius: var(--border-radius, 15px);
width: var(--width, 350px);
height: var(--height, 350px);
object-fit: cover;
position: absolute;
top: var(--top, 200px);
left: var(--left, 375px);
}
.circular-image {
border-radius: var(--border-radius, 500px);
width: var(--width, 275px);
height: var(--height, 275px);
object-fit: cover;
position: absolute;
top: var(--top, 750px);
left: var(--left, 275px);
}
.absolute-text-container {
position: absolute;
width: var(--width, 350px);
height: var(--height, 350px);
position: absolute;
top: var(--top, 215px);
left: var(--left, 750px);
color:white;
z-index: 2;
}
.extended-content {
height: 2025px; /* Increase the height to make the page longer */
}
body {
margin: 0;
font-family: Arial, sans-serif;
background-color: #3aadff;
}
.navbar {
display: flex;
justify-content: space-between;
align-items: center;
background-color: #e4cd94;
padding: 20px 20px;
color: rgb(255, 255, 255);
position: fixed; /* Keeps the navbar fixed at the top */
top: 0;
width: 100%;
z-index: 1000; /* Ensures the navbar is above other content */
}
.navbar-left {
font-size: 25px;
font-weight: bold;
}
.navbar-right {
padding-right: 30px; /* Adds space on the right side */
}
.navbar-right a {
color: white;
text-decoration: none;
margin-left: 20px;
font-size: 18px;
padding-right: 10px;
}
.navbar-right a:hover {
text-decoration: underline;
}
.button {
border: none;
color: white;
padding: 15px 15px;
text-align: center;
text-decoration: none;
display: inline-block;
font-size: 18px;
margin: 4px 2px;
cursor: pointer;
background-color: #3aadff;
width: 220px;
height: 50px;
border-radius: 8px;
}
.button a {
color: white;
text-decoration: none;
}
.button a:hover {
text-decoration: underline;
}
</style>
</head>
<body>
<div class="navbar">
<div class="navbar-left">
<span>Jacob Meredith</span>
</div>
<div class="navbar-right">
<a href="#link1">Home</a>
<a href="#link2">Projects</a>
<a href="#link3">Resume</a>
<a href="#link4">Contact Me</a>
</div>
</div>
<div class="beige-square" style="--top: 125px; height: 150px; position: absolute; z-index: 1;">
<div class="absolute-text-container" style="--top: 35px; --left: 340px; --width: 750px; --height: 350px">
<h1>Programming Projects</h1>
</div>
</div>
<div class="beige-square" style="--top: 335px; position: absolute; z-index: 1;">
<div class="absolute-text-container" style="--top: 35px; --left: 350px; --width: 750px; --height: 350px">
<h1>PROJECT 1</h1>
<p style="font-size: 20px;">
PROJECT DESCRIPTION.
</p>
</div>
</div>
<div class="beige-square" style="--top: 895px; position: absolute; z-index: 1;">
<div class="absolute-text-container" style="--top: 35px; --left: 350px; --width: 750px; --height: 350px">
<h1>PROJECT 2</h1>
<p style="font-size: 20px;">
PROJECT DESCRIPTION.
</p>
</div>
</div>
<div class="beige-square" style="--top: 1455px; position: absolute; z-index: 1;">
<div class="absolute-text-container" style="--top: 35px; --left: 350px; --width: 750px; --height: 350px">
<h1>PROJECT 3</h1>
<p style="font-size: 20px;">
PROJECT DESCRIPTION.
</p>
</div>
</div>
<div class="extended-content"></div>
</body>
</html>