-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathnew-post.html
More file actions
62 lines (62 loc) · 1.77 KB
/
new-post.html
File metadata and controls
62 lines (62 loc) · 1.77 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<title>New Post</title>
<meta name="description" content="" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="stylesheet" href="style/style.css" />
<link rel="stylesheet" href="style/new-post.css" />
</head>
<body>
<div class="container new-post-page">
<header>
<div class="title">New Post</div>
<div class="subtext">Let's add a new blog post!</div>
</header>
<div class="main">
<div class="main-container">
<div class="navigation">
<a href="index.html">Back</a>
</div>
<div class="form-container">
<form>
<input
id="form-post-title"
type="text"
name="post-title"
placeholder="Post Title"
/>
<textarea
id="form-post-content"
name="post-content"
placeholder="Post Content"
></textarea>
<div>
<label>Choose Image</label>
<input
type="file"
name="post-image"
id="form-post-image"
accept="image/*"
/>
</div>
<button
id="form-post-submit"
type="button"
onclick="submitNewPost()"
>
Submit
</button>
</form>
</div>
</div>
</div>
<footer>
<p>Made with ❤️ by Nazariy Dumanskyy</p>
</footer>
</div>
<script src="js/new-post.js"></script>
</body>
</html>