Skip to content
Open
Show file tree
Hide file tree
Changes from 3 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
}
File renamed without changes
224 changes: 224 additions & 0 deletions css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,232 @@
body {
font-family: 'Roboto', sans-serif;
-webkit-font-smoothing: antialiased;
margin: 0px;
padding: 0px;
}
/*Header*/
.header{background-color: rgb(248, 248, 248);}
.karam-logo{
width: 30px;
margin-left: 4em;
}
.nav{display: flex;
float: right;
margin-right: 3em;}

.nav-link {text-decoration: none;
color: black;
padding-left: 2em;}

.nav-item{
display: inline;
list-style-type: none;
}
.nav-link:hover{color: orangered;}
/*hero*/
.hero{
padding: 200px;
background-size: cover;
background-image: url("/img/first-background.jpg");
}
.hero h1{
margin-left: 340px;
color:white;
}
.hero p{
margin-left: 280px;
font-size: 20px;
margin-top: 0px;
color:white;}

.hero-button{
margin-left: 25em}
/*hero-button and article-button*/
.hero-button, .article-button{
padding: 0.4em 1em;
border-style: none;
border-radius: 2px;
background-color: orangered;
color: white;
}

.hero-button:hover{
background-color: white;
color: orangered;
}
/*icon*/

.section{
margin-top: 80px;}
.section-p{
font-size: 38px;
text-align: center;

}
.icon-imag{
margin-left: 3em;
width: 100px;}
.icon-discribtion{
font-size: 20px;
}
.section-icon{
display: flex;
padding-left: 7em;

}
.section-icon div{
padding-left: 7em;
padding-bottom: 3em;

}
.homepage-img{
max-width: 100%;
max-height: 100%;}
.article{
display: flex;
align-items: center;
background-color: rgb(245, 220, 224);

}
.article-p {

}

.article-quote{
font-size: 30px;
font-style: italic;
padding-left: 2.5em;
color: rgb(31, 31, 31);
text-align: center;
}
.article-button{

margin-left: 12em;
}
.article-button:hover{
background-color: white;
color: orangered;}
/*footer*/
.social-media-icon{
border: 1px solid rgb(118, 118, 118);
padding: 5px;
width: 30px;
border-radius: 25px;
margin-left: 7px;
cursor: pointer;
}

footer h3{
text-align: center;

}
footer p{
color: rgb(118, 118, 118);
text-align: center;
}


/*Store*/


/*section*/

/*Nameiput*/
#karam-logo{
margin-left: 8em;
}

.form-name{
padding: 0.5em;
margin-bottom: 2em;
margin-top: 0.5em;
border: 1.5px solid rgb(118, 118, 118);
border-radius: 3px;
}


.form-section h2 {
color: rgb(230, 73, 16);
}
.name-div{
display: flex;
}
#name-div{
margin-top: 2em;
}
.lastname-div
{ margin-left: 1.5em;}

/*address input*/

.address{
padding: 0.5em 8em ;
border: 1.5px solid rgb(108, 106, 106);
border-radius: 3px;
}

.address2-div{
margin-top: 2em;
}
.colorselct-p{
margin-bottom: 7px;
color: rgb(118, 118, 118);
}
.ch_color{
accent-color: red;
}
.cheakbox-section{
margin-top: 1.5em;
}
.cheakbox-link{
color: orangered;
}

.store-img{
width: 500px;
height: 650px;
margin-left: 50px;
}

.img-section
{
margin-left: 12em;
}




.section-flex
{ display: flex;
margin-left: 135px;
border-bottom: 1.2px solid rgb(212, 201, 201);
}
#placeorder-button{
margin-top: 1em;
margin-bottom: 2em;
padding: 10px 20px;
background-color: rgb(208, 66, 14);
border-style: none;
color: white;
font-size: 1em;
border-radius: 3px;
margin-left: 1em;
cursor: pointer;
}

#placeorder-button:hover{
background-color: white;
color: rgb(208, 66, 14);
}






.cheakbox{
padding: 60px;
}
/**
* Add your custom styles below
*
Expand Down
86 changes: 85 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,99 @@
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="viewport" content="width=device-width, initial-scale=1.0, 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>
<header class="header">
<img class="karam-logo" src="img/karma-logo.svg" alt="picture of karam logo">
<nav class="nav">
<ul class="nav-list">

<li class="nav-item">
<a class="nav-link" href="#">Meet Karma</a> </li>
Copy link

Choose a reason for hiding this comment

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

This should be in black, while the other links should be in grey


<li class="nav-item">
<a class="nav-link" href="#">How it Works </a> </li>

<li class="nav-item">
<a class="nav-link" href="store.html">Store</a> </li>

<li class="nav-item">
<a class="nav-link" href="#">Blog</a> </li>

<li class="nav-item">
<a class="nav-link" href="#">Help</a> </li>

<li class="nav-item">
<a class="nav-link" href="#">Login</a> </li>
</ul>
</nav>

</header>

<main>
<div class="hero">
<div>
<h1>introducing Karma</h1>
<p>Bring WiFi with you, everywhere you go.</p>
<button class="hero-button">Learn More</button>

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

<section class="section">
<p class="section-p">Everyone needs a little Karma.</p>

<div class="section-icon">
<div>
<img class="icon-imag" src="img/icon-devices.svg" alt="device picture">
<p class="icon-discribtion">internet for all devices</p>
</div>

<div>
<img class="icon-imag" src="img/icon-coffee.svg" alt="icon coffee picture">
<p class="icon-discribtion">Boost your productivity</p>
</div>

<div>
<img class="icon-imag" src="img/icon-refill.svg" alt="icon coffee picture">
<p class="icon-discribtion">Pay as You Go </p>
</div>
</div>

<article class="article">
Copy link

@bunday bunday Oct 5, 2023

Choose a reason for hiding this comment

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

This section also have issue with justify-content: center

<div class="article-img">
<img class="homepage-img" src="level-2/homepage-feature.png" alt="">
</div>

<div class="article-p">
<p class="article-quote"> <spam style="color: rgb(224, 69, 13); ">&#8220;</spam> Whenever i am, i just don't<br> worry about my connection</br>
anymore! <spam style="color: rgb(224, 69, 13); ">&#8221;</spam></p>



<button class="article-button">Get Karma today</button>

</div>

</article>
</section>

<footer>
<h3>Join us on</h3>
<center>
<img class="social-media-icon" src="img/twitter-icon.svg" alt="twitter icon">
<img class="social-media-icon" src="img/facebook-icon.svg" alt="facebook icon">
<img class="social-media-icon" src="img/instagram-icon.svg" alt="instagram icon">
</center>
<P>@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