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
}
236 changes: 235 additions & 1 deletion css/index.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,237 @@
/* Use your own code or past solution for Great Idea Web Page CSS here! */
/* 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;
}

/* Set every element's box-sizing to border-box */
* {
box-sizing: border-box;
}

html, body {
height: 100%;
font-family: 'Titillium Web', sans-serif;
}

h1, h2, h3, h4, h5 {
font-family: 'Bangers', cursive;
letter-spacing: 1px;
margin-bottom: 15px;
}

/* Copy and paste your work from yesterday here and start to refactor into flexbox */
html {
margin: 40px;
}


header {
display: flex;
justify-content: space-evenly;

flex-direction: row;
}

header nav {
display: flex;
justify-content: space-between;
width: 100%;

align-items: center;
margin-right: 2%;
}



.container a {

text-decoration: none;
color: gray;

}

.cta {
display: flex;
margin-bottom: 30px;
justify-content: space-evenly;
align-items: center;

}

.cta-text {
text-align: center;
}

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

.top-content {
display: flex;
width: 100%;
border-top: 1px solid black;
padding-top: 40px;
padding-bottom: 30px;
padding: 2%;

}

.middle-img {
width: 100%;
}


.bottom-content {
display: flex;

border-bottom: 1px solid black;
margin-top: 40px;
padding-bottom: 40px;
}

.copyright {
display: flex;
justify-content: center;
margin-right: 1000px;
}

.contact {
margin-top: 40px;
}

.number {
padding-top: 10px;
padding-bottom: 10px;
}

footer p {
text-align: center;
}

@media (max-width:800px) {
.circle-img {
display: none;
}

header {
flex-direction: column-reverse;
align-items: center;
}

.logo {
width: 200px;
align-items: center;
padding-bottom: 20px;
}
}

@media (max-width: 500px){
.top-content {
flex-direction: column;
}

.bottom-content {
flex-direction: column;
}

.text-content {
padding-top: 30px;
}

nav {
flex-direction: column;
}

header {
flex-direction: column-reverse;
align-items: center;
}

.container a {
border-bottom: 1px solid black;

padding: 10px;
width: 100%;
}

a {
text-align: center;
}

.logo {
width: 50%;
}

}

@media (max-width: 700px) and (min-width: 600px) {
.circle-img {
display: none;
}

header {
flex-direction: column-reverse;
align-items: center;
}

.logo {
width: 200px;
align-items: center;
padding-bottom: 20px;
}

a {
background-color: blue;
}

button {
height: 100px;
width: 300px;
background-color: blue;
}
}
105 changes: 104 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,115 @@
<meta charset="utf-8">
<title>Great Idea - Responsive I</title>

<meta name="viewport" content="width=device-width, initial-scale=1.0">

<link href="https://fonts.googleapis.com/css?family=Bangers|Titillium+Web" rel="stylesheet">
<link rel="stylesheet" href="css/index.css">

</head>

<body>
<!-- Use past code you created here for Great Idea Web Page or past solution for Great Idea Web Page HTML 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>

</nav>

<img class="logo" src="https://tk-assets.lambdaschool.com/c7e8c14d-d7ad-4d21-9c18-4a68c77e5ad5_logo.png" alt="Great Idea! Company logo.">

</header> ​
<section class="cta">
<div class="cta-text">
<h1>Innovation<br> On<br> Demand</h1>

<button>Get Started</button>

</div>
<img class="circle-img" src="img/header-img.png" alt="Image of a code snippet.">

</section> ​

<section class="main-content"> ​
<div class="top-content">
<div class="text-content">

<h4>Features</h4>

<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>

<div class="text-content">

<h4>About</h4>

<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>

</div>


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

<div class="text-content">

<h4>Services</h4>

<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>

<div class="text-content">

<h4>Product</h4>

<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>

<div class="text-content">

<h4>Vision</h4>

<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>

</div> ​
</section> ​
<section class="contact"> ​
<h4>Contact</h4>

<p>123 Way 456 Street<br> Somewhere, USA</p>
<br>
<p>1 (888) 888-8888</p>
<br>
<p>[email protected]</p>

</section>

<footer>

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

</footer>


</div><!-- container -->


</body>
</html>