-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
88 lines (80 loc) · 2.82 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
<!DOCTYPE html>
<html lang="eng">
<head>
<meta charset="utf-8">
<meta name="viewpoint" content="width=device-width, initial-scale=1">
<title>StackOverflow-Lite</title>
<!-- Link to font awesome icons-->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<!--Links to our main css-->
<link rel="stylesheet" type="text/css" href="css/main.css">
<!--Link to javascript file-->
<script src="js/main.js"></script>
</head>
<body>
<div>
<nav class="navbar" id="myNavbar">
<a href="index.html"><img src="" height="60">StackOverflow-Lite - Home</a>
<a href="newquestion.html" id="login">Ask Question</a>
<a href="register.html" id="login">Sign up</a>
<a href="login.html" id="register">Log in</a>
<a href="javascript:void(0)" class="icon" onclick="toogleMenu()"><i class="fa fa-bars"></i></a>
</nav>
</div>
<div class="main">
<div class="header">
<h1>Welcome to StackOverFlow-Lite</h1>
<h4>Ask questions and learn! </h4>
</div>
<br>
<div class="questioncard">
<h3>How to install python on windows 7</h3>
<p>I want to work on apython project but i cannot figure out how to install python on win 7</p><br>
<a href="#" id="greenbutton">Answer</a><br><br>
</div>
<br>
<div class="questioncard">
<h3>How to install python on windows 7</h3>
<p>I want to work on apython project but i cannot figure out how to install python on win 7</p><br>
<a href="#" id="greenbutton">Answer</a><br><br>
</div>
<br>
<div class="questioncard">
<h3>How to install python on windows 7</h3>
<p>I want to work on apython project but i cannot figure out how to install python on win 7</p><br>
<a href="#" id="greenbutton">Answer</a><br><br>
</div>
<br>
<div class="questioncard">
<h3>How to install python on windows 7</h3>
<p>I want to work on apython project but i cannot figure out how to install python on win 7</p><br>
<a href="#" id="greenbutton">Answer</a><br><br>
</div>
<br>
<!-- <div class="questioncard">
<h3>Pizza $9.99</h3>
<img src="static/pizza.jpg"><br>
<p>Have a taste of our delicous food</p><br>
<a href="#" id="greenbutton">Order</a><br><br>
</div>
<br>
<div class="questioncard">
<h3>Pizza $9.99</h3>
<img src="static/pizza.jpg"><br>
<p>Have a taste of our delicous food</p><br>
<a href="#" id="greenbutton">Order</a><br><br>
</div> -->
</div>
</body>
</html>
<!-- This function toggles the class of myNavbar between adding and removing the responsive class -->
<script type="text/javascript">
function toogleMenu() {
var x = document.getElementById("myNavbar");
if (x.className === "navbar") {
x.className += " responsive";
} else {
x.className = "navbar";
}
}
</script>