Skip to content

Commit 90c2e17

Browse files
committed
creating store page
1 parent db1aa2a commit 90c2e17

File tree

4 files changed

+43
-3
lines changed

4 files changed

+43
-3
lines changed

css/store.css

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
html{
2+
margin: 0;
3+
width: 100%;
4+
5+
}
6+
body{
7+
min-height: 100vh;
8+
display: grid;
9+
grid-template-columns: 1fr 1fr;
10+
grid-template-rows: repeat(3,auto-fill);
11+
}

css/style.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ body {
4545
display: grid;
4646
row-gap: 15px;
4747
grid-template-columns: repeat(12,minmax(1fr,auto));
48-
grid-template-rows: 10% auto 11%;
48+
grid-template-rows: 6% auto 11%;
4949
grid-template-areas:
5050
"h h h h h h h h h h h h"
5151
"m m m m m m m m m m m m"
@@ -335,7 +335,7 @@ body {
335335
width: fit-content;
336336
margin: 3px auto;
337337
text-align: center;
338-
font-size: 20px;
338+
font-size: 1em;
339339

340340
}
341341
/* -------- icon styling in footer --------------*/

index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
<a href="#" target="_blank"> How it Works </a>
2929
</li>
3030
<li>
31-
<a href="#" target="_blank"> Store </a>
31+
<a href="level-2/store.html" target="_blank"> Store </a>
3232
</li>
3333
<li>
3434
<a href="#" target="_blank"> Blog </a>

level-2/store.html

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="UTF-8">
5+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
6+
<title>Document</title>
7+
<link rel="stylesheet" href="css/normalize.css">
8+
</head>
9+
<body>
10+
<header>
11+
12+
</header>
13+
<main>
14+
<section>
15+
16+
</section>
17+
18+
<section>
19+
20+
</section>
21+
22+
</main>
23+
24+
<footer class="footer">
25+
26+
</footer>
27+
28+
</body>
29+
</html>

0 commit comments

Comments
 (0)