Skip to content

Commit fc92244

Browse files
committed
commit
1 parent cff93eb commit fc92244

File tree

2 files changed

+63
-31
lines changed

2 files changed

+63
-31
lines changed

css/style.css

Lines changed: 25 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -74,27 +74,48 @@ ul{display: flex;
7474
/* body second section */
7575
#second-one-headline{
7676
border: 1px solid black;
77-
height: 50vh;
77+
height: 45vh;
7878

7979
}
8080
#second-one-headline, p{
8181
text-align: center;
8282
font-size: 1rem;
8383
font-weight: normal;
84+
8485
}
8586
/* body- second section - article */
8687
#second-one-description{
8788
display: flex;
8889
flex-direction:row;
89-
justify-content: space-between;
90+
justify-content: center;
91+
gap: 20px;
9092
padding-top:2%;
9193
padding-left: 5%;
9294
padding-right: 5%;
95+
border-bottom: 1px solid lightgrey;
9396
}
9497
.secondOneArticle{
9598
border: 1px solid black;
96-
height:10%;
97-
width: 30%;
99+
height: 10%;
100+
width: 15%;
101+
margin-bottom: 2%;
102+
font-size: 10px;
98103
}
104+
/* footer */
105+
106+
107+
.footer-icon{
108+
height: 5%;
109+
width: 5%;
110+
display: block;
111+
112+
}
113+
#footer{
114+
display: flex;
115+
flex-direction: row;
116+
justify-content: center;
117+
118+
119+
}
99120

100121

index.html

Lines changed: 38 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,25 @@
11
<!DOCTYPE html>
22
<html lang="en">
3+
34
<head>
45
<meta charset="UTF-8">
56
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
67
<title>Karma</title>
78
<link href='https://fonts.googleapis.com/css?family=Roboto:400,500,300' rel='stylesheet' type='text/css'>
89
<link rel="stylesheet" href="css/normalize.css">
910
<link rel="stylesheet" href="css/style.css">
10-
<link rel="shortcut icon" type="image/x-icon" href="favicon.ico">
11+
<link rel="shortcut icon" type="image/x-icon" href="favicon.ico">
1112
</head>
13+
1214
<body>
1315

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

1820

19-
<header>
20-
<img id="karmalogo" src="img/karma-logo.svg" alt="karma-logo">
21+
<header>
22+
<img id="karmalogo" src="img/karma-logo.svg" alt="karma-logo">
2123
<nav>
2224
<ul>
2325
<li>Meet Karma</a></li>
@@ -32,38 +34,46 @@
3234

3335
<main>
3436
<section id="firstOne">
35-
<article>
37+
<article>
3638
<h1>Introducing Karma</h1>
3739
<h2>Bring WiFi with you, everywhere you go</h2>
3840
<button id="submit-btn" name="submit"> Learn More </button>
3941
</article>
4042
</section>
4143

42-
<section id="second-one-headline">
43-
<h2> Everyone needs a little Karma </h2>
44-
45-
<section id="second-one-description">
46-
<article class="secondOneArticle">
47-
<img src="img/icon-devices.svg" alt="icon-devices">
48-
<p> Internet for all icon-devices</p>
49-
</article>
44+
<section id="second-one-headline">
45+
<p> Everyone needs a little Karma </p>
46+
47+
<section id="second-one-description">
48+
<article class="secondOneArticle">
49+
<img src="img/icon-devices.svg" alt="icon-devices">
50+
<p> Internet for all icon-devices</p>
51+
</article>
52+
53+
<article class="secondOneArticle">
54+
<img src="img/icon-coffee.svg" alt="icon-coffee">
55+
<p> Boost your productivity</p>
56+
</article>
57+
<article class="secondOneArticle">
58+
<img src="img/icon-refill.svg" alt="icon-refills">
59+
<p> Pay as you go</p>
60+
</article>
61+
</section>
5062

51-
<article class="secondOneArticle">
52-
<img src="img/icon-coffee.svg" alt="icon-coffee">
53-
<p> Boost your productivity</p>
54-
</article>
55-
<article class="secondOneArticle">
56-
<img src="img/icon-refill.svg" alt="icon-refills">
57-
<p> PAy as you go</p>
58-
</article>
59-
60-
</section>
6163
</section>
64+
6265
<footer>
63-
<p> Join us on</p>
64-
<img src="" alt="twitter">
65-
<img src="" alt="facebook">
66-
<img src="" alt="instagram">
66+
<div>
67+
<p> Join us on</p>
68+
69+
<div id="footer">
70+
<img class="footer-icon"src="img/twitter-icon.svg" alt="twitter">
71+
<img class="footer-icon"src="img/facebook-icon.svg" alt="facebook">
72+
<img class="footer-icon"src="img/instagram-icon.svg" alt="instagram">
73+
</div>
74+
</div>
75+
76+
6777
<p>@Karma Mobility Inc.</p>
6878
</footer>
6979

@@ -76,4 +86,5 @@ <h2> Everyone needs a little Karma </h2>
7686
</main>
7787

7888
</body>
79-
</html>
89+
90+
</html>

0 commit comments

Comments
 (0)