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
15 changes: 15 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"type": "pwa-chrome",
"request": "launch",
"name": "Launch Chrome against localhost",
"url": "http://localhost:8080",
"webRoot": "${workspaceFolder}"
}
]
}
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": 5502
}
215 changes: 215 additions & 0 deletions css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,221 @@
body {
font-family: 'Roboto', sans-serif;
-webkit-font-smoothing: antialiased;

}
.content{
padding: 0 0.938rem;
margin: 0 auto;
min-width: 37.5rem;

}
:focus{
outline: none;
}
ul{
list-style: none;
padding: 0;
}
.topnav {
position: relative;
width: 100%;
/* z-index: 9999; */
background-color: #fff;
border-bottom: 1px solid #ddd;
}
.topnav > .content{
height: 4.375rem;
}
.topnav .logo{
height: 4.375rem;
margin-left: 10%;
}
.topnav .link{
float: right;
color: #838994;
font-size: 1.04rem;
margin-top: 1.7rem;
}
.topnav .link li{
display: inline-block;
margin-left: 1.563rem;
}
.topnav .link li.active{
color: #333;
font-weight: 500;
}
.topnav .link li:hover{
cursor: pointer;
color: #333333;
}

.introduction {
background-image: url("../img/first-background.jpg");
background-size: cover;
height: 45.938rem;
overflow: auto;
}

.introduction h1,
.introduction h3 {
color: white;
text-align: center;
font-weight: 300;
}

.introduction h1 {
margin-top: 17.5rem;
font-size: 3.125rem;
}
.introduction h3 {
margin-top: 1.25rem;
font-size: 1.563rem;
}

.introduction .button {
color: white;
text-align: center;
margin-top: 1.563rem;
}



.halfbutton {
background-color: #E0633A;
border: none;
color: white;
padding: 15px 32px;
text-align: center;
text-decoration: none;
display: inline-block;
font-size: 16px;
margin: 4px 2px;
cursor: pointer;
border-radius: 4px;
}



.middlenav, .coffee, .admit {
display: block;
padding: 25px;
margin: 35px;
align-items: center;
text-align: center;
}

.karma {
text-align: center;
margin-bottom: 10px;
}
.table {
display: flex;
justify-content: center;
}
a {
text-decoration: none;
color: #333333;
}
.images {
height: 50px;
width: 50px;
}
/* footer for both */

.socials {
align-items: center;
justify-content: center;
text-align: center;
color: #838994;


}
input[name="optradio"] {
accent-color: rgb(214, 78, 25);

}
.inc {
text-align: center;
font-size: 0.8rem;
color: #838994;
}
/* footer for both */

.storefooter {
position: relative;
bottom: 0;
margin-left: 45%;
margin-right: 45%;
}

/* middle section for index */
.quote {
color: #ce1616;
}
.qoute2 {
color: #ce1616
}
.bigcontainer qoute col-6 {
background-color: #DE6E49;

}
.btn {
background-color: #E0633A;
color: white;
}

.firstGrid {
display: grid;
grid-column: 10% 30% 10% 50%;


}

.mainGrid{
display: grid;
grid-template-columns: 10% 30% 10% 50%;

}

.LHS{
grid-column: 2/3;
/* grid-row: 1/2; */

}
.LHS h3 {
color: #DE6E49;
margin-top: 10rem;
}
.radios {
margin-top: 2.5rem;
}
.form-check {
margin-top: 5.5rem;
}
.qouteall {
grid-column: 2/5;
margin-top: 10rem;
justify-items: center;
margin-left: 7.5rem;
font-weight: 400;
justify-content: stretch;
}

.RHS {
grid-column: 4/5;

}

.rhsImage{

background-size: cover;
width: 100%;
height: 100%;
}
.endbutton {
background-color: #E0633A;
color: white;
padding: 12px 25px;
}

/**
Expand Down
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.
2 changes: 1 addition & 1 deletion img/icon-refill.svg
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/store-image_by-andrew-neel-unsplash.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
90 changes: 85 additions & 5 deletions index.html
Original file line number Diff line number Diff line change
@@ -1,19 +1,99 @@
<!DOCTYPE html>
<html lang="en">
<header></header>

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

could you remove this because it is useless

<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://cdn.jsdelivr.net/npm/bootstrap@5.2.0/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-gH2yIJqKdNHPEq0n4Mqa/HGKIhSkIHeL5AyhkYV8i59U5AR6csBvApHHNl/vI1Bx" crossorigin="anonymous">
<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 class="topnav">
<div class="content">
<ul class="link">
<li class="active"><a href="index.html">Meet Karma</a></li>
<li>How it Works</li>
<li><a href="store.html">Store</a></li>
<li>Blog</li>
<li>Help</li>
<li>Log in</li>
</ul>
<img class="logo" src="img/karma-logo.svg" alt="karma-logo" width="26"/>
</div>
</nav>
<section class="introduction">
<div class="intro">

<h1>Introducing Karma</h1>
<h3>Bring your wifi with you, everywhere you go</h3>

<!-- 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 -->
<div class="button">
<button class="halfbutton">Learn More</button>
</div>
</div>
</section>
<section class="device">
<div class="karma">

<h2>Everyone needs a little Karma</h2>
</div>

<div class="table">
<div class="middlenav">
<img class="images" src="/img/icon-devices.svg" alt="icon-devices">
<p>Internet for all</p>
</div>
<div class="coffee">
<img class="images" src="/img/icon-coffee.svg" alt="icon-coffee">
<p>Boost your productivity</p>
</div>
<div class="admit">
<img class="images" src="/img/icon-refill.svg" alt="icon-refill">
<p>Pay as you go</p>
</div>
</div>

</section>

<main>
<section>

</body>

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

I think it extra tage

</html>

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

extra tag

<div class="firstGrid">

<div class="homepage">
<img src="img/homepage-feature.png" alt="Home">
</div>

<div class="qouteall">
<p>
<i><span class="quote">"</span>Wherever I am, I just don’t </br>worry about my connection </br> anymore!<span class="qoute2">"</span></i>
</p>
<button class="btn">Get Karma today</button>
</div>

</div>
</section>
</main>

<footer class="inc storefooter">

<section class="never">
<div class="socials">
<p>Join us on</p>


<img src="/img/twitter-icon.svg" alt="twitter icon" width="30" height="30">
<img src="/img/facebook-icon.svg" alt="facebook icon" width="30" height="30">
<img src="/img/instagram-icon.svg" alt="instagram icon" width="30" height="30">

</div>
</section>

<p>@Karma Mobility,Inc</p>
</footer>
</body>
</html>
Loading