Skip to content

Commit 5d4650d

Browse files
feat: solved 1st stage of the Hyperskill project "Amazing Prices"
1 parent 17cd682 commit 5d4650d

File tree

3 files changed

+97
-0
lines changed

3 files changed

+97
-0
lines changed

hyperskill/12_amazing_prices/01/.gitkeep

Whitespace-only changes.
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+
<title>Amazing Prices</title>
6+
<link rel="stylesheet" href="site.css">
7+
</head>
8+
<body>
9+
10+
</body>
11+
<header>
12+
<a href="index.html" id="nav-brand">Amazing Product</a>
13+
<nav>
14+
<a href="features.html" id="nav-features">Features</a>
15+
<a href="enterprise.html" id="nav-products">Enterprise</a>
16+
<a href="support.html" id="nav-support">Support</a>
17+
<a href="pricing.html" id="nav-pricing">Pricing</a>
18+
</nav>
19+
</header>
20+
<main>
21+
</main>
22+
<footer>
23+
<a href="index.html" id="footer-brand">Amazing Product</a>
24+
<a href="features.html" id="footer-features">Features</a>
25+
<a href="enterprise.html" id="footer-enterprise">Enterprise</a>
26+
<a href="pricing.html" id="footer-pricing">Pricing</a>
27+
<a href="support.html" id="footer-support">Support</a>
28+
</footer>
29+
</html>
Lines changed: 68 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,68 @@
1+
* {
2+
margin: 0;
3+
padding: 0;
4+
box-sizing: border-box;
5+
}
6+
7+
body {
8+
background-color: #FFFFFF;
9+
width: 1024px;
10+
height: 768px;
11+
margin: auto;
12+
padding: 0;
13+
}
14+
15+
a {
16+
text-decoration: none;
17+
}
18+
19+
header {
20+
color: #274867;
21+
background-color: #FFFFFF;
22+
width: 100%;
23+
height: 61px;
24+
margin: 0;
25+
padding: 0;
26+
display: flex;
27+
display-model: row;
28+
justify-content: space-between;
29+
align-items: center;
30+
border-bottom: 1px solid #017CFF;
31+
}
32+
33+
header a, footer a{
34+
font-size: 18px;
35+
color: #274867;
36+
margin: 0 20px;
37+
}
38+
39+
#nav-brand, #footer-brand {
40+
font-weight: bold;
41+
}
42+
43+
header nav ul {
44+
display: flex;
45+
display-model: row;
46+
justify-items: flex-end;
47+
align-items: center;
48+
list-style: none;
49+
margin-right: 20px;
50+
}
51+
52+
main {
53+
width: 100%;
54+
height: 100%;
55+
background: #E5F2FF;
56+
}
57+
58+
footer {
59+
color: #274867;
60+
background-color: #FFFFFF;
61+
width: 100%;
62+
height: 61px;
63+
display: flex;
64+
display-model: row;
65+
justify-content: space-between;
66+
align-items: center;
67+
border-top: 1px solid #017CFF;
68+
}

0 commit comments

Comments
 (0)