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
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@ Project objectives are meant to increase your knowledge by giving you practice o

**Watch this short guide on how to setup your project:** [UI Project Setup 101](https://youtu.be/UU9WjpMsaLE)

- [ ] Study the [desktop design file](design-files/desktop.jpg). Visualize how you would convert the design into HTML and CSS. Make a quick sketch of how you would build the HTML structure. Use your sketch as a plan of action for the next two objectives. Challenge yourself to only use 10 minutes for this particular objective.
- [x] Study the [desktop design file](design-files/desktop.jpg). Visualize how you would convert the design into HTML and CSS. Make a quick sketch of how you would build the HTML structure. Use your sketch as a plan of action for the next two objectives. Challenge yourself to only use 10 minutes for this particular objective.

- [ ] Go to your [index.html](great-idea-website/index.html) file and build out your HTML structure. You have been provided all the content and images you need to get started inside the `index.html` file. Start to code HTML around the content!
- [x] Go to your [index.html](great-idea-website/index.html) file and build out your HTML structure. You have been provided all the content and images you need to get started inside the `index.html` file. Start to code HTML around the content!

- [ ] Style your HTML using the [desktop design file](design-files/desktop.jpg) as a visual guide. Use any CSS properties you want for general styling but for layout, you can only use the box model (content, padding, margin, border) and `display:inline-block`.
- [x] Style your HTML using the [desktop design file](design-files/desktop.jpg) as a visual guide. Use any CSS properties you want for general styling but for layout, you can only use the box model (content, padding, margin, border) and `display:inline-block`.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome 👌🏽


## Stretch Goals:

Expand Down
90 changes: 89 additions & 1 deletion great-idea-website/css/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -63,4 +63,92 @@ h1, h2, h3, h4, h5 {
margin-bottom: 15px;
}

/* Your code starts here! */
/* Your code starts here! */

body{
padding:200px;
}


a {
display:inline-block;
color:gray;
font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
text-decoration:none;
margin:30px 35px;
}

img {
display:inline;
}

div{
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This div style might override other styles. I'll advise that you give each div their own class to make it easily selectable.

width:49%;
display:inline-block;
text-align:center;
font-size:100px;

}

button{
border:1px solid black;
padding:10px 50px;
margin-bottom: 40%;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll advise that you add bottom margin to the container wrapping the button and text. Easier to style

font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
background-color:white;
}

h2{
text-align:left;
}

.p1,.p2{
display:inline-block;
width:49%;
}

.p3,.p4,.p5{
display:inline-block;
width:33%;
}


.top-content{
display:inline-block;
width:49%;
height:center;
margin:20px 0 0 0;
}

.top-section{
padding:20px;
border: 1px solid white;
border-top-color: black;
}



.middle-img{
width:100%;
display:block;
}

ul{
line-height: 30px;
}

footer{
text-align:center;
padding:50px 0 100px;

}

.sec-section{
padding:20px;
border: 1px solid white;
border-bottom-color: black;
}

.contact{
padding:20px;
}
99 changes: 56 additions & 43 deletions great-idea-website/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,49 +15,62 @@
</head>

<body>

Services
Product
Vision
Features
About
Contact

<img class="logo" src="img/logo.png" alt="Great Idea! Company logo.">
Innovation
On
Demand

Get Started

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

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


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

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

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


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

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

Contact
123 Way 456 Street
Somewhere, USA
1 (888) 888-8888
sales@greatidea.io

<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 class="logo" src="img/logo.png" alt="Great Idea! Company logo.">
</nav>
<header>
<div class="top-content">
<h1>
Innovation </br> On </br> Demand </h1>

<button> Get Started </button>
</div>

<img class="top-content" class="sec-img" src="img/header-img.png" alt="Image of a code snippet.">

</header>
<section class="top-section">
<span class="p1">
<h2 class="features">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>
</span>
<span class="p2">
<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>
</section>
</span>

<img class="middle-img" src="img/mid-page-accent.jpg" alt="Image of code snippets across the screen">
<section class="sec-section">
<span class="p3">
<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>
</span>
<span class="p4">
<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>
</span>
<span class="p5">
<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>
</span>
</section>
<section>
<h2 class="contact">Contact</h2>
<ul> 123 Way 456 Street</ul>
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remeber <ul> is used to wrap <li> items. Like this

<ul>
  <li></li>
  <li></li>
</ul>

<ul> Somewhere, USA </ul>
<ul> 1 (888) 888-8888 </ul>
<ul> sales@greatidea.io </ul>
</section>
<footer>
Copyright Great Idea! 2018

</footer>
</body>
</html>