-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
123 lines (118 loc) · 3.48 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<!-- displays site properly based on user's device -->
<link
rel="icon"
type="image/png"
sizes="32x32"
href="./images/favicon-32x32.png"
/>
<link rel="stylesheet" href="style.css" />
<title>Frontend Mentor | Intro section with dropdown navigation</title>
</head>
<body>
<nav>
<!-- logo -->
<a href="/" class="logo">
<img src="images/logo.svg" alt="company logo" />
</a>
<!-- mobile-menu-icons -->
<!-- hamburger -->
<button class="icon-menu ham">
<img src="images/icon-menu.svg" alt="open menu" />
</button>
<!-- close-menu -->
<img
src="images/icon-close-menu.svg"
alt="close menu"
class="icon-menu close-menu"
/>
<!-- desktop nav -->
<div class="desktop-nav">
<!-- first menu-item -->
<div class="dropdown">
<div class="menu-item">
Features
<img
src="images/icon-arrow-down.svg"
alt="arrow down"
class="dropbtn"
/>
</div>
<div class="dropdown-content">
<a href="#"><img src="images/icon-todo.svg" alt="" />TodoList</a>
<a href="#"
><img src="images/icon-calendar.svg" alt="" />Calendar</a
>
<a href="#"
><img src="images/icon-reminders.svg" alt="" />Reminders</a
>
<a href="#"
><img src="images/icon-planning.svg" alt="" />Planning</a
>
</div>
</div>
<!-- second menu-item -->
<div class="dropdown">
<div class="menu-item">
Company
<img
src="images/icon-arrow-down.svg"
alt="arrow down"
class="dropbtn"
/>
</div>
<div class="dropdown-content">
<a href="#">History</a>
<a href="#">Our Team</a>
<a href="#">Blog</a>
</div>
</div>
<!-- third menu-item -->
<div class="menu-item"><a href="#">Careers</a></div>
<!-- forth menu-item -->
<div class="menu-item"><a href="#">About</a></div>
<div class="nav-btns">
<a href="#">Login</a>
<a href="#">Register</a>
</div>
</div>
<!-- desktop-nav -->
<!-- mobile-overlay -->
<div class="overlay"></div>
<!-- overlay -->
</nav>
<!--------------
hero-section
-------------->
<div class="hero">
<div class="hero-text">
<h1>Make <br />remote work</h1>
<p>
Get your team in sync, no matter your location. Streamline processes,
create team rituals, and watch productivity soar.
</p>
<button>Learn more</button>
<div class="brand-logos">
<img src="images/client-audiophile.svg" alt="" />
<img src="images/client-databiz.svg" alt="" />
<img src="images/client-maker.svg" alt="" />
<img src="images/client-meet.svg" alt="" />
</div>
</div>
<!-- /hero-text -->
<div class="img-container">
<img
src="images/image-hero-desktop.png"
alt="desktop image"
class="hero-img"
/>
</div>
</div>
<!-- hero -->
<script src="script.js"></script>
</body>
</html>