-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
63 lines (57 loc) · 2.26 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
<!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>Home Traveller</title>
<link rel="stylesheet" href="style.css">
<link href="https://fonts.googleapis.com/css2?family=Quattrocento+Sans:wght@400;700&display=swap" rel="stylesheet">
</head>
<body>
<header>
<h1>Home Traveller</h1>
<img src="./assets/home_traveller.png" alt="person's watching Italian movie and eating pizza" id="index-img">
</header>
<section id="get-country">
<div id="search-section">
<form id="form">
<label for="search" id="search-label">Choose the country:</label>
<div id="dropdown-search">
<input type="search" name="country" id="country-input" placeholder="Search a country..."
autocomplete="off">
<ul id="results-list"></ul>
</div>
<button type="submit" value="Submit" id="submit-search">Submit</button>
</form>
<div id="or-tag">
<p id="">OR</p>
</div>
<div id="generate-section">
<button type="button" value="Generate Randomly" id="random-btn">Let us choose for you</button>
</div>
</div>
<div id="output"></div>
</section>
<section class="center hide" id="display-dish">
<img src="./assets/recipe.png" alt="whisk icon" class="section-icon">
<h2 id="section-title">Recipe</h2>
<h3 id="dish-intro"></h3>
<img class="center" id="dish-img" alt="">
<p id="dish-type"></p>
<p id="ingredients"></p>
<ul id="ingredients-list"></ul>
<p id="recipe-url"></p>
</section>
<section class="center hide" id="movie-rec">
<img src="./assets/movie.png" alt="clipperboard icon" class="section-icon">
<h2 id="section-title">Movie</h2>
<img class="center" id="movie-poster" alt="">
<h2 id="movie-title"></h2>
<h3 id="vote-average"></h3>
<p id="plot-summary"></p>
</section>
<script src="langcodes.js"></script>
<script src="script.js"></script>
</body>
</html>