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
}
3 changes: 3 additions & 0 deletions Vector (1).svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
200 changes: 200 additions & 0 deletions css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,12 @@ body {
-webkit-font-smoothing: antialiased;
}

.image.png {
width: 100%;
height: 100%;
object-fit: cover;
}

/**
* Add your custom styles below
*
Expand All @@ -17,3 +23,197 @@ body {
*/


body {
padding: 0px;
margin: 0px;
text-align: center;
}

header {
display: flex;
justify-content:space-between;
}

.logo-image {
width: 20px;
height: 20px;
padding: 15px 100px;
}

a {
color: rgb(123, 123, 123);
text-decoration: none;
}

a:hover {
color: orangered;
}

.nav-text {
display: flex;
list-style: none;
gap: 30px;
margin: 15px 100px;
}

.gap-list {
width: 100px;
}

.bg-img {
background-size: cover;
width: 100%;
height: 70%;
display: flex;
z-index: -1;
}

.text-img {
top: 50%;
position: absolute;
left: 50%;
transform: translate(-50%, -50%)
}

.background-img {
position:relative;
}

h1, p {
color: white;
}

.text-img button {
background-color: orangered;
color: #fff;
justify-content: center;
align-items: center;
padding: 10px;
border-radius: 10px;
}

.section-down h1 {
justify-content: center;
}

.device-img,
.coffee-img,
.refill-img {
width: 100px;
height: 100px;
}

.section-down {
justify-content: center;
align-content: center;
display: flex;
gap: 50px;
margin-top: 50px;
}

.part-two {
color: black;
padding-top: 30px;
font-size: 30px;
font-weight: lighter;
}

.section-down h3 {
font-size: 10px;
}

.footer-img {
padding: 10px;
width: 20px;
height: 20px;
border: solid gray 1px;
border-radius: 50%;
}


h5 {
display: flex;
justify-content: center;
color: rgb(151, 150, 150);
}

.footer-wrap {
display: flex;
gap: 5px;
justify-content: center;
height: 50px;
}

hr {
background-color: lightgray;
color: lightgray;
width: 80%;
}

.footer-p-tag {
color: lightgrey;
justify-content: center;
display: flex;
font-size: 10px;
}


/* Karma design */

.karma-design{
/* width: 100%; */
display: flex;
background-color: #ffe6e6;
margin: 50px 0 20px 0;
height: 100%;
}

.img-karma{
width: 40%;
height: 100%;
object-fit: cover;
}

.karma-img{
background-color: blue;
width: 100%;
height: 100%;
object-fit: cover;
}

.karma-text{
text-align: center;
justify-content: right;
align-content: center;
width: 40%;
height: 100%;
object-fit: cover;
padding-left: 150px;
padding-top: 85px;
}

.karma-text > h4 {
justify-content: center;
font-size: 35px;
font-weight: lighter;
}

.karma-btn {
background-color: rgb(255, 111, 58);
color: white;
justify-content: center;
align-items: center;
padding: 10px;
border-radius: 10px;
border: none;
}

.karma-btn:hover {
background-color: white;
color: rgb(255, 111, 58);
border: 2px solid rgb(255, 111, 58);;
}

.quotationMarks{
color: rgb(255, 111, 58);
}
Binary file added img/checkmark.svg.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/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/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.
93 changes: 93 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,100 @@
<link rel="shortcut icon" type="image/x-icon" href="favicon.ico">
</head>
<body>
<header>
<div class="bg-img">
<img class="logo-image" src="/img/karma-logo.svg" alt="logo-img">
</div>
<ul class="nav-text">
<li class="gap-list">
<a href="store.html">Get Karma</a>
</li>
<li class="gap-list">
<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>
<li>
<a href="#">Login</a>
</li>
</ul>
</header>

<main>

<section>
<div class="background-img">
<img class="bg-img" src="/img/first-background.jpg" alt="background-img">
<div class="text-img">
<h1>Introducing karma</h1>
<p>Bring WiFi with you,everywhere you go.</p>
<button>Learn Mode</button>
</div>
</div>
</section>

<section>

<h5 class="part-two">Everyone needs a little Karma.</h5>

<div class="section-down">
<div>
<img class="device-img" src="/img/icon-devices.svg" alt="device">
<h3>Internet for all devices</h3>
</div>

<div>
<img class="coffee-img" src="/img/icon-coffee.svg" alt="coffee">
<h3>Boots your productivity</h3>
</div>

<div>
<img class="refill-img" src="/img/icon-refill.svg" alt="refill">
<h3>Pay as You Go</h3>
</div>
</div>

</section>

<!-- Karma Design -->

<section class="karma-design">

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

<div class="karma-text">
<h4><span class="quotationMarks">"</span>Wherever I am, I just don't worry about my connection anymore!<span class="quotationMarks">"</span></h4>
<button class="karma-btn">Get Karma today</button>
</div>

</section>

</main>

<hr>

<footer>

<h5>join us on</h5>

<div class="footer-wrap">
<img class="footer-img" src="/img/twitter-icon.svg" alt="twitter">
<img class="footer-img" src="/img/facebook-icon.svg" alt="facebook">
<img class="footer-img" src="/img/instagram-icon.svg" alt="instagram">
</div>

<p class="footer-p-tag">&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 -->
Expand Down
Loading