Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
693a126
Instagram: added content to index.html
BrendanHorst Sep 25, 2019
a2dcc94
Instagram: fixed nav links to actually be anchor tags
BrendanHorst Sep 25, 2019
40d1d17
Instagram: created the css for the page and linked it in the HTML
BrendanHorst Sep 26, 2019
8a46dc7
added content to index.html
BrendanHorst Sep 26, 2019
ebb7abe
formatted the header with font sizes and color
BrendanHorst Sep 26, 2019
ef7bceb
formatted the list of categories
BrendanHorst Sep 26, 2019
1301240
quick fix categories in amazon to be bold
BrendanHorst Sep 26, 2019
56e2ccb
added content to index.html
BrendanHorst Sep 26, 2019
95202a7
put the paragraph inside main
BrendanHorst Sep 26, 2019
ebbbc01
replaced the placeholder image with a better one
BrendanHorst Sep 26, 2019
d1acdf3
styled the page
BrendanHorst Sep 26, 2019
ab72a7b
changed the buttons to a more pleasant red color
BrendanHorst Sep 26, 2019
d197f1e
centered the stevens college page in the window
BrendanHorst Sep 26, 2019
54bb41d
added all the content to index.html except for the form
BrendanHorst Sep 26, 2019
e00d150
added a form to index.html
BrendanHorst Sep 26, 2019
0f1dc97
made index.html for semantic and added values for the text boxes
BrendanHorst Sep 26, 2019
13b5524
put checkin/checkout inputs in sections and got them to be side by side
BrendanHorst Sep 26, 2019
98c4586
added content to index.html
BrendanHorst Sep 27, 2019
559ffba
styled the header and links section
BrendanHorst Sep 27, 2019
3bbb93b
placed articles in two columns without the images.
BrendanHorst Sep 27, 2019
3edd6b2
added placeholder attributes to the form inputs
BrendanHorst Sep 30, 2019
543d0f7
moved the images inside of the anchor tags
BrendanHorst Sep 30, 2019
ffb7577
formatted the explore buttons at the bottom of the page
BrendanHorst Sep 30, 2019
bdad4b4
formatted search button and header image
BrendanHorst Sep 30, 2019
e6e0213
gave a class to the current page label at the top and put a '/' befor…
BrendanHorst Sep 30, 2019
b439bb0
made everything in airbnb border-box box sizing
BrendanHorst Sep 30, 2019
fa51d6d
completed the github page
BrendanHorst Oct 1, 2019
4af304c
Merge branch 'github'
BrendanHorst Oct 1, 2019
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
51 changes: 50 additions & 1 deletion airbnb/index.html
Original file line number Diff line number Diff line change
@@ -1 +1,50 @@
<!-- Add your HTML here -->
<!DOCTYPE html>
<html lang="en" dir="ltr">

<head>
<meta charset="utf-8">
<title>Airbnb</title>
<link rel="stylesheet" href="styles.css">
</head>

<body>

<header>
<h1>Book unique homes and experiences.</h1>
</header>

<form action="index.html" method="get">

<label for="where">Where</label>
<input type="text" name="where" placeholder="Anywhere">

<section>
<section>
<label for="check-in">Check in</label>
<input type="text" name="check-in" placeholder="mm/dd/yyyy">
</section>

<section>
<label for="check-out">Check out</label>
<input type="text" name="check-out" placeholder="mm/dd/yyyy">
</section>
</section>

<label for="guests">Guests</label>
<input type="text" name="guests" placeholder="1 guest">

<input class="search" type="submit" name="search" value="Search">
</form>

<section class="explore">
<h2>Explore Airbnb</h2>

<ul>
<li><a href="#"><img src="https://placekitten.com/100/75" alt="A room interior">Homes</a></li>
<li><a href="#"><img src="https://placekitten.com/100/75" alt="People riding bikes and having a good time">Experiences</a></li>
<li><a href="#"><img src="https://placekitten.com/100/75" alt="Picture of a meal">Restaurants</a></li>
</ul>
</section>
</body>

</html>
74 changes: 73 additions & 1 deletion airbnb/styles.css
Original file line number Diff line number Diff line change
@@ -1 +1,73 @@
/* Add your CSS here */
*, *::before, *::after {
box-sizing: border-box;
}

body {
font-family: sans-serif;
}

header {
display: flex;
align-items: center;
background-color: gray;
background-image: url("https://placekitten.com/2000/100");
height: 6rem;
}

h1{
color: white;
margin-left: 10px;
}

label {
display: block;
margin-top: 2rem;
text-transform: uppercase;
color: gray;
font-weight: bold;
margin-bottom: 1rem;
}

input {
display: block;
width: 100%;
height: 3rem;
font-size: 1rem;
}

form > section {
display: flex;
}
section > section {
width: 50%;
}

.search {
background-color: #ff5c5c;
color: white;
margin: 1rem 0 1rem 0;
}

.explore ul {
display: flex;
padding-left: 0;
justify-content: space-around;
}

.explore li {
width: 30%;
list-style: none;
border: thin solid lightgray;
height: 75px;
}

.explore li a {
width: 100%;
height: 100%;
text-align: center;
display: flex;
align-items: center;
text-decoration: none;
color: gray;
font-weight: bold;
}
48 changes: 47 additions & 1 deletion amazon/index.html
Original file line number Diff line number Diff line change
@@ -1 +1,47 @@
<!-- Add your HTML here -->
<!DOCTYPE html>
<html lang="en" dir="ltr">

<head>
<meta charset="utf-8">
<title>Amazon</title>
<link rel="stylesheet" href="styles.css">
</head>

<body>
<main>

<header>
<h1>Computer & Technology Books</h1>

<p>Browse a wide selection of <a href="#">programming guides</a>,
<a href="#">Android resources</a>, and <a href="#">Java books</a>.</p>
</header>

<section>

<h2>Shop by category</h2>

<ul>
<li><img src="https://placekitten.com/100/150" alt="A programming book">
<a href="#">Programming</a></li>
<li><img src="https://placekitten.com/100/150" alt="A computer science book">
<a href="#">Computer Science</a></li>
<li><img src="https://placekitten.com/100/150" alt="A programming language book">
<a href="#">Programming Languages</a></li>
<li><img src="https://placekitten.com/100/150" alt="A networking & cloud computing book">
<a href="#">Networking & Cloud Computing</a></li>
<li><img src="https://placekitten.com/100/150" alt="A security & encryption book">
<a href="#">Security & Encryption</a></li>
<li><img src="https://placekitten.com/100/150" alt="A software book">
<a href="#">Software</a></li>
<li><img src="https://placekitten.com/100/150" alt="An operating systems book">
<a href="#">Operating Systems</a></li>
<li><img src="https://placekitten.com/100/150" alt="A strategy guide">
<a href="#">Games $ Strategy Guides</a></li>
</ul>
</section>
</main>

</body>

</html>
43 changes: 42 additions & 1 deletion amazon/styles.css
Original file line number Diff line number Diff line change
@@ -1 +1,42 @@
/* Add your CSS here */
*, *::after, *::before {
box-sizing: border-box;
}

main {
font-family: sans-serif;
padding: 10px;
}

h1 {
color: #ff6a00;
margin-bottom: 1rem;
}

p {
color: gray;
font-size: .8rem;
}

h2 {
margin-top: 2rem;
border-bottom: thin solid lightgray;
padding-bottom: 1rem;
}

ul {
display: flex;
flex-wrap: wrap;
padding: 0;
}

li {
list-style: none;
width: 25%;
margin-bottom: 2rem;
text-align: center;
}
li a {
display: block;
text-decoration: none;
font-weight: bold;
}
53 changes: 52 additions & 1 deletion github/index.html
Original file line number Diff line number Diff line change
@@ -1 +1,52 @@
<!-- Add your HTML here -->
<!DOCTYPE html>
<html lang="en" dir="ltr">

<head>
<meta charset="utf-8">
<title>GitHub</title>
<link rel="stylesheet" href="styles.css">
</head>

<body>
<header>
<h1>Come help us make collaboration even better</h1>
<p>At GitHub we build the tools that make collaborating and
writing software easier for everyone. We've built a company we
truly love working for, and we think you will too.</p>
</header>

<nav>
<ul>
<li><a href="#">About</a></li>
<li class="current">Careers</li>
</ul>
</nav>

<section class="links">
<ul>
<li><a href="#">Open positions</a></li>
<li><a href="#">Apprenticeships</a></li>
<li><a href="#">Internships</a></li>
</ul>
</section>

<section class="info">
<article class="diversity">
<h2>A diverse and inclusive workplace</h2>
<p>At GitHub, we think that a diverse company is a strong company, and
we work hard to foster a supportive and welcoming workplace. Learn
more about our commitment to diversity and inclusion and see our
<a href="#">current demographic data</a>.</p>
</article>

<article class="happy">
<h2>Work happier</h2>
<p>Build amazing things with autonomy, self-direction, and a healthy
work-life balance. We offer flexible work schedules for all of
our employees and unlimited PTO. We also believe that if a job allows for it,
you should <a href="#">work wherever you're happiest</a>.</p>
</article>
</section>
</body>

</html>
101 changes: 100 additions & 1 deletion github/styles.css
Original file line number Diff line number Diff line change
@@ -1 +1,100 @@
/* Add your CSS here */
*, *::after, *::before {
box-sizing: border-box;
}

body {
font-family: sans-serif;
}

h1 {
text-align: center;
margin-top: 8rem;
font-size: 3rem;
width: 60%;
margin-left: auto;
margin-right: auto;
}

li {
display: inline;
list-style: none;
}
ul {
padding-left: 0;
}

a {
text-decoration: none;
}

p {
color: gray;
}

header p {
width: 70%;
font-size: 1.5rem;
margin-left: auto;
margin-right: auto;
text-align: center;
}

nav {
position: absolute;
top: 0;
}

.current::before{
content: "/ ";
color: gray;
}

.links li{
display: block;
width: 30%;
text-align: center;
}
.links ul{
display: flex;
width: 50%;
margin: 3rem auto 4rem auto;
justify-content: space-around;
}

.links a {
font-size: 1.2rem;
}

h2 {
font-weight: normal;
}

.info {
display: flex;
flex-direction: row;
justify-content: center;
}

.info::before {
content: url("https://placekitten.com/100/100");
order: 1;
margin: 1rem;
}

.diversity {
width: 30%;
order: 2;
margin-right: 2rem;
}

.info::after {
content: url("https://placekitten.com/100/100");
order: 3;
margin: 1rem;
margin:left: 2rem;
}

.happy {
width: 30%;
order: 4;
}
Loading