Skip to content
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
36 changes: 36 additions & 0 deletions AboutUs.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>About Us</title>
<link rel="stylesheet" href="style.css" />
</head>
<body>
<header>
<div id="logo">Gymnastic</div>
<nav>
<ul>
<li><a href="index.html">Home</a></li>
<li><a href="#">About Us</a></li>
<li><a href="#">Contact Us</a></li>
</ul>
</nav>
</header>
<main>
<section id="about-info">
<h1>About Us</h1>
<p>
We are dedicated to providing the best fitness solutions tailored to
meet yourneeds.
</p>
</section>
<section id="locations">
<h2>Our Locations</h2>
<div class="location-card">Gym in London</div>
<div class="location-card">Gym in Cardiff</div>
<div class="location-card">Gym in Glasgow</div>
</section>
</main>
</body>
</html>
72 changes: 72 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Gymtastic</title>
<link rel="stylesheet" href="style.css" />
</head>
<body>
<header>
<div id="logo">Gymtastic</div>
<nav>
<ul>
<li><a href="#">Home</a></li>
<li><a href="AboutUs.html">About Us</a></li>

<li><a href="#">Contact Us</a></li>
</ul>
</nav>
</header>

<main>
<section id="promo">
<h1>Fitness for life!</h1>
<p>
Every gym is designed with you in mind, from the way they’re laid out,
to the range of equipment available.
</p>
<p>Get your membershiptoday and save a whopping 50%!</p>
<button>Get Membership</button>
</section>
<section id="testimonials">
<h2>What Our Members Say</h2>
<p>
"I've never felt more at home in a gym. The equipment and staff are
top-notch!" - Jane Doe
</p>
<p>
"The personal trainers really know their stuff. I've gotten in the
best shape of my life!" - John Smith
</p>
</section>

<section id="social-media">
<a href="https://www.instagram.com" class="social-link instagram"
>Instagram</a
>
<a href="https://en-gb.facebook.com" class="social-link facebook"
>Facebook</a
>
<a href="https://www.youtube.com" class="social-link youtube"
>YouTube</a
>
</section>

<section id="features">
<div>
<h2>Popular features</h2>
<ul>
<li>Gyms Near Me</li>
<li>Gyms in London</li>
<li>Gyms in Cardiff</li>
<li>Gyms in Glasgow</li>
<li>Fitness Classes</li>
<li>Personal Trainers</li>
<li>Gym Membership Deals&Offers</li>
</ul>
</div>
</section>
</main>
</body>
</html>
122 changes: 122 additions & 0 deletions style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,122 @@
body {
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
background-color: #f4f4f4;
}

header {
background-color: #0077cc;
color: white;
padding: 10px 20px;
display: flex;
justify-content: space-between;
align-items: center;
}

nav ul {
list-style-type: none;
margin: 0;
padding: 0;
}

nav ul li {
display: inline;
margin-right: 20px;
}

nav ul li a {
color: white;
text-decoration: none;
}

#hero {
text-align: center;
padding: 20px;
}

button {
background-color: orange;
border: none;
color: white;
padding: 10px 20px;
font-size: large;
border-radius: 5px;
cursor: pointer;
}
#promo {
text-align: center;
}
#social-media {
text-align: left;
margin: 20px 0;
}
#testimonials {
background-color: #f4f4f4;
color: #333;
text-align: center;
padding: 20px;
margin-top: 20px;
}

.social-button {
display: inline-block;
padding: 10px 20px;
color: white;
text-decoration: none;
border-radius: 5px;
}

.instagram {
background-color: #c13584;
color: black;
text-decoration: none;
margin: 10px;
padding: 10px;
}
.facebook {
background-color: #3b5998;
color: black;
text-decoration: none;
margin: 10px;
padding: 10px;
}
.youtube {
background-color: #ff0000;
color: black;
text-decoration: none;
margin: 10px;
padding: 10px;
}

#features {
background-color: #0077cc;
color: white;
text-align: center;
padding: 20px;
margin-top: 20px;
}

#features ul {
list-style-type: none;
padding: 0;
}

#features li {
margin-bottom: 10px;
}
#about-info,
#locations {
background-color: white;
color: #333;
text-align: center;
padding: 20px;
margin-top: 20px;
}
.locations-card {
background-color: #0077cc;
color: white;
margin: 10px;
padding: 10px;
display: inline-block;
}