Why Choose Our Gym
Preview
Edit
Download
Run
Download Options
HTML File
Download as .html file
CSS File
Download as .css file
JavaScript File
Download as .js file
Combined HTML
All code in one HTML file
Project ZIP
All files in a ZIP archive
Cancel
HTML
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Why Choose Our Gym</title> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css"> </head> <body> <section class="why-choose-us"> <div class="section-header"> <h2>Why Choose Our Gym</h2> <p>We're committed to helping you achieve your fitness goals with world-class facilities and expert trainers</p> </div> <div class="features-container"> <div class="feature-card"> <div class="feature-icon"> <i class="fas fa-dumbbell"></i> </div> <h3>Modern Equipment</h3> <p>Our gym is equipped with the latest fitness machines and free weights to help you train effectively and safely.</p> </div> <div class="feature-card"> <div class="feature-icon"> <i class="fas fa-user-tie"></i> </div> <h3>Expert Trainers</h3> <p>Certified personal trainers with years of experience to guide you through customized workout plans.</p> </div> <div class="feature-card"> <div class="feature-icon"> <i class="fas fa-heartbeat"></i> </div> <h3>Personalized Plans</h3> <p>We create tailored fitness and nutrition plans based on your body type, goals, and fitness level.</p> </div> <div class="feature-card"> <div class="feature-icon"> <i class="fas fa-users"></i> </div> <h3>Community Support</h3> <p>Join our supportive community of fitness enthusiasts who motivate each other to achieve their best.</p> </div> <div class="feature-card"> <div class="feature-icon"> <i class="fas fa-calendar-alt"></i> </div> <h3>Flexible Hours</h3> <p>Open 24/7 to fit your busy schedule. Work out whenever it's convenient for you.</p> </div> <div class="feature-card"> <div class="feature-icon"> <i class="fas fa-award"></i> </div> <h3>Proven Results</h3> <p>Thousands of success stories from members who transformed their bodies and lives with us.</p> </div> </div> </section> </body> </html>
CSS
:root { --primary-color: #FFD700; /* Yellow */ --secondary-color: #FFFFFF; /* White */ --text-color: #333333; --shadow: 0 4px 8px rgba(0, 0, 0, 0.1); } * { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Arial', sans-serif; } body { background-color: #f8f8f8; color: var(--text-color); } .why-choose-us { padding: 60px 20px; max-width: 1200px; margin: 0 auto; } .section-header { text-align: center; margin-bottom: 50px; } .section-header h2 { font-size: 2.5rem; margin-bottom: 15px; color: var(--text-color); position: relative; display: inline-block; } .section-header h2::after { content: ''; position: absolute; width: 70px; height: 4px; background-color: var(--primary-color); bottom: -10px; left: 50%; transform: translateX(-50%); } .section-header p { font-size: 1.1rem; color: #666; max-width: 700px; margin: 0 auto; } .features-container { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; } .feature-card { background-color: var(--secondary-color); border-radius: 10px; padding: 30px; text-align: center; box-shadow: var(--shadow); transition: transform 0.3s ease, box-shadow 0.3s ease; } .feature-card:hover { transform: translateY(-10px); box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15); } .feature-icon { width: 80px; height: 80px; background-color: var(--primary-color); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; } .feature-icon i { font-size: 2rem; color: var(--secondary-color); } .feature-card h3 { font-size: 1.5rem; margin-bottom: 15px; color: var(--text-color); } .feature-card p { color: #666; line-height: 1.6; } @media (max-width: 768px) { .section-header h2 { font-size: 2rem; } .features-container { grid-template-columns: 1fr; } } @media (max-width: 480px) { .section-header h2 { font-size: 1.8rem; } .feature-card { padding: 20px; } }
JavaScript
Output Preview
Desktop
Mobile
Fullscreen