HTML:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Fitness Transformation</title>
<link rel="stylesheet" href="styles.css">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&display=swap" rel="stylesheet">
</head>
<body>
<header>
<nav>
<ul>
<li><a href="#home">Home</a></li>
<li><a href="#testimonials">Testimonials</a></li>
<li><a href="#contact">Contact</a></li>
</ul>
</nav>
</header>
<section id="home">
<h1>Transform Your Body</h1>
<p>Get fit with our expert trainers</p>
<button>Join Now</button>
<div class="before-after">
<div class="before">
<img src="before.jpg" alt="Before">
<p>Before</p>
</div>
<div class="after">
<img src="after.jpg" alt="After">
<p>After</p>
</div>
</div>
</section>
<section id="testimonials">
<h2>Real Results</h2>
<div class="testimonial-slider">
<div class="testimonial">
<img src="testimonial1.jpg" alt="Testimonial 1">
<p>"I lost 20 pounds!" - John Doe</p>
</div>
<div class="testimonial">
<img src="testimonial2.jpg" alt="Testimonial 2">
<p>"I gained 10 pounds of muscle!" - Jane Doe</p>
</div>
<div class="testimonial">
<img src="testimonial3.jpg" alt="Testimonial 3">
<p>"I feel more confident!" - Bob Smith</p>
</div>
</div>
</section>
<section id="contact">
<h2>Get in Touch</h2>
<p>Call/Text: 555-555-5555</p>
<p>Email: info@fitness.com</p>
</section>
</body>
</html>
No comments:
Post a Comment