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
187 changes: 187 additions & 0 deletions css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,190 @@ body {
*/


.logo {
height: 60px;
width: 60px;
margin-left: 400px;

}
.leftposition {
float: left;
}
ul {
list-style-type: none;
margin-top: 20px;
padding: 0;
overflow: hidden;
float: right;
margin-right: 175px;
}

li {
float: left;
}

li a {
display: block;
text-align: center;
padding: 16px;
text-decoration: none;
color: black;
}

li a:hover {
color: hsl(34, 41%, 60%);
}

.introduction {
clear: left;
background-position: center;
margin-top: 20px;
margin-right: 30px;
background-image: url("/img/first-background.jpg");
height: 700px;
width: 80%;
margin-left: 10%;

}
.introduction div{
margin-left: 40%;
color: white;
padding-top: 300px;

}

button {
background-color: #fc7f03;
height: 40px;
width: 110px;
margin-left: 10%;
border-radius: 10px;
}

.devicesimg{
width: 150px;
height: 150px;
}

.devices div{
float: left;
margin-right: 100px;
color: gray;

}
.devices div h3 {
font-weight: lighter;
}

.devices {
margin-left: 30%;
}

.devices h2 {
margin-left: 15%;
color: gray;
font-weight: lighter;
}
.clear {
clear: both;
}
.social-img {
width: 20px;
height: 20px;
}
.socialimg div {
float: left;
margin-right: 50px;
}
.socialimg {
margin-left: 30%;
}

.socialimg h4 {
margin-left: 24%;
color: gray;
font-weight: lighter;
}
.socialsection {
margin-left: 22%;
}
hr {
width: 80%;
margin-left: 10%;
}
.input_text {
float: left;
margin-right: 20px;
}
input {
height: 30px;
}

.form_div {
margin-left: 20%;
float: left;
margin-top: 70px;
margin-right: 40px;

}
.form_div h1 {
color: #fc7f03
}
form div {
padding: 20px;
}

.address {
width: 78%;
}
.city {
height: 35px;
}
.form_div h1 {
margin: 0px;
}
.store_button {
background-color: #e0633a;
height: 40px;
width: 170px;
margin-left: 0px;
border-radius: 2px;
color: white;
border: none;
}

form div {
padding-bottom: 20px;
}
.store_nav {
margin-right: 9%;
}
.homepage_feature {
float: left;
margin-right: 70px;
}
.feature {
margin-left: 10%;
}
.terms {
color: #e0633a;
}
.Karma_action {
height: 280px;
padding-top: 10%;
background-color: #fcf0ec;
width: 90%;
}
.submit_button {
background-color: #e0633a;
height: 40px;
width: 140px;
margin-left: 10%;
border-radius: 3px;
border: none;
color: white;
}
.quotation_mark {
color: #e0633a;
font-size: 30px;
}
Binary file added img/homepage-feature.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/karma.PNG
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
73 changes: 72 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,83 @@
<link rel="stylesheet" href="css/normalize.css">
<link rel="stylesheet" href="css/style.css">
<link rel="shortcut icon" type="image/x-icon" href="favicon.ico">

</head>
<body>
<nav>
<div class="leftposition">
<img class="logo" src="img/karma-logo.svg" alt="logo image">
</div>
<div>
<ul>
<li><a href="#">Meet Karma</a></li>
<li><a href="#">How it Works</a></li>
<li><a href="#">Store</a></li>
<li><a href="#">Blog</a></li>
<li><a href="#">Help</a></li>
</ul>
</div>
</nav>
<main>
<div class="introduction">
<div>
<h1>introducing you to Karma</h1>
<h3>Bring Wifi with you, everywhere you go</h3>
<button>Learn More</button>
</div>
</div>

<div class="devices">
<h2>Everyone needs a little Karma</h2>
<div>
<img class="devicesimg" src="/img/icon-devices.svg" alt="device">
<h3>Internet for all devices</h3>
</div>
<div>
<img class="devicesimg" src="/img/icon-coffee.svg">
<h3>Boost Your Productivity</h3>
</div>
<div>
<img class="devicesimg" src="/img/icon-refill.svg">
<h3>Pay as You Go</h3>
</div>
</div>
<div class="clear"></div>
<div class="feature">
<div class="homepage_feature">
<img src="/img/homepage-feature.png">
</div>
<div class="Karma_action">
<form action="store.html" method="get">
<p><span class="quotation_mark">"</span>Wherever I am, I just don't worry about my connection anymore!<span class="quotation_mark">"</span></p>
<input class="submit_button" type="submit" value="Get Karma today"></input>
</form>
</div>

</div>
<hr class="clear">
</main>
<footer>

<div class="socialimg">
<h4>Join us on</h4>
<div class="socialsection">
<div>
<img class="social-img" src="/img/twitter-icon.svg">
</div>
<div>
<img class="social-img" src="/img/facebook-icon.svg">
</div>
<div>
<img class="social-img" src="/img/instagram-icon.svg">
</div>
</div>
</div>


<!-- Add your HTML markup here -->
<!-- Remember: Use semantic HTML tags like <header>, <main>, <nav>, <footer>, <section> etc -->
<!-- All the images you need are in the 'img' folder -->

</footer>
</body>
</html>
Empty file added store.css
Empty file.
107 changes: 107 additions & 0 deletions store.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,107 @@
<!DOCTYPE html>
<html lang="en">

<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<title>Karma</title>
<link href='https://fonts.googleapis.com/css?family=Roboto:400,500,300' rel='stylesheet' type='text/css'>
<link rel="stylesheet" href="css/normalize.css">
<link rel="stylesheet" href="css/style.css">
<link rel="shortcut icon" type="image/x-icon" href="favicon.ico">

</head>

<body>
<nav>
<div class="leftposition">
<img class="logo" src="img/karma-logo.svg" alt="logo image">
</div>
<div class="store_nav">
<ul>
<li><a href="#">Meet Karma</a></li>
<li><a href="#">How it Works</a></li>
<li><a href="index.html">Store</a></li>
<li><a href="#">Blog</a></li>
<li><a href="#">Help</a></li>
</ul>
</div>
</nav>
<main>
<div class="form_div">
<h1>Order your Karma wifi device today!</h1>
<form>
<div class="input_text">
<label for="first_name">First name</label><br>
<input id="first_name" type="text">
</div>
<div>
<label for="last_name">Last name</label><br>
<input id="last_name" type="text">
</div>
<div>
<label for="Address">Address*</label><br>
<input class="address" id="Address" type="text">
</div>
<div>
<label for="Address">Address2</label><br>
<input class="address" id="Address" type="text">
</div>
<div class="input_text">
<label for="City">City</label><br>
<select class="city" name="city" id="city">
<option value="" selected="selected">Select city</option>
</select>
</div>
<div>
<label for="Postcode">Postcode*</label><br>
<input id="Address" type="text">
</div>
<p>Select a colour</p>
<div class="input_text">
<input id="Karma_orange" type="radio" name="size" value="Karma_orange"/>
<label for="Karma_orange">Karma orange</label><br>
</div>
<div>
<input id="Space_Grey" type="radio" name="size" value="Space_Grey"/>
<label for="Space_Grey">Space Grey</label>
</div>
<div>
<label>
<input type="checkbox" checked="checked" name="remember"> By placing your order you agree to Karma's <a class="terms" href="#">Terms and Conditions</a>*
</label>
</div>
<div>
<button class="store_button">Place my order</button>
</div>
</form>
</div>
<div>
<img src="img/karma.PNG">
</div>
<hr class="clear">
</main>
<footer>

<div class="socialimg">
<h4>Join us on</h4>
<div class="socialsection">
<div>
<img class="social-img" src="/img/twitter-icon.svg">
</div>
<div>
<img class="social-img" src="/img/facebook-icon.svg">
</div>
<div>
<img class="social-img" src="/img/instagram-icon.svg">
</div>
</div>
</div>

<!-- Add your HTML markup here -->
<!-- Remember: Use semantic HTML tags like <header>, <main>, <nav>, <footer>, <section> etc -->
<!-- All the images you need are in the 'img' folder -->
</footer>
</body>

</html>