-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathwebsite.html
121 lines (98 loc) · 5.46 KB
/
website.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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Sunshine D8</title>
<link rel="stylesheet" href="./assets/css/reset.css">
<!-- Custom Fonts -->
<link href='https://fonts.googleapis.com/css?family=Happy Monkey' rel='stylesheet'>
<link href='https://fonts.googleapis.com/css?family=Italiana' rel='stylesheet'>
<!-- Bootstrap Styling -->
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.0/css/bootstrap.min.css"
integrity="sha384-9aIt2nRpC12Uk9gS9baDl411NQApFmC26EwAOH8WgZl5MYYxFfc+NcPb1dKGj7Sk" crossorigin="anonymous">
<!-- Our Stylesheet -->
<link rel="stylesheet" href="./assets/css/style.css">
</head>
<body>
<header>
<a href="website.html">
<img alt="W3Schools" src="assets/images/logo1.png" width="300" height="80" class="logo">
<nav>
<ul>
<li class="navbarSpacing">
<a href="website.html"class="navbartextColor">Home</a>
</li>
</ul>
</nav>
<div class="clearfix"></div>
</header>
<div class= "container centerchosenText">
<h1>Would You Like to See Restaurants or Activities in Your Area?
</h1>
<button class="search-btn-rest btn btn-primary chooseHere"
onclick="document.getElementById('id01').style.display='block'"
style="width:auto;">
Choose Here!
</button>
</div>
<div id="id01" class="modal1">
<span onclick="document.getElementById('id01').style.display='none'" class="close"
title="Close Modal">×
</span>
<div class="container">
<div class="row">
<div class="col-md-6">
<!-- Restaurant Search -->
<div class="userInputheader">
<form method="GET" target="_self" action="restaurants.html">
<h1>Find Restaurants Near You</h1>
<div class="form-box">
<input id="search_rest_type" name="search_rest_type" type="text"
class="search_rest_type form-control"
placeholder="What kind of food do you want to eat?" required>
<input id="search_rest_zip" name="search_rest_zip" type="number"
class="search_rest_zip form-control" placeholder="Zip Code"
oninput="javascript: if (this.value.length > this.maxLength) this.value = this.value.slice(0, this.maxLength);"
type = "number"
maxlength = "5" required>
<!-- https://stackoverflow.com/questions/9555143/html-maxlength-attribute-not-working-on-chrome-and-safari -->
<!-- Above 4 lines restrict the user from typing more than 5 numbers into the zipcode search -->
<button class="search-btn-rest btn btn-primary" type="submit">Search </button>
</div>
</form>
</div>
</div>
<div class="col-md-6">
<!-- Activity Search -->
<div class="userInputheader">
<form method="GET" target="_self" action="activities.html">
<h1>Find Activities Near You</h1>
<div class="form-box">
<input id="search_act_type" name="search_act_type" type="text"
class="search_act_type form-control"
placeholder="What kind of activity are you up for?" required>
<input id="search_act_zip" name="search_act_zip" type="number"
class="search_act_zip form-control" placeholder="Zip Code" oninput="javascript: if (this.value.length > this.maxLength) this.value = this.value.slice(0, this.maxLength);"
type = "number"
maxlength = "5" required>
<!-- Above 4 lines restrict the user from typing more than 5 numbers into the zipcode search -->
<button class="search-btn-act btn btn-primary" type="submit">Search </button>
</div>
</form>
</div>
</div>
</div>
</div>
</div>
<!-- Top 3 are for bootstrap uses, bottom 2 are our java ref and for ajax, not sure if bootstrap uses everything -->
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.9/umd/popper.min.js"
integrity="sha384-ApNbgh9B+Y1QKtv3Rn7W3mgPxhU9K/ScQsAP7hUibX39j7fakFPskvXusvfa0b4Q"
crossorigin="anonymous"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js"
integrity="sha384-JZR6Spejh4U02d8jOt6vLEHfe/JQGiRRSQQxSfFWpi1MquVdAyjUar5+76PVCmYl"
crossorigin="anonymous"></script>
<script src="./assets/javascript/app.js"></script>
</body>
</html>