<html>
<head>
<title>Railway Ticket Booking</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<h1>Railway Ticket Booking</h1>
<form id="booking-form">
<div style = "position:relative; left:300px; top:150px;">
<label for="origin">Source:</label>
<input type="text" id="origin" name="origin" required>
<br>
<label for="destination">Destination:</label>
<input type="text" id="destination" name="destination" required>
<br>
<label for="date">Date:</label>
<input type="date" id="date" name="date" required>
<br>
<label for="time">Time:</label>
<input type="time" id="time" name="time" required>
<br>
<label for="class">Class:</label>
<select id="class" name="class">
<option value="economy">Economy</option>
<option value="business">Business</option>
</select>
<br>
<label for="passengers">Number of passengers:</label>
<input type="number" id="passengers" name="passengers" min="1" required>
<br><br>
<button type="submit">Book ticket</button>
</div>
</form>
<div id="result"></div>
<script src="script.js"></script>
</body>
</html>