220905324_lab3_assignment
220905324_lab3_assignment
Home Assignment
Aryan 220905324
1. Design an attractive 'train ticket booking form' using different
bootstrap elements.
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
</head>
<body>
<form>
<div class="mb-3">
</div>
<div class="mb-3">
</div>
<div class="mb-3">
</div>
<div class="col-md-6">
</div>
<div class="col-md-6">
</div>
</div>
<div class="col-md-6">
</div>
<div class="col-md-6">
<option>First Class</option>
<option>Second Class</option>
<option>Third Class</option>
</select>
</div>
</div>
</div>
</form>
</div>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha1/dist/js/bootstrap.bundle.min.js"></script>
</body>
</html>
2. Design an attractive 'magazine cover page' using different bootstrap
elements
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Magazine Cover</title>
<style>
.cover-page {
height: 100vh;
background-size: cover;
background-position: center;
color: white;
.cover-title {
font-size: 3.5rem;
font-weight: bold;
}
.tagline {
font-size: 1.8rem;
font-style: italic;
.feature-list li {
font-size: 1.2rem;
margin-bottom: 0.5rem;
.bottom-text {
position: absolute;
bottom: 20px;
width: 100%;
text-align: center;
</style>
</head>
<body>
<div class="text-center">
</div>
<div class="container">
<ul class="feature-list">
</div>
<div class="bottom-text">
</div>
</div>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha1/dist/js/bootstrap.bundle.min.js"></script>
</body>
</html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Class Timetable</title>
<style>
body {
background-color: #f8f9fa;
}
.timetable-title {
margin: 20px 0;
text-align: center;
color: #343a40;
</style>
</head>
<body>
<div class="carousel-inner">
<img src="https://images.unsplash.com/photo-1513258496099-48168024aec0?
crop=entropy&cs=tinysrgb&fit=max&fm=jpg&q=80&w=1200&h=300" class="d-block w-100"
alt="Classroom">
</div>
<div class="carousel-item">
<img src="https://images.unsplash.com/photo-1581092334858-1c3c29f1a774?
crop=entropy&cs=tinysrgb&fit=max&fm=jpg&q=80&w=1200&h=300" class="d-block w-100" alt="Books and
Study Materials">
</div>
<div class="carousel-item">
<img src="https://images.unsplash.com/photo-1503676260728-1c00da094a0b?
crop=entropy&cs=tinysrgb&fit=max&fm=jpg&q=80&w=1200&h=300" class="d-block w-100" alt="Students in
Library">
</div>
</div>
<span class="visually-hidden">Previous</span>
</button>
<span class="visually-hidden">Next</span>
</button>
</div>
<thead class="table-dark">
<tr>
<th>Day</th>
</tr>
</thead>
<tbody>
<tr>
<td>Monday</td>
<td>Mathematics</td>
<td>Science</td>
<td>History</td>
<td>English</td>
<td>Computer Science</td>
<td>Physical Education</td>
</tr>
<tr>
<td>Tuesday</td>
<td>Science</td>
<td>Mathematics</td>
<td>Geography</td>
<td>English</td>
<td>Computer Lab</td>
<td>Sports</td>
</tr>
<tr>
<td>Wednesday</td>
<td>Mathematics</td>
<td>History</td>
<td>Science</td>
<td>English</td>
<td>Art</td>
<td>Computer Science</td>
</tr>
<tr>
<td>Thursday</td>
<td>Geography</td>
<td>Mathematics</td>
<td>Science</td>
<td>History</td>
<td>English</td>
<td>Drama</td>
</tr>
<tr>
<td>Friday</td>
<td>English</td>
<td>Mathematics</td>
<td>History</td>
<td>Geography</td>
<td>Science</td>
<td>Physical Education</td>
</tr>
</tbody>
</table>
</div>
</div>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha1/dist/js/bootstrap.bundle.min.js"></script>
</body>
</html>