Skip to content

Level 3 #34

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: master
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
13 changes: 11 additions & 2 deletions level-1/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -44,15 +44,24 @@

<header class="content-mid-header"></header>

<div class="content"></div>
<div class="content">
<p>Started his hearted any civilly. So me by marianne admitted speaking.<br>
Men bred fine call ask. Cease one miles truth day above seven. <br>
Suspicion sportsmen provision suffering mrs saw engrossed something. <br>
Snug soon he on plan in be dine some. </p>
</div>

</section>

</div>

</section>

<footer class="footer"> </footer>
<footer class="footer">
<div>
<h1>Footer</h1>
</div>
</footer>

</main>
</body>
Expand Down
7 changes: 6 additions & 1 deletion level-1/step-1/step-1.css
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@
/* This height is a placeholder. You will need to make some adjustments to get this container to look like the design. */
height: 100px;
background: #565555;
height: calc( 100vh - 200px );
float: left;
}


Expand All @@ -19,14 +21,17 @@
.content-mid {
width: 66%;
/* This height is a placeholder. You will need to make some adjustments to get this container to look like the design. */
height: 100px;
height: calc( 100vh - 200px );
background: #B0B0B0;
float: right;
}

/* Use float to get this container to the bottom of the screen */

.footer {
position: absolute;
width: 100%;
height: 100px;
background: #3A3A3A;
bottom: 0;
}
13 changes: 13 additions & 0 deletions level-1/step-2/step-2.css
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
/* Step-2 You can assign padding to all sides of a container by using the padding shorthand property. */

.content-left {
padding: 20px;

}

/* Step 2 You can assign padding to all sides of a container by using the padding shorthand property. */

.header {
padding: 20px;

}

Expand All @@ -15,24 +17,35 @@

.profile-image-container {
background: #96F0F2;
width: auto;
height: 35%;
margin-bottom: 23px;
}

/* Step-2 One option to get the container to fill the parent container is to use width: auto; */

.profile-links-container {
height: calc( 70% - 20px );
background: #12F3F7;
width: auto;
}

/* Step-2 You can either use float left to get this element to in the desired location. */

.logo-container {
float: left;
height: 100%;
width: 300px;
background: #4F4949;
}


/* Step-2 You can either use float right to get this element to in the desired location. */

.menu-container {
float: right;
width: 50px;
height: 100%;
background: #4F4949;
}

Expand Down
16 changes: 16 additions & 0 deletions level-1/step-3/step-3.css
Original file line number Diff line number Diff line change
@@ -1,17 +1,33 @@
/* Step-3 You can assign padding to all sides of a container by using the padding shorthand property. */

.content-mid {
padding: 80px;

}

.content-mid-header {
background: #444;
width: auto;
height: 25%;
}

.content-container {
width: auto;
height: 100%;

}

.content {
height: 90%;
width: auto;
padding: 20px;
text-align: center;
background: #D8D8D8;
}

.footer {
background: rgb(131, 115, 115);
text-align: center;
padding-top: 30px;
font-size: 50px;
}
3 changes: 3 additions & 0 deletions level-2/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,16 @@
<main class="main-wrapper">
<section class="main-top-section">
<header class="top-header">


<div class="menu"></div>
<div class="logo"></div>
<div class="sign-in"></div>
</header>
</section>

<section class="main-bottom-section">

<div class="item"></div>
<div class="item"></div>

Expand Down
2 changes: 2 additions & 0 deletions level-2/step-1/step-1.css
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
height: 40px;
background: #536A63;
float: left;

}

.logo {
Expand All @@ -35,4 +36,5 @@
height: 40px;
background: #536A63;
float: right;

}
21 changes: 10 additions & 11 deletions level-2/step-2/step-2.css
Original file line number Diff line number Diff line change
@@ -1,33 +1,32 @@
/* Step-2 add a text-align that will align items in the center. */
.main-bottom-section {
margin-top: 65px;
text-align: center;
/* alignment property */
}

/* Step-2 Add a width, height and display property to make these containers look like the design. */
.item {
/*width*/
/*height*/
/*display*/
margin: 0 20px 30px;
width: 43%;
height: 220px;
display: inline-block;
background: #DED6D3;
margin-bottom: 30px;
}

/* Step-2 Add a width, height, and margin property to make these containers look like the design. Remember margin: auto is helpful when trying to center a container. */
.full-width-item {
/*width*/
/*height*/
/*margin*/
margin:0 auto 30px;
width: 80%;
height: 220;
margin: 0 auto 32px;
background: #DED6D3;
}

/* Step-2 Add a width, height, and margin property to make these containers look like the design. Remember margin: auto is helpful when trying to center a container. */
.large-item {
/*width*/
/*height*/
/*margin*/
width: 86%;
height: 520px;
margin: 0 auto 32px;
background: #DED6D3;
}

Expand Down
50 changes: 18 additions & 32 deletions level-3/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,81 +2,67 @@
<html lang="en">
<head>

<meta charset="UTF-8">
<title>level-3</title>
<link rel="stylesheet" href="../base/base.css">
<meta charset="UTF-8">
<title>level-3</title>
<link rel="stylesheet" href="../base/base.css">

<!-- STEP 1 CSS FILE **** STEP 1 CSS FILE *** STEP 1 CSS FILE -->
<link rel="stylesheet" href="step-1/step-1.css">
<!--STEP 1 CSS FILE **** STEP 1 CSS FILE *** STEP 1 CSS FILE -->
<link rel="stylesheet" href="/level-3/step-1/step-1.css">

<!-- STEP 2 CSS FILE **** STEP 2 CSS FILE *** STEP 2 CSS FILE -->
<link rel="stylesheet" href="step-2/step-2.css">
<!--STEP 2 CSS FILE **** STEP 2 CSS FILE *** STEP 2 CSS FILE -->
<link rel="stylesheet" href="/level-3/step-2/step-2.css">

</head>

<body>
<main class="main-wrapper">
<section class="main-top-section">
<header class="top-header">

<div class="menu">
<img class="menu-icon" src="" alt="menu icon">
<img class="menu-icon" src="/level-3/img/icons/MENU.png" alt="menu icon">
</div>

<div class="logo">
<img class="logo-icon" src="" alt="logo icon">
<img class="logo-icon" src="/level-3/img/icons/dev-shop.png" alt="logo icon">
</div>

<div class="sign-in">
<img class="sign-in-icon" src="" alt="sign in icon">
<img class="sign-in-icon" src="/level-3/img/icons/Sign_In.png" alt="sign in icon">
</div>

</header>

<div class="bottom-container">
<img class="shop-icon" src="" alt="shop icon">
<img class="shop-icon" src="/level-3/img/icons/Shop_Deals.png" alt="shop icon">
</div>
</section>

<section class="main-bottom-section">

<div class="item tops">

<img class="item-image" src="" alt="tops">

<img class="item-image" src="/level-3/img/Tops.png" alt="tops">
</div>

<div class="item bottoms">

<img class="item-image" src="" alt="bottoms">

<img class="item-image" src="/level-3/img/bottoms.png" alt="bottoms">
</div>

<div class="full-width-item accessories">

<img class="item-image" src="" alt="accessories">

<img class="item-image" src="/level-3/img/accessories.png" alt="accessories">
</div>

<div class="large-item">

<img class="item-image" src="" alt="collection">

<img class="item-image" src="/level-3/img/collection.png" alt="collection">
</div>

<div class="item kicks">

<img class="item-image" src="" alt="kicks">

<img class="item-image" src="/level-3/img/kicks.png" alt="kicks">
</div>

<div class="item hats">

<img class="item-image" src="" alt="hats">

<img class="item-image" src="/level-3/img/hats.png" alt="hats">
</div>

</section>
</main>
</body>
</html>
</html>
Loading