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

Farshad Bagdeli #101

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
38 changes: 38 additions & 0 deletions homepage.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title >Gymnastic</title>
<link rel="stylesheet" href="./style.css"/>
</head>
<body >
<header class="headerClass">
<p id="gymnastic">Gymnastic</p>
<p >Home</p>
<p>About Us</p>
<p>Contact Us</p>
</header>
<section>
<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 whopping <span>50%</span>!</p>
<button class="getMembershipButton">GET MEMBERSHIP</button>
<h1>Follow us on</h1>
<button class="instagramButton">Instagram</button>
<button class="facebookButton">Facebook</button>
<button class="youtubeButton">YouTube</button>
</section>

<footer class="footerClass">
<h3>Popular features</h3>
<h5>Gyms Near Me</h5>
<p>Gyms in London</p>
<p>Gyms in Cardiff</p>
<p>Gyms in Glasgow</p>
<h5>Fitness Classes</h5>
<h5>Personal Trainers</h5>
<h5>Gym Membershio Deals \& Offers</h5>
</footer>

</body>
</html>
103 changes: 103 additions & 0 deletions style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,103 @@
* {
margin: 0;
box-sizing: border-box;
font-family: sans-serif;
}
.headerClass {
background-color: #357BA6;
padding: 20px 0 20px 0;
color: white;
}
#gymnastic{
font-size: 20px;
font-weight: bold;
box-sizing: border-box;
display: inline-block;
padding:0 20px 0 20px ;
}
header p{
display: inline-block;
padding: 0 10px 0 10px;
}

section {
margin: 20px 0 20px 30px;
h1 {
font-size: 29px;
color: #367497;
padding: 15px 0 15px 0;
}
p{
padding: 15px 0 10px 0;
span {
color: #357BA6;
font-weight: bold;
}
}
}

.getMembershipButton {
margin: 10px 0 15px 0 ;
padding: 14px 29px 14px 29px;
background-color: white;
color: #E88132;
border: 2px solid #E88132;
border-radius: 10px;
font-weight: bold;
}

.instagramButton{
font-size: 18px;
padding: 10px 23px 10px 23px;
background-color: #874BF4;
color: white;
border: 1px solid #5C33A7;
border-radius: 10px;
font-weight: bold;
box-shadow: 1px 1px 5px gray;
margin-right: 15px;
}

.facebookButton{
font-size: 18px;
padding: 10px 23px 10px 23px;
background-color: #3578EA;
color: white;
border: 1px solid #2552A1;
border-radius: 10px;
font-weight: bold;
box-shadow: 1px 1px 5px gray;
margin-right: 15px;
}

.youtubeButton{
font-size: 18px;
padding: 10px 23px 10px 23px;
background-color: #EA3223;
color: white;
border: 1px solid #A12318;
border-radius: 10px;
font-weight: bold;
box-shadow: 1px 1px 5px gray;

}
.footerClass {
background-color: #357BA6;
padding: 20px 0 20px ;
color: white;
h3 {
padding: 0 0 20px 20px;
font-size: 15px;
}
h5{
padding: 1px 0 1px 20px;
}
p {
padding: 1px 0 1px 40px;
font-size: 13px;
}
}