Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

modified feedback section #51

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
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
136 changes: 35 additions & 101 deletions index.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!--DOCTYPE html-->
<!--DOCTYPE html-->
<html lang="en">
<head>
<meta charset="UTF-8">
Expand All @@ -18,6 +18,7 @@
rel="stylesheet"
href="https://cdn.jsdelivr.net/npm/swiper/swiper-bundle.min.css"
/>


</head>
<body>
Expand Down Expand Up @@ -356,115 +357,49 @@ <h3>Meet Our Specialist</h3>
<!--**heading****************-->
<div class="testimonials-heading">
<h3>Our Patients FeedBack About Us</h3>
<p>Lorem ipsum dolor sit amet consectetur adipisicing elit. Officia voluptates cupiditate, rerum rem odio fugit</p>
<p>Our patients' feedback is valuable to us. Here's what they have to say about our services:</p>
</div>


<!--**testimonials-Content****-->
<div class="testimonials-content">

<!--**img************-->
<div class="testimonials-img">
<!-- <div class="testimonials-img">
<img alt="" src="images/testimonials-img.png">
</div>
</div> -->

<!--**box-container**-->
<div class="testimonials-box-container">

<!-- Swiper -->
<div class="swiper mySwipertesti">
<div class="swiper-wrapper">
<!--**1***********-->
<div class="swiper-slide">
<!--**box**-->
<div class="testimonials-box">
<!--profile-->
<div class="t-profile">
<!--img-->
<div class="t-profile-img">
<img alt="" src="images/t1.jpg">
</div>
<!--text-->
<div class="t-profile-text">
<strong>Client Name</strong>
<span>From China</span>
<div class="t-rating">
<i class="fa-solid fa-star"></i>
<i class="fa-solid fa-star"></i>
<i class="fa-solid fa-star"></i>
<i class="fa-solid fa-star"></i>
<i class="fa-solid fa-star"></i>
</div>
</div>
</div>
<!--feedback-->
<p>Lorem ipsum dolor sit amet consectetur adipisicing elit. Ipsa est odit dicta sequi labore perferendis ut veritatis expedita, nihil sint! Delectus aut id voluptatibus nemo dolorum, quos consequatur commodi repudiandae?</p>
</div><!--box-end-->
</div><!--slide-end-->

<!--**2***********-->
<div class="swiper-slide">
<!--**box**-->
<div class="testimonials-box">
<!--profile-->
<div class="t-profile">
<!--img-->
<div class="t-profile-img">
<img alt="" src="images/t1.jpg">
</div>
<!--text-->
<div class="t-profile-text">
<strong>Client Name</strong>
<span>From China</span>
<div class="t-rating">
<i class="fa-solid fa-star"></i>
<i class="fa-solid fa-star"></i>
<i class="fa-solid fa-star"></i>
<i class="fa-solid fa-star"></i>
<i class="fa-solid fa-star"></i>
</div>
</div>
</div>
<!--feedback-->
<p>Lorem ipsum dolor sit amet consectetur adipisicing elit. Ipsa est odit dicta sequi labore perferendis ut veritatis expedita, nihil sint! Delectus aut id voluptatibus nemo dolorum, quos consequatur commodi repudiandae?</p>
</div><!--box-end-->
</div><!--slide-end-->

<!--**3***********-->
<div class="swiper-slide">
<!--**box**-->
<div class="testimonials-box">
<!--profile-->
<div class="t-profile">
<!--img-->
<div class="t-profile-img">
<img alt="" src="images/t1.jpg">
</div>
<!--text-->
<div class="t-profile-text">
<strong>Client Name</strong>
<span>From China</span>
<div class="t-rating">
<i class="fa-solid fa-star"></i>
<i class="fa-solid fa-star"></i>
<i class="fa-solid fa-star"></i>
<i class="fa-solid fa-star"></i>
<i class="fa-solid fa-star"></i>
</div>
</div>
</div>
<!--feedback-->
<p>Lorem ipsum dolor sit amet consectetur adipisicing elit. Ipsa est odit dicta sequi labore perferendis ut veritatis expedita, nihil sint! Delectus aut id voluptatibus nemo dolorum, quos consequatur commodi repudiandae?</p>
</div><!--box-end-->
</div><!--slide-end-->

</div><!--wrapper-end-->
<div class="swiper-pagination"></div>
</div><!--swiper-end-->

</div><!--container-end-->

</div><!--content-end-->
<!-- Feedback Card 1 -->
<div class="feedback-card">
<p>"Great service and friendly staff!"</p>
<h4>- John Doe</h4>
</div>
<!-- Feedback Card 2 -->
<div class="feedback-card">
<p>"I felt very comfortable and well taken care of."</p>
<h4>- Jane Smith</h4>
</div>
<!-- Feedback Card 3 -->
<div class="feedback-card">
<p>"Highly recommend this place to everyone!"</p>
<h4>- Alice Johnson</h4>
</div>
</div>
<br>
<!-- Live Feedback Section -->
<div class="live-feedback">
<h4>How was your overall experience at We-Care</h4>
<div class="emoji-container">
<span class="emoji" onclick="handleEmojiClick('😊')">😊</span>
<span class="emoji" onclick="handleEmojiClick('😐')">😐</span>
<span class="emoji" onclick="handleEmojiClick('😢')">😢</span>
<span class="emoji" onclick="handleEmojiClick('😍')">😍</span>
<span class="emoji" onclick="handleEmojiClick('😡')">😡</span>
<span class="emoji" onclick="handleEmojiClick('👍')">👍</span>
</div>
</div>
</div>

</section><!--testimonials-end-->

Expand Down Expand Up @@ -598,4 +533,3 @@ <h3>Subscribe For New Updates From WeCare</h3>

</body>
</html>

64 changes: 63 additions & 1 deletion style.css
Original file line number Diff line number Diff line change
Expand Up @@ -1135,4 +1135,66 @@ footer{
grid-template-columns: 1fr;
}
}

.testimonials-box-container {
display: flex;
justify-content: space-around;
align-items: center;
margin-top: 20px;
margin-left: 100px;
width: 1000px;

}

.feedback-card {
background-color: #e0f7fa;
border: 1px solid #b2ebf2;
border-radius: 10px;
padding: 20px;
margin: 10px;
text-align: center;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
width: 300px;
transition: transform 0.3s, box-shadow 0.3s;
}

.feedback-card:hover {
transform: translateY(-10px);
box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.feedback-card p {
font-size: 16px;
color: #00796b;
}

.feedback-card h4 {
font-size: 14px;
color: #004d40;
margin-top: 10px;
}

.live-feedback {
margin-top: 20px;
text-align: center;
margin-left: 100px;
}

.live-feedback h4 {
font-size: 18px;
color: #333;
}

.emoji-container {
margin-top: 10px;
}

.emoji {
font-size: 24px;
cursor: pointer;
margin: 0 10px;
transition: transform 0.2s;
}

.emoji:hover {
transform: scale(1.2);
}