-
Notifications
You must be signed in to change notification settings - Fork 0
/
challange.html
79 lines (52 loc) · 2.09 KB
/
challange.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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/>
<title>Dive Book - Home</title>
<meta name="description" content="The place Divers go to meet"/>
<meta name="author" content="up730418"/>
<link rel="stylesheet" href="main.css"/>
</head>
<body>
<div id = "topbar">
<!--<img src="logo.jpg" >-->
<input type="text" name="test" placeholder="Search" onkeyup="popularChallangeSearch(this.value)">
<button onclick="window.location='home.html';"> Home </button>
<button onclick="window.location='diveLogs.html';"> Logs</button>
<button onclick="window.location='sites.html';"> Dive Sites</button>
<button onclick="window.location='kit.html';"> Kit</button>
<button onclick="window.location='challanges.html';"> Challenges </button>
<button onclick="logOut()"> Logout</button>
</div>
<div id="challangeName">
</div>
<div id="challangeImages">
</div>
<div id = "like">
</div>
<div id = "challangeStatus">
</div>
<div id="challangeDescription">
<h2> Description</h2>
<p id="challangeDescriptionText"> </p>
</div>
<div id="challangeComments">
<h2> Comments </h2>
<div id="comments">
<div id="addPost">
<form id="inputs" onsubmit="addComment()">
<input type="text" name="comment" placeholder="Enter your update">
<input type="button" onclick="addComment()" value="submit" >
</form>
<!-- <button id ="one" onclick="newDiv()"> Submit </button> -->
</div>
<div id="post"></div>
</div>
</div>
</body>
<script src="js/checkLogin.js"> </script>
<script src="js/getData.js"> </script>
<script src="js/addData.js"> </script>
<script src = "js/comments.js"> </script>
<script src="js/challange.js"> </script>
</html>