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
}
85 changes: 83 additions & 2 deletions css/style.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@

/* We are using the 'Roboto' font from Google. This has already been added to your HTML header */
/* We are using the 'Roboto' font from Google. This has already been added to your HTML header */

body {
font-family: 'Roboto', sans-serif;
Expand All @@ -15,5 +14,87 @@ body {
*
* - When using Flexbox, remember the items you want to move around need to be inside a parent container set to 'display: flex'
*/
nav {
width: 100%;
background-color: white;
}

#navbar {
display: flex;
justify-content: space-between;
width: 100%;
}

.nav-links {
display: flex;
list-style: none;
justify-content: flex-end;

}

.nav-item a {
margin-right: 2rem;
color: grey;
justify-content: center;
text-align: center;
}

.nav-item:first-child {
margin-right: auto;
margin-left: 30px;
}

.info {
background-image: url("/img/first-background.jpg");
background-size: cover;
height: 480px;
padding-top: 80px;
color: white;
text-align: center;
}

p {
padding: 40px;
margin: 20px;
}

.learn-more {
background-color: orange;
padding: 10px;
border-radius: 5px;
}

header {
font-size: 30px;
}

.karma2 {
text-align: center;
padding: 40px;
}

.icons {
display: flex;
justify-content: center;
list-style: none;
}

.icon-item {
padding: 10px;
margin: 10px;
text-align: center;

}

footer {
flex-direction: row;
flex-wrap: wrap;
flex-direction: column;
text-align: center;
}

#footlogo {
padding: 20px;
margin: 20px;

}
55 changes: 53 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
@@ -1,19 +1,70 @@
<!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">
<link rel="shortcut icon" type="image/x-icon" href="favicon.ico">
</head>

<body>
<nav id="nabar">
<ul class="nav-links">
<li class="nav-item"><a href="#logo"><img src="/img/karma-logo.svg" alt="logo"></a></li>
<li class="nav-item"><a href="#meetkarma">Meet Karma</a></li>
<li class="nav-item"><a href="#howitworks">How it Works</a></li>
<li class="nav-item"><a href="#stores">Stores</a></li>
<li class="nav-item"><a href="#blog">Blog</a></li>
<li class="nav-item"><a href="#help">Help</a></li>
<li class="nav-item"><a href="#login">Login</a></li>
</ul>
</nav>
<main>
<section class="info">

<header>Introducing Karma</header>
<p>Bring WiFi with you, everywhere you go</p>
<button class="learn-more">Learn More</button>
</section>

<section class="karma2">

<header>Everyone need a little Karma</header>

<ul class="icons">
<li class="icon-item">
<a href="#icon"><img src="/img/icon-devices.svg" alt="icon" width="50px" height="50px"></a>
<p>Internet for all devices</p>
</li>
<li class="icon-item">
<a href="#icon"><img src="/img/icon-coffee.svg" alt="icon" width="50px" height="50px"></a>
<p>Boost your productivity</p>
</li>
<li class="icon-item">
<a href="#icon"><img src="/img/icon-refill.svg" alt="icon" width="50px" height="50px"></a>
<p>Pay as you go</p>
</li>
</ul>
</section>
</main>

<footer class="foot-section">
<p>Join us on <br> </p>
<a id="footlogo" href="#logo"><img src="/img/twitter-icon.svg" alt="logo" width="30px" height="30px"></a>
<a id="footlogo" href="#logo"><img src="/img/facebook-icon.svg" alt="logo" width="30px" height="30px"></a>
<a id="footlogo" href="#logo"><img src="/img/instagram-icon.svg" alt="logo" width="30px" height="30px"></a>


<p>&copy Karma Mobility, .Inc</p>
</footer>
<!-- 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 -->

</body>
</html>

</html>