-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaddBlog.html
175 lines (85 loc) · 3.31 KB
/
addBlog.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
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Your Blog</title>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Inter:[email protected]&display=swap" rel="stylesheet">
<link rel="stylesheet" href="addBlog.css">
<link rel="stylesheet" href="./mobile.css">
<link rel="stylesheet" href="InputMobile.css">
</head>
<body>
<header>
<div class="logo-mob">
<img src="logo-blink.png" />
<h3>BlinkBlog</h3>
</div>
<div class="toggle-btn-mob">
<input type="checkbox" id="checkbox-mob">
<label for="checkbox" class="label-mob">
<span class="toggle-ball-mob"></span>
</label>
</div>
<nav class="container1">
<div class="logo">
<img src="logo-blink.png" />
<h1> BlinkBlog </h1>
</div>
<ul>
<a href="./index.html">
<li>Home</li>
</a>
<a href="./blog.html">
<li>Blog</li>
</a>
<a href="./about.html">
<li>About Us</li>
</a>
<a href="./contact.html">
<li>Contact us</li>
</a>
<div class="toggle-btn">
<input type="checkbox" id="checkbox">
<label for="checkbox" class="label">
<span class="toggle-ball"></span>
</label>
</div>
</ul>
</nav>
</header>
<hr/>
<div class="main">
<div id="addBlogSection">
<h2 id="h-2">Add Your Blog</h2>
<form id="blogForm">
<div class=" text-input title">
<label for="blogTitle">Title:</label>
<input type="text" id="blogTitle" required>
</div>
<div class=" text-input author">
<label for="authorName">author:</label>
<input type="text" id="authorName" required>
</div>
<div class="text-input content">
<label for="blogContent">Content:</label>
<textarea id="blogContent" required></textarea>
</div>
<button type="button" id="add-btn" onclick="addBlog()">Add Blog</button>
</form>
</div>
</div>
<hr/>
<div id="show-section">
<div id="showBlogsSection">
<h2>Your Blogs : </h2>
<div id="blogsContainer">
</div>
</div>
</div>
<script src="./operations.js"></script>
<script src="./app.js"></script>
</body>
</html>