-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathindex.html
123 lines (122 loc) · 3.93 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 http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<script defer src="assets/js/index.js"></script>
<script defer src="assets/js/events.js"></script>
<script defer src="assets/js/count.js"></script>
<link rel="stylesheet" type="text/css" href="assets/css/style.css" />
<script
src="https://kit.fontawesome.com/2021b518c4.js"
crossorigin="anonymous"
></script>
<link
rel="apple-touch-icon"
sizes="180x180"
href="assets/images/favicon/apple-touch-icon.png"
/>
<link
rel="icon"
type="image/png"
sizes="32x32"
href="assets/images/favicon/favicon-32x32.png"
/>
<link
rel="icon"
type="image/png"
sizes="16x16"
href="assets/images/favicon/favicon-16x16.png"
/>
<link
rel="stylesheet"
type="text/css"
href="assets/css/media-queries.css"
/>
<!-- <link rel="manifest" href="/site.webmanifest" /> -->
<title>Blogue</title>
</head>
<body>
<header>
<h1>BLOGUE</h1>
</header>
<h2>A Community of Overthinkers</h2>
<div class="button">
<button
class="navigate"
onClick="document.getElementById('post').scrollIntoView();"
>
Make a Post
</button>
<button
class="navigate"
onClick="document.getElementById('entries').scrollIntoView();"
>
See All Posts
</button>
</div>
<div id="post">
<h3>WHAT'S ON YOUR MIND?</h3>
<form id="new-post-form">
<label for="subject">SHARE YOUR <span id="spin"></span></span></label
><br /><br />
Subject:
<input
type="text"
name="subject"
id="subject"
maxlength="100"
required
/>
<div id="subjectCount">0/100</div>
<br />
<textarea
placeholder="What's on your mind?..."
id="journalInput"
name="journalInput"
rows="7"
cols="80"
maxlength="1000"
required
></textarea
><br />
<div id="inputCount">0/1000</div>
<div id="gifSection">
<label for="giphy">Gif Search</label>
<input
id="giphy"
name="giphy"
type="search"
placeholder="Type in a keyword and click Add GIF to preview (optional)"
/>
<button
onclick="sendApiRequest()"
id="gif-button"
type="button"
>
Add GIF</button
><br />
<div id="gifContainer">
<img id="gifPreview" src="" />
</div>
</div>
<br /><br />
<button class="submit" type="submit">SUBMIT</button>
</form>
</div>
<div id="entries">
<h3>WHAT'S EVERYONE THINKING?</h3>
<div id="postsContainer"></div>
</div>
<div id= "backButton"></div>
<button
class="backToTop"
onClick="document.querySelector('h1').scrollIntoView();"
>
Back to top
</button>
</div>
</body>
</body>
</html>