forked from woowacourse/javascript-lotto
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
152 lines (150 loc) ยท 5.53 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
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
<!DOCTYPE html>
<html lang="kr">
<head>
<meta charset="UTF-8" />
<title>๐ฑ ํ์ด์ ๋ก๋</title>
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="stylesheet" href="./src/css/index.css" />
</head>
<body>
<div id="app" class="p-3">
<div class="d-flex justify-center mt-5">
<div class="w-100">
<h1 class="text-center">๐ฑ ํ์ด์ ๋ก๋</h1>
<form class="mt-5">
<label class="mb-2 d-inline-block"
>๊ตฌ์
ํ ๊ธ์ก์ ์
๋ ฅํด์ฃผ์ธ์.
</label>
<div class="d-flex">
<input
type="number"
class="w-100 mr-2 pl-2"
placeholder="๊ตฌ์
๊ธ์ก"
/>
<button type="button" class="btn btn-cyan">ํ์ธ</button>
</div>
</form>
<section class="mt-9">
<div class="d-flex">
<label class="flex-auto my-0">์ด 5๊ฐ๋ฅผ ๊ตฌ๋งคํ์์ต๋๋ค.</label>
<div class="flex-auto d-flex justify-end pr-1">
<label class="switch">
<input type="checkbox" class="lotto-numbers-toggle-button" />
<span class="text-base font-normal">๋ฒํธ๋ณด๊ธฐ</span>
</label>
</div>
</div>
<div class="d-flex flex-wrap">
<span class="mx-1 text-4xl">๐๏ธ </span>
<span class="mx-1 text-4xl">๐๏ธ </span>
<span class="mx-1 text-4xl">๐๏ธ </span>
<span class="mx-1 text-4xl">๐๏ธ </span>
<span class="mx-1 text-4xl">๐๏ธ </span>
</div>
</section>
<form class="mt-9">
<label class="flex-auto d-inline-block mb-3"
>์ง๋ ์ฃผ ๋น์ฒจ๋ฒํธ 6๊ฐ์ ๋ณด๋์ค ๋๋ฒ 1๊ฐ๋ฅผ ์
๋ ฅํด์ฃผ์ธ์.</label
>
<div class="d-flex">
<div>
<h4 class="mt-0 mb-3 text-center">๋น์ฒจ ๋ฒํธ</h4>
<div>
<input
type="number"
class="winning-number mx-1 text-center"
/>
<input
type="number"
class="winning-number mx-1 text-center"
/>
<input
type="number"
class="winning-number mx-1 text-center"
/>
<input
type="number"
class="winning-number mx-1 text-center"
/>
<input
type="number"
class="winning-number mx-1 text-center"
/>
<input
type="number"
class="winning-number mx-1 text-center"
/>
</div>
</div>
<div class="bonus-number-container flex-grow">
<h4 class="mt-0 mb-3 text-center">๋ณด๋์ค ๋ฒํธ</h4>
<div class="d-flex justify-center">
<input type="number" class="bonus-number text-center" />
</div>
</div>
</div>
<button
type="button"
class="open-result-modal-button mt-5 btn btn-cyan w-100"
>
๊ฒฐ๊ณผ ํ์ธํ๊ธฐ
</button>
</form>
</div>
</div>
<div class="modal">
<div class="modal-inner p-10">
<div class="modal-close">
<svg viewbox="0 0 40 40">
<path class="close-x" d="M 10,10 L 30,30 M 30,10 L 10,30" />
</svg>
</div>
<h2 class="text-center">๐ ๋น์ฒจ ํต๊ณ ๐</h2>
<div class="d-flex justify-center">
<table class="result-table border-collapse border border-black">
<thead>
<tr class="text-center">
<th class="p-3">์ผ์น ๊ฐฏ์</th>
<th class="p-3">๋น์ฒจ๊ธ</th>
<th class="p-3">๋น์ฒจ ๊ฐฏ์</th>
</tr>
</thead>
<tbody>
<tr class="text-center">
<td class="p-3">3๊ฐ</td>
<td class="p-3">5,000</td>
<td class="p-3">n๊ฐ</td>
</tr>
<tr class="text-center">
<td class="p-3">4๊ฐ</td>
<td class="p-3">50,000</td>
<td class="p-3">n๊ฐ</td>
</tr>
<tr class="text-center">
<td class="p-3">5๊ฐ</td>
<td class="p-3">1,500,000</td>
<td class="p-3">n๊ฐ</td>
</tr>
<tr class="text-center">
<td class="p-3">5๊ฐ + ๋ณด๋์ค๋ณผ</td>
<td class="p-3">30,000,000</td>
<td class="p-3">n๊ฐ</td>
</tr>
<tr class="text-center">
<td class="p-3">6๊ฐ</td>
<td class="p-3">2,000,000,000</td>
<td class="p-3">n๊ฐ</td>
</tr>
</tbody>
</table>
</div>
<p class="text-center font-bold">๋น์ ์ ์ด ์์ต๋ฅ ์ %์
๋๋ค.</p>
<div class="d-flex justify-center mt-5">
<button type="button" class="btn btn-cyan">๋ค์ ์์ํ๊ธฐ</button>
</div>
</div>
</div>
</div>
<script type="module" src="./src/js/index.js"></script>
</body>
</html>