-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
48 lines (38 loc) · 1.61 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Vacation Destinations WishList</title>
<link href="https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.min.css" rel="stylesheet">
<!-- Our CSS -->
<link rel="stylesheet" href="styles.css">
</head>
<body>
<header>
<h1>Vacation Destinations Wish List</h1>
<p>Found exciting places to visit on your next vacation? Use the form below to add them to your wish list.</p>
</header>
<main>
<form id="destination_details_form">
<label for="name">Destination Name</label>
<input type="text" id="name" placeholder="Provide a name for the destination" required>
<label for="location">Destination Location</label>
<input type="text" id="location" placeholder="Where is this destination located?" required>
<label for="photo">Destination Photo</label>
<input type="url" id="photo" placeholder="Provide a URL for a photo">
<label for="description">Destination Description</label>
<textarea id="description" placeholder="Describe the destination"></textarea>
<button type="submit">Add to List</button>
</form>
<article>
<h2 id="title">Enter Destination Details</h2>
<div id="destination_container">
<!-- Dynamically populated by JavaScript -->
</div>
</article>
</main>
<!-- Our JavaScript -->
<script src="script.js"></script>
</body>
</html>