Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
taidohomework committed Jul 6, 2024
1 parent 6dd8d80 commit b4fe68f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 39 deletions.
40 changes: 2 additions & 38 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -46,12 +46,6 @@
text-decoration: underline;
}

.carousel-item img {
width: 100%;
height: 500px;
object-fit: cover;
}

main {
padding: 20px;
}
Expand Down Expand Up @@ -81,31 +75,8 @@ <h1>Chào mừng đến với trang web Vui Là 9</h1>
</nav>
</header>
<main>
<div id="carouselExampleIndicators" class="carousel slide" data-ride="carousel">
<ol class="carousel-indicators">
<li data-target="#carouselExampleIndicators" data-slide-to="0" class="active"></li>
<li data-target="#carouselExampleIndicators" data-slide-to="1"></li>
<li data-target="#carouselExampleIndicators" data-slide-to="2"></li>
</ol>
<div class="carousel-inner">
<div class="carousel-item active">
<img src="banner_image.png" class="d-block mx-auto" alt="Image 1">
</div>
<div class="carousel-item">
<img src="banner_image.png" class="d-block mx-auto" alt="Image 2">
</div>
<div class="carousel-item">
<img src="banner_image.png" class="d-block mx-auto" alt="Image 3">
</div>
</div>
<a class="carousel-control-prev" href="#carouselExampleIndicators" role="button" data-slide="prev">
<span class="carousel-control-prev-icon" aria-hidden="true"></span>
<span class="sr-only">Previous</span>
</a>
<a class="carousel-control-next" href="#carouselExampleIndicators" role="button" data-slide="next">
<span class="carousel-control-next-icon" aria-hidden="true"></span>
<span class="sr-only">Next</span>
</a>
<div class="text-center">
<img src="banner_image.png" class="img-fluid" alt="Banner Image">
</div>
</main>
<footer>
Expand All @@ -116,13 +87,6 @@ <h1>Chào mừng đến với trang web Vui Là 9</h1>
<script src="https://code.jquery.com/jquery-3.5.1.slim.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/@popperjs/core@2.5.4/dist/umd/popper.min.js"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js"></script>
<script>
$(document).ready(function () {
$('.carousel').carousel({
interval: 2000 // Change the interval value to adjust the speed (in milliseconds)
});
});
</script>
</body>

</html>
2 changes: 1 addition & 1 deletion login.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ <h1>Đăng Nhập</h1>
<ul>
<li><a href="index.html">Trang Chủ</a></li>
<li><a href="login.html">Đăng Nhập</a></li>
<li><a href="calculator.html">Tính Cal</a></li>
<li><a href="calculator.html">Tính Calories</a></li>
<li><a href="about.html">Giới Thiệu</a></li>
</ul>
</nav>
Expand Down

0 comments on commit b4fe68f

Please sign in to comment.