-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathindex.html
51 lines (46 loc) · 2.47 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
<!DOCTYPE html>
<html lang="en-gb">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
<link href="https://fonts.googleapis.com/css2?family=Raleway:wght@400;700&display=swap" rel="stylesheet">
<!-- Bootstrap CSS -->
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet"
integrity="sha384-EVSTQN3/azprG1Anm3QDgpJLIm9Nao0Yz1ztcQTwFspd3yD65VohhpuuCOmLASjC"
crossorigin="anonymous">
<!-- CSS -->
<link rel="stylesheet" href="./assets/css/homepage.css" />
<title>CurioCity - Discover and Explore Cities Around the World</title>
</head>
<body>
<div class="text-center background">
<img class="d-block mx-auto mb-4" src="./assets/img/logo.png" alt="" width="400" height="400">
<h1 class="display-5 fw-bold text-body-emphasis">Ready to explore? Where to?</h1>
<h6>Please type in a city!</h6>
<div class="col-lg-6 mx-auto">
<form id="cityForm" action="landing.html" method="get">
<input type="text" id="cityInput" name="city" class="form-control responsive-input" aria-label="City input" aria-describedby="inputGroup-sizing-default">
<div class="d-grid gap-2 d-sm-flex justify-content-sm-center">
<button type="submit" id="searchButton" class="btn btn-primary btn-lg responsive-button">Search</button>
<button type="button" id="luckyButton" class="btn btn-outline-secondary btn-lg responsive-button">I'm feeling lucky!</button>
</div>
</form>
</div>
<div id="recentCitiesContainer">
<p id="historyParagraph" class="recent-searches-description m-3 hidden">Your recent searches:</p>
</div>
<div class="homepage-footer">
<p>© 2024 CurioCity, Inc. All rights reserved.</p>
</div>
<!-- jQuery -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<!-- Day.js -->
<script src="https://cdn.jsdelivr.net/npm/dayjs@1/dayjs.min.js"></script>
<!-- Bootstrap -->
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"
integrity="sha384-MrcW6ZMFYlzcLA8Nl+NtUVF0sA7MsXsP1UyJoMp4YLEuNSfAP+JcXn/tWtIaxVXM"
crossorigin="anonymous"></script>
<script src="./assets/js/script.js"></script>
</body>
</html>