Skip to content

Made my Mod 3 portfolio site #1143

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 36 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
@@ -1,11 +1,46 @@
<!DOCTYPE html>
<html lang="en">
<head>
<link rel="stylesheet" href="style/index.css" >
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
</head>
<body>

<header class="header">
<nav class="navbar">
<a href="index.html" class="home"><button class="navButton">Home</button></a>
<a href="about.html" class="about"><button class="navButton">About</button></a>
<a href="contact.html" class="contact"><button class="navButton">Contact</button></a>
<a href="projects.html" class="projects"><button class="navButton">Projects</button></a>
</nav>
<h2 class="name1">Christian Anderson</h2> <!-- Name up top, on the bottom is a series of navs. make em stick together. Gotta figure out how to link to my other pages -->
</header>
<div class="aboutSection"> <!-- Gonna contain 1 img, a h1 for my name, a button that goes to the projects.html file page, and some words about how I got to this point, that'll be a h2-->
<div class="img">
<img src="https://fastly.picsum.photos/id/6/5000/3333.jpg?hmac=pq9FRpg2xkAQ7J9JTrBtyFcp9-qvlu8ycAi7bUHlL7I" alt="">
</div>
<div class="aboutMe1">
<h1 class="name2">Christian Anderson</h1>
<a href="projects.html"><button class="buttonToProjects">My Projects</button></a>
<h2 class="aboutMe2">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Amidst a time of aimlessness and confusion, <br>the intracies of coding came to me upon two wings,<br>and they had a heaven sent offer; Something to be<br> passionate about!</h2>
<h2 class="aboutMe2">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Fresh out of highschool I became a dishwasher, and<br> after a year of serious monotony, I had enough and decided<br> I needed something more to life. Something that had always<br> fascinated me was coding and its intracies. Some soul<br> searching later and I find myself here, right now, enrolled<br> in a program with the hopes of success. I couldn't have <br> made a better decision if I tried.</h2>
</div>
</div>
<h1 class="projectsHeader">Some Sample Projects</h1>
<div class="someProjects">
<img class="projectsimgs" src="https://fastly.picsum.photos/id/10/2500/1667.jpg?hmac=J04WWC_ebchx3WwzbM-Z4_KC_LeLBWr5LZMaAkWkF68" alt="">
<img class="projectsimgs" src="https://fastly.picsum.photos/id/11/2500/1667.jpg?hmac=xxjFJtAPgshYkysU_aqx2sZir-kIOjNR9vx0te7GycQ" alt="">
<img class="projectsimgs" src="https://fastly.picsum.photos/id/14/2500/1667.jpg?hmac=ssQyTcZRRumHXVbQAVlXTx-MGBxm6NHWD3SryQ48G-o" alt="">
<img class="projectsimgs" src="https://fastly.picsum.photos/id/17/2500/1667.jpg?hmac=HD-JrnNUZjFiP2UZQvWcKrgLoC_pc_ouUSWv8kHsJJY" alt="">
<img class="projectsimgs" src="https://fastly.picsum.photos/id/23/3887/4899.jpg?hmac=2fo1Y0AgEkeL2juaEBqKPbnEKm_5Mp0M2nuaVERE6eE" alt="">
<img class="projectsimgs" src="https://fastly.picsum.photos/id/25/5000/3333.jpg?hmac=yCz9LeSs-i72Ru0YvvpsoECnCTxZjzGde805gWrAHkM" alt="">
<img class="projectsimgs" src="https://fastly.picsum.photos/id/29/4000/2670.jpg?hmac=rCbRAl24FzrSzwlR5tL-Aqzyu5tX_PA95VJtnUXegGU" alt="">
<img class="projectsimgs" src="https://fastly.picsum.photos/id/27/3264/1836.jpg?hmac=p3BVIgKKQpHhfGRRCbsi2MCAzw8mWBCayBsKxxtWO8g" alt="">
</div>
<footer class="footer">
<h2 class="text">Like what you see?</h2>
<a href="contact.html"><button class="buttonToContact">Contacts</button></a>
</footer>
</body>
</html>
165 changes: 164 additions & 1 deletion style/index.css
Original file line number Diff line number Diff line change
@@ -1 +1,164 @@
/* Add CSS styling here */
/* Add CSS styling here */
/* http://meyerweb.com/eric/tools/css/reset/
v2.0 | 20110126
License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
margin: 0;
padding: 0;
border: 0;
font-size: 100%;
font: inherit;
vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
display: block;
}
body {
line-height: 1;
}
ol, ul {
list-style: none;
}
blockquote, q {
quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
content: '';
content: none;
}
table {
border-collapse: collapse;
border-spacing: 0;
}

html {
font-size: 62.5%;
}
.header {
width: 100vw;
height: 20rem;
background-color: lightgray;
/* border: 1px solid black; */
display: flex;
flex-flow: column-reverse nowrap;
align-content: flex-start;
/* align-items: flex-start; */
}
.name1 {
font-size: 4rem;
margin-bottom: 3rem;
}
.navbar {
display: flex;
gap: 0px;
margin-left: 1rem;
margin-bottom: 1rem;
flex-flow: row wrap;
}
.navButton {
height: 2rem;
width: 7rem;
}
.aboutSection {
width: 100vw;
height: 40rem;
/* border: 1px solid black; */
display: flex;
flex-flow: row nowrap;
justify-content: space-evenly;
background-color: rgb(221, 145, 30);
border-left: 0.3rem solid lightgray;
border-right: 0.3rem solid lightgray;
}
.img img {
height: 30rem;
width: 45rem;
margin: 5rem;
}
.buttonToProjects {
height: 3rem;
width: 9rem;
font-size: 1.2rem;
margin-left: 5.5rem;
}
.img {
width: 90rem;
/* border: 1px solid black; */
}
.aboutMe1 {
display: flex;
flex-flow: column nowrap;
justify-items: center;
justify-content: center;
/* border: 1px solid black; */
align-items: flex-start;
}
.name2 {
font-size: 2.3rem;
margin-left: 1.5rem;
margin-bottom: 1rem;
}
.aboutMe2 {
font-size: 1.3rem;
margin-left: 0rem;
margin-top: 1rem;
}
.someProjects {
background-color:rgb(194, 127, 28);
width: 100vw;
height: fit-content;
display: flex;
flex-flow: row wrap;
justify-content: space-evenly;
border-left: 0.3rem solid lightgray;
border-right: 0.3rem solid lightgray;
}
.projectsimgs {
width: 20%;
height: 20rem;
/* border: 1px solid black; */
margin: 2rem;
border: 0.4rem solid rgb(221, 145, 30);
}
.projectsHeader {
display: flex;
justify-content: center;
font-size: 4rem;
background-color: lightgray;
height: 4.4rem;
}
.footer {
background-color: lightgray;
width: 100vw;
height: 10rem;
display: flex;
flex-flow: column nowrap;
justify-content: center;
align-items: center;
}
.text {
font-size: 1.4rem;
margin-bottom: 1rem;
}
.projectsimgs:hover {
width: 25%;
height: 22rem;
margin: 0rem;
}