Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions slider.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
.container-fluid{
border: 1px solid black;
height: 100vh;
}

.slide,.carousel-inner,.slide-image{
height: 100%;
}

.slide-image img{
height: 100%;
object-fit: cover;
}

.col{
height: 98vh;
}
41 changes: 41 additions & 0 deletions slider.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-QWTKZyjpPEjISv5WaRU9OFeRpok6YctnYmDr5pNlyT2bRjXh0JMhjY6hW+ALEwIH" crossorigin="anonymous">
<link rel="stylesheet" href="slider.css">
</head>
<body>
<div class="container-fluid">
<div class="row">
<div class="col">
<div id="carouselExampleSlidesOnly" class="carousel slide" data-bs-ride="carousel">
<div class="carousel-inner">
<div class="carousel-item active slide-image">
<img src="https://media.istockphoto.com/id/2122148349/photo/writing-an-exam-at-the-university.webp?a=1&b=1&s=612x612&w=0&k=20&c=fJNH1q1N1NJ6IbQTvftt_k6W1ZKOSp10KCSNHnwiTRc="
class="d-block w-100" alt="...">
</div>
<div class="carousel-item slide-image">
<img src="https://media.istockphoto.com/id/2094339326/photo/young-professional-working-on-laptop-at-co-working-space.webp?a=1&b=1&s=612x612&w=0&k=20&c=y_slxj3WcssalnF0el8aXz6E7WBPatBwBTerW28aE78="
class="d-block w-100" alt="...">
</div>
<div class="carousel-item slide-image">
<img src="https://plus.unsplash.com/premium_photo-1661767552224-ef72bb6b671f?w=500&auto=format&fit=crop&q=60&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxzZWFyY2h8NXx8c3R1ZHl8ZW58MHx8MHx8fDA%3D"
class="d-block w-100" alt="...">
</div>
</div>
</div>
</div>
<div class="col">
<form action="">

</form>
</div>
</div>
</div>

<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/js/bootstrap.bundle.min.js" integrity="sha384-YvpcrYf0tY3lHB60NNkmXc5s9fDVZLESaAA55NDzOxhy9GkcIdslK1eN7N6jIeHz" crossorigin="anonymous"></script>
</body>
</html>
51 changes: 51 additions & 0 deletions time table/timetable.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
body {
font-family: Arial, sans-serif;
display: flex;
flex-direction: column;
align-items: center;
height: 100vh;
background-color: #f5f5f5;
margin: 0;
}

h1 {
margin-top: 20px;
font-size: 24px;
font-weight: bold;
color: #333;
text-decoration: underline; /* Adds an underline */
}

.timetable-container {
width: 60%;
margin: 20px auto;
border-collapse: collapse;
text-align: center;
background-color: #ffffff;
border: 3px solid black; /* Black border around the table */
border-radius: 5px;
}

.timetable-container th, .timetable-container td {
border: 1px solid black; /* Black border for table cells */
padding: 15px;
}

.timetable-container th {
background-color: #f0f0f0;
font-weight: bold;
}

.header {
text-transform: uppercase;
}

.hours {
text-transform: capitalize;
font-weight: bold;
}

.timetable-container .lunch {
background-color: #e0e0e0;
font-weight: bold;
}
61 changes: 61 additions & 0 deletions time table/timetable.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Timetable</title>
<link rel="stylesheet" href="timetable.css">
</head>
<body>
<h1>Time Table</h1>
<table class="timetable-container">
<thead>
<tr>
<th class="header">hours</th>
<th class="header">mon</th>
<th class="header">tue</th>
<th class="header">wed</th>
<th class="header">thurs</th>
<th class="header">fri</th>
</tr>
</thead>
<tbody>
<tr>
<td class="hours">1</td>
<td>science</td>
<td>maths</td>
<td>science</td>
<td>maths</td>
<td>arts</td>
</tr>
<tr>
<td class="hours">2</td>
<td>social</td>
<td>hindi</td>
<td>english</td>
<td>social</td>
<td>sports</td>
</tr>
<tr class="lunch">
<td colspan="6">Lunch</td>
</tr>
<tr>
<td class="hours">3</td>
<td>science</td>
<td>maths</td>
<td>science</td>
<td>maths</td>
<td>project</td>
</tr>
<tr>
<td class="hours">4</td>
<td>social</td>
<td>hindi</td>
<td>english</td>
<td>social</td>
<td>project</td>
</tr>
</tbody>
</table>
</body>
</html>