-
Notifications
You must be signed in to change notification settings - Fork 955
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
jae c17 sea turtles #30
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"liveServer.settings.port": 5501 | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,42 @@ | ||
<!-- some information about you; interests, background or similar --> | ||
|
||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<title>Document</title> | ||
<link href="/style/about.css" rel="stylesheet"> | ||
</head> | ||
<body> | ||
|
||
<header> | ||
<h1>about</h1> | ||
<nav> | ||
<ul> | ||
<li><a href="/pages/index.html">home</a></li> | ||
<li><a href="/pages/portfolio.html">portfolio</a></li> | ||
<li><a href="/pages/about.html">about</a></li> | ||
</ul> | ||
</nav> | ||
</header> | ||
<main> | ||
<section> | ||
<h2>jae clayton: about me</h2> | ||
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Id volutpat lacus laoreet non. Magna etiam tempor orci eu lobortis. Morbi tristique senectus et netus et malesuada. Quis blandit turpis cursus in hac habitasse platea dictumst. Donec enim diam vulputate ut. Quis varius quam quisque id diam. Ultricies tristique nulla aliquet enim tortor at auctor urna. Commodo viverra maecenas accumsan lacus vel facilisis volutpat est velit. Dolor sit amet consectetur adipiscing elit ut. Ut pharetra sit amet aliquam id diam maecenas ultricies mi. Amet porttitor eget dolor morbi non. Consequat mauris nunc congue nisi vitae suscipit tellus mauris. Ullamcorper dignissim cras tincidunt lobortis feugiat. Duis ut diam quam nulla porttitor massa id. Ultrices eros in cursus turpis. Commodo ullamcorper a lacus vestibulum sed. Tincidunt eget nullam non nisi est sit amet. Erat imperdiet sed euismod nisi porta. Elit pellentesque habitant morbi tristique senectus et netus et.</p> | ||
</section> | ||
<section> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. There was a validation warning here about not having a heading in this section. I would say the section itself isn't that necessary here. Think of section as being something that lets us express the logical structure of the content, such that if we gathered all the section headings, we'd be able to build a table of contents. Since this section doesn't really carry any semantic value, I'd replace it with a div, or see if I could remove it entirely. |
||
<img src="/images/attempt-gif.gif" alt='main-photo'/> | ||
</section> | ||
</main> | ||
<footer> | ||
<nav id="footer-nav"> | ||
<ul> | ||
<li><a href="https://github.com/jaekerrclayton">github</a></li> | ||
<li><a href="https://www.linkedin.com/">linked in</a></li> | ||
<li><a href="mailto:[email protected]">email</a></li> | ||
</ul> | ||
</nav> | ||
</footer> | ||
</body> | ||
</html> |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,9 +4,34 @@ | |
<meta charset="UTF-8"> | ||
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<title>Document</title> | ||
<title>index</title> | ||
<link href="/style/about.css" rel="stylesheet"> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Absolute paths can work well if your pages are in a variety of directories and you don't want to update copy/pasted code for styles/links. But we do need to make sure the root of our deployed server will match. There are two different ways to deploy to github pages. You would want to follow the User/Org instructions here instead of the project site deployment approach. Otherwise, you may want to use relative paths. |
||
</head> | ||
<body> | ||
|
||
<header> | ||
<h1>jae clayton</h1> | ||
<nav> | ||
<ul> | ||
<li><a href="/pages/index.html">home</a></li> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Anchor links would have the same absolute/relative considerations as the style link. |
||
<li><a href="/pages/portfolio.html">portfolio</a></li> | ||
<li><a href="/pages/about.html">about</a></li> | ||
</ul> | ||
</nav> | ||
</header> | ||
<main> | ||
<img id="main-photo" src="/images/homepagepic.png" alt='main-photo'/> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Generally, we'd want a description of the salient aspects of the image. So here, maybe something like "x-ray image of a human head". |
||
<!-- <section> --> | ||
<!-- <img id="main-photo" src="/images/homepagepic.png"/> --> | ||
<!-- </section> --> | ||
</main> | ||
<footer> | ||
<nav id="footer-nav"> | ||
<ul> | ||
<li><a href="https://github.com/jaekerrclayton">github</a></li> | ||
<li><a href="https://www.linkedin.com/">linked in</a></li> | ||
<li><a href="mailto:[email protected]">email</a></li> | ||
</ul> | ||
</nav> | ||
</footer> | ||
</body> | ||
</html> |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,66 @@ | ||
<!-- must include information about several projects | ||
you have completed at Ada (or elsewhere) with links | ||
to the GitHub repo (if available), descriptions, | ||
images, etc. --> | ||
|
||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<title>Document</title> | ||
<title>my portfolio</title> | ||
<!-- <link href="/style/style.css" rel="stylesheet"> --> | ||
<link href="/style/about.css" rel="stylesheet"> | ||
</head> | ||
<body> | ||
|
||
<header> | ||
<h1>portfolio</h1> | ||
<nav> | ||
<ul> | ||
<li><a href="/pages/index.html">home</a></li> | ||
<li><a href="/pages/portfolio.html">portfolio</a></li> | ||
<li><a href="/pages/about.html">about</a></li> | ||
</ul> | ||
</nav> | ||
</header> | ||
<main> | ||
<section> | ||
<div class='container'> | ||
<a href="https://github.com/jaekerrclayton/swap-meet"><img src="/images/ezgif-4-cbe5863d24.gif" alt='swap-meet-photo'/></a> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. From a usability standpoint, only linking the image is a little surprising. My inclination is to click the text, but the text isn't linked, and when positioned over the image, blocks the ability to click through to the image. One thing we can do to check that thinks are laid out for usability is the temporary comment out our stylesheet link to see how the page renders without the rules, and make sure that the page is still usable. |
||
<div class ='content'> | ||
<h3>swap-meet</h3> | ||
<p>a brief description of how I did the project and what and like also how i feel aout things languages were worked in and other stuff of the group project!</p> | ||
</div> | ||
</div> | ||
</section> | ||
<section> | ||
<div class='container'> | ||
<a href="https://github.com/jaekerrclayton/task-list-api"><img src="/images/facegif.gif" alt='task-list-photo'/></a> | ||
<div class ='content'> | ||
<h3>task-list api</h3> | ||
<p>a brief description of how I did the project and what and like also how i feel aout things languages were worked in and other stuff of the group project!</p> | ||
</div> | ||
</div> | ||
</section> | ||
<section> | ||
<div class='container'> | ||
<a href="https://github.com/jaekerrclayton/viewing-party"><img src="/images/teethv2.gif" alt='viewing-party-photo'/></a> | ||
<div class ='content'> | ||
<h3>viewing-party</h3> | ||
<p>a brief description of how I did the project and what and like also how i feel aout things languages were worked in and other stuff of the group project!</p> | ||
</div> | ||
</div> | ||
</section> | ||
</main> | ||
<footer> | ||
<nav id="footer-nav"> | ||
<ul> | ||
<li><a href="https://github.com/jaekerrclayton">github</a></li> | ||
<li><a href="https://www.linkedin.com/">linked in</a></li> | ||
<li><a href="mailto:[email protected]">email</a></li> | ||
</ul> | ||
</nav> | ||
</footer> | ||
</body> | ||
</html> |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,147 @@ | ||
body{ | ||
background-color: black; | ||
width: auto; | ||
min-height:100vh; | ||
height: 100vh; | ||
margin:0; | ||
font-family: helvetica; | ||
display:grid; | ||
flex-direction: column; | ||
font-weight: 300; | ||
grid-template-columns: .1fr 1fr 1fr 1fr 1fr 1fr .2fr; | ||
grid-template-rows: .4 auto .2%; | ||
color:#ebecd1; ; | ||
justify-content:space-evenly; | ||
Comment on lines
+13
to
+14
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We should make sure our CSS follows consistent formatting. VSCode can help by using the "Format Document" option in the command palette. |
||
align-items: center; | ||
} | ||
|
||
h1{ | ||
font-weight: lighter; | ||
} | ||
|
||
main #main-photo{ | ||
max-width: 85vw; | ||
max-height: 90vh; | ||
/* display: flex; */ | ||
} | ||
|
||
header{ | ||
background-color: rgb(0, 0, 0); | ||
text-align: center; | ||
margin-top: 0em; | ||
grid-column: 3/6; | ||
grid-row: 1/2; | ||
justify-content: space-evenly; | ||
} | ||
|
||
|
||
ul{ | ||
display: flex; | ||
flex-direction: row; | ||
justify-content:space-evenly; | ||
align-items: center; | ||
|
||
} | ||
|
||
header nav li{ | ||
font-size: 10pt; | ||
background-color: #ebecd1; | ||
padding: .3em; | ||
border-radius: 15px; | ||
text-decoration: none; | ||
} | ||
|
||
|
||
li{ | ||
list-style-type: none; | ||
} | ||
|
||
a{ | ||
text-decoration: none; | ||
font-size: 10pt; | ||
color: black; | ||
} | ||
|
||
* :visited{ | ||
color: rgb(10, 3, 3); | ||
} | ||
|
||
|
||
main{ | ||
display: flex; | ||
grid-column: 2/ 7; | ||
grid-row: 2/3; | ||
background-color: rgb(0,0,0); | ||
/* max-height: 80vh; */ | ||
display: flex; | ||
flex-wrap: wrap; | ||
flex-direction:row; | ||
justify-content: space-evenly; | ||
align-items: flex-end; | ||
|
||
} | ||
|
||
p{ | ||
max-width: 450px; | ||
display:inline-flex; | ||
|
||
} | ||
section{ | ||
justify-content: space-evenly; | ||
text-align: center; | ||
padding: 3em; | ||
width: fit-content; | ||
/* min-width: 400px; */ | ||
display:block; | ||
} | ||
|
||
.container { | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I like having a class like this on some root element of related tags, and then using that as part of a descendant selector as you did later. |
||
position:relative; | ||
max-height: 100%; | ||
max-width: 800px; | ||
max-width: 400px; | ||
object-fit: cover; | ||
vertical-align: bottom; | ||
justify-content: space-evenly; | ||
margin: 0 auto; | ||
|
||
} | ||
|
||
.container img{ | ||
max-width: 400px; | ||
object-fit: cover; | ||
/* display:block; */ | ||
border-radius: 80%; | ||
vertical-align: middle; | ||
|
||
} | ||
|
||
h3{ | ||
font-weight: lighter; | ||
} | ||
|
||
|
||
.container .content { | ||
position: absolute; | ||
bottom: 0; | ||
background: rgb(0, 0, 0); | ||
background: rgba(0, 0, 0, 0.5); | ||
color: #ebecd1; | ||
width: 100%; | ||
padding: .3em; | ||
} | ||
|
||
|
||
footer { | ||
/* position: absolute; */ | ||
margin: 0%; | ||
margin-bottom: 0em; | ||
bottom:0; | ||
width: 100%; | ||
height: 2.5rem; | ||
grid-column: 1/ span7; | ||
grid-row: 3/ span 4; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. There are only 3 rows, so this should be grid-row: 3 / span 1; |
||
margin-top: 4em; | ||
margin-bottom: 0em; | ||
background-color: #ebecd1; | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
#box{ | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I don't see this being used in the site. Consider removing it. |
||
width: 100vw; | ||
height: 100vh; | ||
} | ||
#container { | ||
display: flex; | ||
flex-direction: column; | ||
width: 50%; | ||
height: 30%; | ||
background-color: red; | ||
} | ||
.photo { | ||
width: 100%; | ||
height: 100%; | ||
background-repeat: no-repeat; | ||
background-size:contain; | ||
} | ||
|
||
|
||
img { | ||
max-width: 100%; | ||
height: auto; | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
.container { | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I don't see this being used in the site. Consider removing it. |
||
/* these are just an arbitrary widths and heights to look good on our browser */ | ||
/* width: 30vw; | ||
height: 60vh; */ | ||
display: grid; | ||
grid-template: 1fr 1fr 1fr 1fr 1fr/ 1fr 1fr 1fr 1fr; | ||
|
||
} | ||
|
||
.header { | ||
background-color: #d55e00; | ||
grid-column: 1 / 4; | ||
grid-row: 1 / 2 | ||
} | ||
|
||
.nav { | ||
background-color: #f0e442; | ||
grid-column: 1 / 4; | ||
grid-row: 2 / 3; | ||
|
||
} | ||
|
||
.content { | ||
background-color: #009e73; | ||
grid-column: 1 / 4; | ||
grid-row: 3 / 5; | ||
} | ||
|
||
.footer { | ||
background-color: #0072b2; | ||
background-color: #009e73; | ||
grid-column: 1 / 4; | ||
grid-row: 3 / 4; | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You must have already had another instance of live server running so it picked a different port.