-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathindex.html
More file actions
99 lines (95 loc) · 3.33 KB
/
index.html
File metadata and controls
99 lines (95 loc) · 3.33 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
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
<!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" />
<title>Document</title>
</head>
<body>
<main id="container">
<h1 class="title">🐷 가계부</h1>
<!-- 현재 자산 start -->
<div class="current-asset">
<div class="current-asset-row c-container-price">
<label class="current-asset-label">현재 자산</label>
<div class="current-asset-value-wrapper">
<p class="v-show current-asset-value"></p>
<span class="v-none current-asset-loader">
<i class="fa-solid fa-circle-notch fa-spin"></i>
</span>
</div>
<input
type="number"
class="v-none current-asset-input"
placeholder="현재 자산을 등록해주세요"
/>
</div>
<span class="v-none current-asset-button-loader">
<i class="fa-solid fa-circle-notch fa-spin"></i>
</span>
<button class="c-button c-large-button current-asset-button v-none">
현재 자산 등록
</button>
</div>
<!-- 현재 자산 end -->
<!-- 소비내역 작성하기 start -->
<div class="add-item">
<button class="c-button add-item-button">➕ 소비내역 작성하기</button>
</div>
<section class="v-none add-item-detail">
<h3>소비내역 작성하기</h3>
<section class="item-section">
<label class="c-label" for="item-category">카테고리</label>
<input
class="c-input"
list="item-categories"
id="item-category"
name="item-category"
placeholder="카테고리를 선택해주세요"
required
/>
<datalist id="item-categories">
<option value="카페"></option>
<option value="편의점"></option>
<option value="식사"></option>
<option value="쇼핑"></option>
</datalist>
</section>
<section class="item-section c-container-price">
<label class="c-label" for="item-price">지출 금액</label>
<input
class="c-input"
type="number"
id="item-price"
name="item-price"
placeholder="지출금액을 입력해주세요"
min="0"
required
/>
</section>
<section class="item-section">
<label class="c-label" for="item-description">내용</label>
<input
class="c-input"
type="text"
id="item-description"
name="item-description"
required
placeholder="내용을 입력해주세요"
/>
</section>
<button class="c-button item-submit-button">등록하기</button>
</section>
<!-- 소비내역 리스트 start -->
<section class="consumption-details">
<ul class="consumption-details-list"></ul>
<span class="v-none consumption-details-loader">
<i class="fa-solid fa-circle-notch fa-spin"></i>
</span>
</section>
<!-- 소비내역 리스트 end -->
</main>
<script src="./src/js/index.js" type="module"></script>
</body>
</html>