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
3 changes: 3 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"liveServer.settings.port": 5501
}
154 changes: 153 additions & 1 deletion great-idea/css/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -63,4 +63,156 @@ h1, h2, h3, h4, h5 {
margin-bottom: 15px;
}

/* Copy and paste your work from yesterday here and start to refactor into flexbox */
/* Your code starts here! */

.services {
line-height: 1.5;
}

.container {
margin: auto 23%;
}

header {
margin-top: 7%;
}

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

nav a {
color: #808080;
text-decoration: none;
}

.cta {
display: flex;
margin-top: 7%;
}

.cta-services h1{
font-size: 32px;
text-align: start;
}

.cta-box-1{
width: 57.5%;
display: flex;
flex-wrap: wrap;
flex-direction: column;
align-items: center;
justify-content: center;
}

h1 {
font-size: 84px;
text-align: center;
}

button {
width: 35%;
font-size: 24px;
background-color: white;
}

.cta-box-2 {
width: 42.5%;
display: flex;
justify-content: flex-end;
}

.cta-services img {
width: 100%;
margin: 4% auto;
}

.main-content {
margin-top: 10%;
margin-bottom: 5%;
padding: 5% 0;
border-top: 1px solid black;
border-bottom: 1px solid black;
}

.all-services {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
border-top: 2px solid black;
border-bottom: 2px solid black;
margin-top: 4%;
padding-bottom: 4%;
}

.top-2{
display: flex;
justify-content: space-between;
}

.content-box-top {
width: 49%;
}

.middle-img {
width: 100%;
margin: 5% auto;
}

.bottom-3{
display: flex;
justify-content: space-between;
}

.content-box-bottom {
width: 32.5%;
}

.service-box {
width: 48%;
margin-top: 4%;
padding: 2%;
border: 1px solid black;
background-color: #F4F3F4;
}

.service-box button {
padding: 2% 5%;
font-size: 12px;
border-radius: 8px;
}

address a {
text-decoration: none;
color: black;
}

.facts {
display: flex;
justify-content: space-between;
margin-top: 4%;
}

.facts-box1 {
width: 48%;
}

.facts-box1 li {
list-style-type: square;
line-height: 2;
}

.facts-box2 {
width: 48%;
}

.facts-box2 img {
width: 100%;
}

footer {
text-align: center;
margin: 6% auto;
}
80 changes: 77 additions & 3 deletions great-idea/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,82 @@

<body>

<!-- Copy and paste your HTML from the first UI project here -->


<div class='container'>

<header>
<nav>
<a href="#">Services</a>
<a href="#">Product</a>
<a href="#">Vision</a>
<a href="#">Features</a>
<a href="#">About</a>
<a href="#">Contact</a>
<img src="img/logo.png" alt="Great Idea! Company logo.">
</nav>
</header>

<section class="cta">
<div class="cta-box-1">
<h1>Innovation<br>
On<br>
Demand</h1>

<button>Get Started</button>
</div><!--closes cta box 1 div-->
<div class ="cta-box-2">
<img src="img/header-img.png" alt="Image of a code snippet.">
</div><!--closes cta box 2 div-->
</section> <!-- closes cta section-->

<section class="main-content">
<div class="top-2">
<div class="content-box-top">
<h2>Features</h2>
<p>Aliquam elementum magna eros, ac posuere elvit tempus et. Suspendisse vel tempus odio, in interdutm nisi. Suspendisse eu ornare nisl. Nullam convallis augue justo, at imperdiet metus scelerisque quis.</p>
</div><!--closes content box div-->

<div class="content-box-top">
<h2>About</h2>
<p>Aliquam elementum magna eros, ac posuere elvit tempus et. Suspendisse vel tempus odio, in interdutm nisi. Suspendisse eu ornare nisl. Nullam convallis augue justo, at imperdiet metus scelerisque quis.</p>
</div><!--closes content box div-->
</div> <!--closes top 2 div-->

<img class="middle-img" src="img/mid-page-accent.jpg" alt="Image of code snippets across the screen">

<div class="bottom-3">
<div class="content-box-bottom">
<h2>Services</h2>
<p>Aliquam elementum magna eros, ac posuere elvit tempus et. Suspendisse vel tempus odio, in interdutm nisi. Suspendisse eu ornare nisl. Nullam convallis augue justo, at imperdiet metus scelerisque quis.</p>
</div><!--closes content box bottom div-->
<div class="content-box-bottom">
<h2>Product</h2>
<p>Aliquam elementum magna eros, ac posuere elvit tempus et. Suspendisse vel tempus odio, in interdutm nisi. Suspendisse eu ornare nisl. Nullam convallis augue justo, at imperdiet metus scelerisque quis.</p>
</div><!--closes content box bottom div-->
<div class="content-box-bottom">
<h2>Vision</h2>
<p>Aliquam elementum magna eros, ac posuere elvit tempus et. Suspendisse vel tempus odio, in interdutm nisi. Suspendisse eu ornare nisl. Nullam convallis augue justo, at imperdiet metus scelerisque quis.</p>
</div><!--closes content box bottom div-->
</div><!--closes bottom 3 div-->

</section>

<address>

<h2>Contact</h2>
<a href="#">123 Way 456 Street</a><br>
<a href="#">Somewhere, USA</a><br>
<br>
<a href="#">1 (888) 888-8888</a><br>
<br>
<a href="#">sales@greatidea.io</a>

</address>

<footer>

<p>Copyright Great Idea! 2018</p>

</footer>
</div> <!-- closes container div-->
</body>
</html>
Loading