From d526f177ed333829c4c69f72beaf036bb4c875e2 Mon Sep 17 00:00:00 2001 From: Rishika Agarwal Date: Sun, 20 Oct 2024 13:51:07 +0530 Subject: [PATCH] added suggestions of places while entering locations #1445 --- plantrip.html | 137 +++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 136 insertions(+), 1 deletion(-) diff --git a/plantrip.html b/plantrip.html index fde8a61e..1afca55f 100644 --- a/plantrip.html +++ b/plantrip.html @@ -151,6 +151,49 @@ .sec1{ margin-top: 100px; } + .error-message { + color: red; + font-size: 14px; + margin-top: 5px; + display: none; + } + + + .autocomplete { + position: relative; + display: inline-block; + width: 100%; + } + + .autocomplete-items { + position: absolute; + border: 1px solid #d4d4d4; + border-bottom: none; + border-top: none; + z-index: 99; + top: 100%; + left: 0; + right: 0; + max-height: 200px; + overflow-y: auto; + text-align: left; + } + + .autocomplete-items div { + padding: 10px; + cursor: pointer; + background-color: #fff; + border-bottom: 1px solid #d4d4d4; + } + + .autocomplete-items div:hover { + background-color: #e9e9e9; + } + + .autocomplete-active { + background-color: DodgerBlue !important; + color: #ffffff; + } @@ -207,12 +250,15 @@ +

Plan a Trip

- +
+ +
@@ -238,6 +284,7 @@

Plan a Trip

+

Trip Suggestions