-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
60 lines (59 loc) · 2.42 KB
/
index.html
File metadata and controls
60 lines (59 loc) · 2.42 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
<html lang="ko">
<Head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>고량주</title>
<link rel="stylesheet" href="./style.css">
</Head>
<body>
<header>
<span class="title">고량주</span>
</header>
<main>
<div class="sidebar" id="sidebar">
<button type="button" class="add-button" id="addItem">추가</button>
<span>소주</span>
<span>맥주</span>
<span>샴페인</span>
<span>와인</span>
<span>럼</span>
</div>
<section class="container" id="container">
<div class="card">
<img src="./images/soju.png" alt="소주" />
<span>저는 소주를 안 좋아해요!</span>
</div>
<div class="card">
<img src="./images/beer.jpg" alt="맥주" />
<span>애플퐉스같은 맛있는 맥주가 좋아요.</span>
</div>
<div class="card">
<img src="./images/champagne.jpg" alt="샴페인" />
<span>샴페인 좋아요~ 샴페인 좋아요~</span>
</div>
<div class="card">
<img src="./images/wine.jpg" alt="와인" />
<span>와인의 매력을 아직 깨닫지 못했어요.</span>
</div>
<div class="card">
<img src="./images/rum.jpg" alt="럼" />
<span>먹어본 적이 없을 무!</span>
</div>
</section>
</main>
<div class="modal-background" id="modal">
<form class="modal" id="addItemForm">
<span class="modal-close" id="closeModal">X</span>
<label for="name" class="label">이름</label>
<input id="name" type="text" placeholder="화이트와인" class="input" maxlength="10" required/>
<label for="image" class="label">이미지</label>
<input id="image" type="text" placeholder="URL" class="input" required />
<label for="content" class="label">내용</label>
<input id="content" type="text" placeholder="주로 청포도로 만든다네요." class="input" required />
<button type="submit" class="submit-button">저장</button>
</form>
</div>
<script src="./modal.js"></script>
<script src="./addItem.js"></script>
</body>
</html>