-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
55 lines (42 loc) · 1.54 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
<title>My First Blog</title>
<link rel="stylesheet" href="./assets/css/styles.css" />
<link rel="stylesheet" href="./assets/css/form.css" />
<script defer src="./assets/js/logic.js" type="text/javascript"></script>
<script defer src="./assets/js/form.js" type="text/javascript"></script>
</head>
<body class="dark">
<!-- TODO: Create landing page elements to match the mock-up provided. At the very least, include the following elements. -->
<!-- A form element that contains the following: -->
<header>
<h1></h1>
<button id="toggle">🌙</button>
</header> <!--🌙☀️-->
<main>
<aside>
<h2>My First Blog</h2>
</aside>
<section>
<form id="form">
<label for="username">Username</label>
<input type="text" id="username" />
<label for="title">Title</label>
<input type="text" id="title" />
<label for="content">Content</label>
<textarea name="content" id="content"></textarea>
<p id="error"></p>
<button type="submit" id="submit">Submit</button>
</form>
</section>
</main>
<!-- done An input element whose label and id are `username` -->
<!-- done An input element whose label and id are `title` -->
<!-- done A textarea element whose label and id are `content` -->
<!-- done A p element whose id is `error` -->
</body>
</html>