Skip to content

Commit

Permalink
Updated sell.html
Browse files Browse the repository at this point in the history
Updated sell.html to remove duplicate and unnecessary details.
  • Loading branch information
saatvika07 committed Nov 7, 2024
1 parent 138761a commit 5cbfd1a
Showing 1 changed file with 3 additions and 80 deletions.
83 changes: 3 additions & 80 deletions sell.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Sell Bus Ticket</title>
<title>Sell Ticket</title>
<link rel="shortcut icon" href="images/4.jpeg" type="image/x-icon">
<link rel="stylesheet" href="styles.css">
<link href="https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&display=swap" rel="stylesheet">
Expand Down Expand Up @@ -680,13 +680,6 @@
}, 100); // Match the transition duration
}, 200); // Adjust to the length of your spinner animation
});







let currentSlide = 0;
const slides = document.querySelectorAll('.slide');
const slider_dots = document.querySelectorAll(".dot");
Expand Down Expand Up @@ -957,78 +950,9 @@ <h1>Sell Ticket</h1>
<option value="Third">Third</option>
<option value="Economy">Economy</option>
</select>
</div>


<h1>Sell Bus Ticket</h1>
<form id="ticketForm">
<label for="name">Name:</label>
<input type="text" id="name" name="name" required>

<label for="phone">Phone Number:</label>
<input type="tel" id="phone" name="phone" required pattern="[0-9]{10}">

<label for="email">Email:</label>
<input type="email" id="email" name="email" required>

<label for="ticketNo">Ticket No:</label>
<input type="text" id="ticketNo" name="ticketNo" required>

<label for="busNo">Bus No:</label>
<input type="text" id="busNo" name="busNo" required>

</div>


</style>

<label for="departureLocation">Departure Location:</label>
<input type="text" id="departureLocation" name="departureLocation" required>

<label for="arrivalLocation">Arrival Location:</label>
<input type="text" id="arrivalLocation" name="arrivalLocation" required>

<label for="departureTime">Departure Time:</label>
<input type="time" id="departureTime" name="departureTime" required>

<label for="date">Date:</label>
<input type="date" id="date2" name="date" required min="">

<script>
// calender date validation logic
const today2 = new Date().toISOString().split('T')[0];
document.getElementById('date2').setAttribute('min', today2);
</script>

<label for="seatNo">Seat Number:</label>
<input type="text" id="seatNo" name="seatNo" required>

<label for="acClass">AC Class:</label>
<select id="acClass" name="acClass" required>
<option value="Non-AC">Non-AC</option>
<option value="AC">AC</option>
</select>

<label for="price">Original Price:</label>
<input type="number" id="price" name="price" required min="0" step="0.01">

<button type="submit">Submit Ticket</button>
</form>

</main>
<footer class="footer-container">
<div class="footer-top">

<div class="footer-logo-section">
<a href="#"> <img src="./images/3.jpeg" alt="easyJet holidays logo" class="footer-logo"></a>
<p style="color: #b5fdf4;">Affordable adventures, unforgettable memories—explore with ease.</p>
<p style="color: #dcfffa;" class="follow-us">FOLLOW US ON HERE:</p>
<div class="social-icons">
<a href="#"><i class="fab fa-facebook"></i></a>
<a href="#"><i class="fab fa-instagram"></i></a>
<a href="#"><i class="fa-brands fa-x-twitter"></i></a>
<a href="#"><i class="fab fa-linkedin"></i></a>
<a href="#"><i class="fab fa-youtube"></i></a>
</div>
</div>

<div class="form-cont">
<label for="seatNumber">Seat Number:</label>
Expand All @@ -1047,7 +971,6 @@ <h1>Sell Bus Ticket</h1>

<p id="sellerMessage"></p>
</section>

<!-- footer -->

<footer class="footer-container">
Expand Down

0 comments on commit 5cbfd1a

Please sign in to comment.