Struggling to incorporate a fullscreen carousel on my website's landing page. The carousel should display three different images sequentially, either by manual clicking or automatically sliding after a few seconds. Utilized Bootstrap's carousel plugin following their instructions precisely, but encountered an issue where the carousel displays the images in a column when scrolled. Seeking assistance to rectify this error.
Here is the code snippet:
<head>
<meta charset="UTF-8">
<title>Carousel_selftest</title>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/css/bootstrap.min.css">
<link rel="stylesheet" type="text/css" href="carousel_selftest.css">
</head>
<body>
<div id="mycarousel" class="carousel slide" data-ride="carousel">
<ol class="carousel-indicators">
<li data-target="#mycarousel" data-slide-to="0" class="active"></li>
<li data-target="#mycarousel" data-slie-to="1"></li>
<li data-target="#mycarousel" data-slie-to="2"></li>
</ol>
<div class="carousel-inner">
<div class="item active">
<img src="Mockup_Magazin.png" alt="project1" width="1680px" height="1383,53px">
</div>
<div class="item2">
<img src="infografic_1.png" alt="project2" width="1680px" height="1383,53px">
</div>
<div class="item3">
<img src="PEVUO01.png" alt="project3" width="1680px" height="1383,53px">
</div>
</div>
<a class="left-carousel-control" href="#mycarousel" data-slide="prev">
<span class="glyphicon glyphicon-chevron-left"></span>
<span class="sr-only">previous</span>
</a>
<a class="right-carousel-control" href="#mycarousel" data-slide="next">
<span class="glyphicon glyphicon-chevron-right"></span>
<span class="sr-only">next</span>
</a>
</div>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/js/bootstrap.min.js"></script>
</body>
</html>
The only CSS I added:
@charset "UTF-8";
/* CSS Document */
.container
{
display: grid;
margin-left: 0px;
margin-right: 0px;
}
.mycarousel
{
width: 50%;
height: 632px;
overflow: hidden;
margin-left: auto;
margin-right: auto;
}