Skip to content
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
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ git checkout -b <firstName-lastName-day2> <firstName-lastName>.

Use the checklist below to guide your work today. Your final product should be presentable at mobile, tablet and a desktop-width.

- [ ] Insert a viewport meta tag into the head of the project with these html attributes: content="width=device-width, initial-scale=1"
- [ x] Insert a viewport meta tag into the head of the project with these html attributes: content="width=device-width, initial-scale=1"
- [ ] Introduce max-width media queries into your project at 800px and 500px
- [ ] Change CSS styles from hard-coded `px` to any one of the responsive units learned today
- [ ] Add accessability features to your webpage
Expand Down
64 changes: 64 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="style/index.css">
<title>Document</title>
</head>

<body>
<header>
<div class="toptag">
<h1>Noah Bibb</h1>
</div>
<div class="atag">
<nav>
<a href="#" class="button-selected">Home</a>
<a href="#">About</a>
<a href="https://codepen.io/dashboard/?cursor=ZD0wJm89MSZwPTEmdj00Mzg1MzY1MA==">Project</a>
<a href="https://www.instagram.com/rivertrashh_/?h">Contact</a>
</nav>
</div>
</header>
<main>
<section class="cta">
<article>
<h2>Noah Bibb</h2>
<button>My Projects</button>

</article>
</section>
<section class="Projects">
<article>
<img src="https://thedestinyformula.com/wp-content/uploads/2018/07/video-game-room-ideas-wallpaper.jpg" alt="Gamebling">
<p>Gamebling Project</p>
</article>
<article>
<img src="https://sebringdesignbuild.com/wp-content/uploads/2019/09/Home-Theater-Ideas-1-Sebring-Design-Build.jpg?x41361" alt="house">
<p>Real Estate Project</p>
</article>
<article>
<img src="https://xtremecarpetcleaning.biz/files/2019/05/xtreme1.png" alt="cleaning">
<p>Xtreme Cleaners Project</p>
</article>
<article>
<img src="https://i.pinimg.com/474x/78/9c/c9/789cc9449a0905df6c6af28432e2f201.jpg" alt="car">
<p>cool thing</p>
</article>
<article>
<img src="https://i.pinimg.com/564x/4d/0a/b1/4d0ab1ed90511677a5f4b38d1d479699.jpg" alt="fire pit">
<p>fun thing</p>
</article>
<article>
<img src="https://img.jakpost.net/c/2018/05/08/2018_05_08_45539_1525755419._large.jpg" alt="spicy">
<p>spicy thing</p>
</article>
</section>
</main>
<footer>
<button onclick="https://www.facebook.com/noah.bibb">Contact Me</button>
</footer>
</body>

</html>
210 changes: 210 additions & 0 deletions style/index.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,210 @@
/* 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;
}


*{
box-sizing: border-box;
border: 1px solid black;

}
a{
text-decoration: none;
color: black;
}
div .toptag{
display: flex;
width: 25rem;
}
div .atag{
display: flex;
}
img{
width: 100%;

}
header{
height: 10vh;
display:flex;
justify-content: space-between;
}
header div{
width: 50%;
}
header div nav a {
width: 10rem;
height: 2rem;
display: flex;
justify-content: center;
align-items: center;
border-radius: .5rem;
}

header div nav a:hover {
background-color:white;
color: black;
}

.button-selected{
color: white;
background-color: black;
}

nav{
width: 100%;
display: flex;
justify-content: space-between;
align-items: center;
}

main{
display: flex;
flex-direction: column;
}

.cta{
display: flex;
justify-content: center;
}

.cta article{
background-image: url(https://www.lechzuers.com/app/uploads/2019/01/cs_20140325_lech_zuers_snowboard_0027-1920x1080.jpg);
width: 70%;
height: 30rem;
display: flex;
justify-content: space-evenly;
align-items: center;
flex-direction: column;
border-radius: 5rem;
}

.Projects{
display: flex;
flex-wrap: wrap;
justify-content: space-around;
}

.Projects article{
width: 30%;
display: flex;
flex-direction: column;
align-items: center;
margin-bottom: 2rem;
border-radius: .5rem;
}

footer{
display: flex;
justify-content: center;
align-items: center;
height: 10px;
}

h1{
font-size: 5rem;
}

button{
border:none;
background: none;
color: black;
padding: 1;
display: flex;
justify-content: center;
align-items: center;

}

button:hover{
background-color: black;
color: white;
}
@media(max-width: 800px){
h1{
font-size: 5rem;
}
h2{
font-size: 3rem;
}
button{
font-size: 2rem;
}
}






@media(max-width:500px){
h1{
font-size: 2rem;
}
header div nav a{
flex-direction: column;
}
.cta article{
height: 15rem;
}
main{
justify-content: space-evenly;
}
button{
height: 1rem;
}


.Projects{
height: 30rem;
}
div .atag{
width: 25rem;
flex-direction: column;
justify-content: space-evenly;
}
}