I am trying to create a slider that allows users to move through reviews by clicking arrows. Which will go from review1 to review2 etc etc. This is what I have so far, I have set up my HTML with my reviews, and my CSS with hidden values for the time being. Any help would be greatly greatly appreciated
<div class="review1">
<h1>“THIS PLACE IS AMAZING”<br></h1>
<p class= "vancouver">- The Georgia Straight</p>
</div>
<div class="review2">
<h1>“A TASTE OF ITALY IN VANCOUVER”<br></h1>
<p class= "Sun">- The Vancouver Sun</p>
</div>
<div class="review3">
<h1>“THIS IS THE REAL DEAL”<br></h1>
<p class= "Yelp">- Yelp.ca</p>
</div>
<div class="review4">
<h1>“SIMPLY DELICIOUS”<br></h1>
<p class= "Buzz">- VanCity Buzz</p>
</div>
and my CSS
.review1{
font-family: Clarendon;
letter-spacing: .2em;
font-size: 22pt;
text-align: center;
padding-top: 200px;
width: 1024px;
}
.review2{
display: none;
font-family: Clarendon;
letter-spacing: .2em;
font-size: 22pt;
text-align: center;
padding-top: 200px;
}
.review3{
display: none;
font-family: Clarendon;
letter-spacing: .2em;
font-size: 22pt;
text-align: center;
padding-top: 200px;
}
.review4{
display: none;
font-family: Clarendon;
letter-spacing: .2em;
font-size: 22pt;
text-align: center;
padding-top: 200px;
}
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…