-
Notifications
You must be signed in to change notification settings - Fork 23
/
index.html
88 lines (85 loc) · 2.91 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
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport">
<title>Document</title>
<style>
body { font-family: malgun gothic, serif; }
* { margin: 0; padding: 0; }
ul, li { list-style: none }
input, button, textarea, select { vertical-align: middle; font-size: 13px; box-sizing: border-box; cursor: pointer }
button[type="submit"] { background: #09F; }
input { border: 1px solid #bebebe; height: 30px; border-radius: 3px; padding: 0 10px; }
button { background: #aaa; color: #FFF; border: none; height: 30px; width: 60px; border-radius: 3px; }
main { width: 1000px; margin: 0 auto }
fieldset { border: none; }
#app > h1 { text-align: center; padding: 20px 0;}
#app > form { border: 1px solid #ddd; padding: 30px; }
#app > ul { border: 1px solid #ddd; padding: 30px; margin-top: 20px; background: #fefefe;}
#app > ul li { display: flex; align-items: center; padding: 20px; border-bottom: 1px solid #ddd; }
#app > ul li button { margin-left: 5px; }
</style>
</head>
<body>
<main id="app">
<h1>📃 TodoList</h1>
<form name="appenderForm" action="" method="post">
<fieldset>
<legend hidden>TodoList Form</legend>
<label>
<span hidden>아이템 추가</span>
<input type="text" size="40" placeholder="Todo Item 내용을 입력해주세요">
</label>
<button type="submit">전송</button>
</fieldset>
</form>
<ul>
<!-- 완료된 아이템 -->
<li>
<p style="color: #09F">
1주차: Todo List 만들기
</p>
<button type="button">취소</button>
<button type="button">수정</button>
<button type="button">삭제</button>
</li>
<!-- / 완료된 아이템 -->
<!-- 수정 중인 아이템 -->
<li>
<form name="modifierForm" action="">
<fieldset>
<legend hidden>아이템 수정</legend>
<label>
<span hidden>아이템 수정</span>
<input type="text" value="2주차: 번들러 조사 및 적용" size="40">
</label>
<button type="submit">완료</button>
<button type="button">취소</button>
</fieldset>
</form>
</li>
<!-- / 수정 중인 아이템 -->
<!-- 아이템의 기본 상태들 -->
<li>
<p>
3주차: node.js + express.js + REST API + ajax
</p>
<button type="button">완료</button>
<button type="button">수정</button>
<button type="button">삭제</button>
</li>
<li>
<p>
4주차: 배포하기
</p>
<button type="button">완료</button>
<button type="button">수정</button>
<button type="button">삭제</button>
</li>
<!-- / 아이템의 기본 상태들 -->
</ul>
</main>
<script src="./src/main.js" defer></script>
</body>
</html>