-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
54 lines (48 loc) · 2.33 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
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Qmeme</title>
<link rel="apple-touch-icon" sizes="180x180" href="favicon_io/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="favicon_io/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="favicon_io/favicon-16x16.png">
<link rel="manifest" href="favicon_io/site.webmanifest">
<!--3rd party libraries-->
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.0-beta2/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-BmbxuPwQa2lc/FVzBcNJ7UAyJxM6wuqIj61tLrc4wSX0szH/Ev+nYRRuWlolflfl" crossorigin="anonymous">
<link rel="stylesheet" href="css/style.css">
<script src="https://code.jquery.com/jquery-3.5.1.js" integrity="sha256-QWo7LDvxbWT2tbbQ97B53yJnYU3WhH/C8ycbRAkjPDc=" crossorigin="anonymous"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<script defer type="text/javascript" src="./app/validate.js"> </script>
</head>
<body>
<h1 class='hod'>MemeStream</h1>
<div class='up'>
<form name="Form" action='https://qmeme-project.herokuapp.com/memes' onsubmit="return validateForm()" method='POST' >
<div class="form-floating">
<input name ='name'type="text" class="form-control" id="fname" placeholder="Name">
<label for="fname">Enter Your Name </label>
</div>
<br>
<div class="form-floating">
<textarea name ='caption' class="form-control" placeholder="Leave a comment here" id="ftarea"></textarea>
<label for="ftarea">Comments</label>
</div>
<br>
<div class="form-floating ">
<textarea name ='url' class="form-control" placeholder="URL" id="furl"></textarea>
<label for="furl">Enter the url</label>
</div>
<br>
<button type="submit" class='btn btn-success' value='submit'>Submit</button>
</form>
</div>
<hr>
<div id="content"></div>
<script src="./app/all-posts.js"></script>
<script>
loadPosts()
</script>
</body>
<script defer src="https://rawgit.com/leizongmin/js-xss/master/dist/xss.js"></script> <!-- XSS ATTACC PREVENTION-->
</html>