-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
86 lines (82 loc) · 3.61 KB
/
Copy pathindex.html
File metadata and controls
86 lines (82 loc) · 3.61 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Cuda | Home</title>
<link rel="stylesheet" href="src/css/main.css">
<link
href="https://fonts.googleapis.com/css?family=Titillium+Web:200,200italic,300,300italic,regular,italic,600,600italic,700,700italic,900"
rel="stylesheet" />
</head>
<body>
<div class="nav">
<nav>
<div class="hamburger-menu">
<input id="menu__toggle" type="checkbox" />
<label class="menu__btn" for="menu__toggle">
<span></span>
</label>
<span class="logo">
<img src="src/images/logo.png" alt="brand">
</span>
<ul id="navMain">
<li><a class="navitem active" href="#">Home</a></li>
<li><a class="navitem" href="#">About</a></li>
<li><a class="navitem" href="#">Work</a></li>
<li><a class="navitem" href="#">Blog</a></li>
<li><a class="navitem" href="#">Contact</a></li>
</ul>
</nav>
</div>
<div class="siteWrapper">
<section class="hero-section">
<div class="card1">
<h2>Hi there! We are the new kids on the block
and we build awesome websites and mobile apps.</h2>
<a href="#" class="btn_1">Work With Us!</a>
</div>
</section>
<section class="base-section">
<div class="card2">
<h2>GET IN TOUCH</h2>
<hr>
</hr>
<p>1600 Pennsylvania Ave NW, Washington, DC 20500, United States of America. Tel: <a
href="tel:(202) 456-1111">(202) 456-1111</a>
</p>
<form action="" method="" class="contact_form">
<div class="inp">
<input type="text" name="username" id="uname" placeholder="Your Name*">
<input type="email" name="email" id="email" placeholder="Your Email*">
</div>
<textarea name="message" placeholder="Your Message*"></textarea>
<button class="btn_2" type="submit">SEND MESSAGE</button>
</form>
</div>
</section>
</div>
<footer class="footer-section">
<div class="social_links">
<a href="http://facebook.com" target="_blank" rel="noopener noreferrer">Facebook</a>
<a href="http://twitter.com" target="_blank" rel="noopener noreferrer">Twitter</a>
<a href="http://myaccount.google.com" target="_blank" rel="noopener noreferrer">Google+</a>
<a href="http://linkedin.com" target="_blank" rel="noopener noreferrer">LinkedIn</a>
<a href="http://behance.com" target="_blank" rel="noopener noreferrer">Behance</a>
<a href="http://dribbble.com" target="_blank" rel="noopener noreferrer">Dribble</a>
<a href="http://github.com" target="_blank" rel="noopener noreferrer">GitHub</a>
</div>
</footer>
</body>
<script>
var header = document.getElementById("navMain");
var btns = header.getElementsByClassName("navitem");
for (var i = 0; i < btns.length; i++) {
btns[i].addEventListener("click", function () {
var current = document.getElementsByClassName("active");
current[0].className = current[0].className.replace(" active", "");
this.className += " active";
});
}
</script>
</html>