-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy paththird.html
66 lines (59 loc) · 2.18 KB
/
third.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<link rel="stylesheet" href="main3.css">
</head>
<body>
<button id="back-btn">뒤로가기</button>
<div class="save-button">
<button id="saveButton" onclick="saveRecord()">저장하기</button>
</div>
<div class="container">
<div class="feature-box travel-type">
<h2>여행 유형 선택</h2>
<label>
<input type="radio" name="travelType" value="domestic" onclick="setTravelType('domestic')">
국내
</label>
<label>
<input type="radio" name="travelType" value="international" onclick="setTravelType('international')">
해외
</label>
</div>
<div class="feature-box travel-period">
<h2>여행 기간 입력</h2>
<input type="date" id="startDate" placeholder=" . . " onchange="updatePeriod()">
<span> ~ </span>
<input type="date" id="endDate" placeholder=" . . " onchange="updatePeriod()">
</div>
<div class="feature-box travel-location">
<h2>여행지 선택</h2>
<select id="locationSelect">
<option value="">여행 유형을 먼저 선택하세요</option>
</select>
</div>
<div class="feature-box travel-companions">
<h2>같이 여행 간 사람</h2>
<div id="companionList">
<input type="text" name="companion[]" placeholder="이름 입력">
</div>
<button type="button" id="addCompanionBtn" onclick="addCompanionInput()">+</button>
</div>
<div class="feature-box travel-review">
<h2>한 줄 후기</h2>
<input type="text" id="reviewInput" placeholder="한 줄로 여행 후기를 적어주세요">
</div>
<div class="feature-box photo-upload-section">
<h2>사진 업로드</h2>
<input type="file" id="photoUpload" accept="image/*" multiple>
<div id="previewContainer">
<!-- 미리보기 이미지가 이곳에 추가됩니다 -->
</div>
</div>
</div>
<script src="app3.js"></script>
</body>
</html>