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
54 changes: 54 additions & 0 deletions aboutus.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="styles.css" />
<title>About Us</title>
</head>
<body>
<header>
<nav> <div>
<ul><li><a href="#head">About Us</a></li>
</ul>
</nav></div>
</header>

<main>
<h1>About Us!</h1>
<p>
Welcome to your one stop solution for
fitness! We provide to quality gym equipments
for our members. Our trainers are experienced
professionals dedicated to helping you succeed
and achieve your desired body weight and muscle gain.

</p>
<p>Get your membership today and save a whopping<span><b> 50%</b></span>!</p>
<p id="linkbutton"> Membership</p>
<h1>Visit our locations in:</h1>
<div>
<ul id="socialinstagram">
Gyms in London</ul>
<ul id="socialfacebook">Gyms in Cardiff</ul>
<ul id="socialyoutube">Gyms in Glasgow</ul>
</ul>
</div>
</main>
</body>
<footer>
<div class="container">
<h3>Popular features</h3>
<h4>Gyms Near Me</h4>
<ul id="location">
<p>Gyms in London</p>
<p>Gyms in Cardiff</p>
<p>Gyms in Glasgow</p>
</ul>
<h4>Fitness Classes</h4>
<h4>Personal Trainers</h4>
<h4>Gym Membership Deals & Offers</h4>
</div>
</footer>
</html>

52 changes: 52 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="styles.css" />
<title>Gymtastic</title>
</head>
<body>
<header>
<nav> <div>
<ul><li><a href="#head">Gymtastic</a>
<a href="#home">Home</a>
<a href="aboutus.html">About Us</a>
<a href="#contact">Contact Us</a></h1></li>
</ul>
</nav></div>
</header>

<main>
<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 membership today and save a whopping<span><b> 50%</b></span>!</p>
<p id="linkbutton"> Membership</p>
<h1>Follow us on</h1>
<div>
<ul id="socialinstagram">
Instagram</ul>
<ul id="socialfacebook">Facebook</ul>
<ul id="socialyoutube">Youtube</ul>
</ul>
</div>
</main>
</body>
<footer>
<div class="container">
<h3>Popular features</h3>
<h4>Gyms Near Me</h4>
<ul id="location">
<p>Gyms in London</p>
<p>Gyms in Cardiff</p>
<p>Gyms in Glasgow</p>
</ul>
<h4>Fitness Classes</h4>
<h4>Personal Trainers</h4>
<h4>Gym Membership Deals & Offers</h4>
</div>
</footer>
</html>
102 changes: 102 additions & 0 deletions styles.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,102 @@
/* Resetting default margin and padding */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}

body {
font-family: Arial, sans-serif;
}

/* Header */
header {
width: 100%;
margin: auto;
background-color: rgb(45, 133, 206);
color: #fff;
padding: 15px 0;
}

header nav ul li a {
color: #fff;
text-decoration: none;
display: inline-block;
margin-right: 30px;
font-size: 50;
font-weight: 700;
}

/* Main section */
main h1 {
background-size: cover;
color: rgb(45, 133, 206);
padding: 20px 0;
font-weight: 500;
text-align: left;
padding-left: 20px;
}
main p {
font-size: 17px;
padding-left: 20px;
}
main p span {
color: rgb(45, 133, 206);
}
#linkbutton {
padding: 10px 20px;
border: 10px 20px;
margin-right: 35px;
display: inline-block;
color: orange;
border-style: solid;
text-align: left;
border-radius: 10px;
}
#socialinstagram {
color: white;
font-weight: 200px;
padding: 10px 20px;
margin-right: 35px;
margin-bottom: 10px;
display: inline-block;
border: 10px 20px;
border-style: solid;
background-color: purple;
border-radius: 10px;
box-shadow: 0px 4px 1px -2px grey;
}
#socialfacebook {
color: white;
display: inline-block;
font-weight: 200px;
padding: 10px 20px;
margin-right: 35px;
margin-bottom: 10px;
border: 10px 20px;
border-style: solid;
background-color: blue;
border-radius: 10px;
box-shadow: 0px 4px 1px -2px grey;
}
#socialyoutube {
color: white;
display: inline-block;
font-weight: 200px;
padding: 10px 20px;
margin-right: 35px;
margin-bottom: 10px;
border: 10px 20px;
border-style: solid;
background-color: red;
border-radius: 10px;
box-shadow: 0px 4px 1px -2px grey;
}
footer {
background-color: rgb(45, 133, 206);
color: white;
padding: 20px;
}
#location {
padding-left: 40px;
}