-
Notifications
You must be signed in to change notification settings - Fork 471
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
Business site project #384
Open
Sherrydev11
wants to merge
2
commits into
Technigo:master
Choose a base branch
from
Sherrydev11:master
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 1 commit
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,67 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<meta charset="utf-8" /> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | ||
<title>Business Site</title> | ||
<!-- dont forget to add a css file and link it here! --> | ||
</head> | ||
<body> | ||
<h1>Business name 🌻</h1> | ||
|
||
<!-- video or image as a header is cool :) --> | ||
<head> | ||
<meta charset="utf-8" /> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | ||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css"> | ||
<link rel="stylesheet" href="style.css"> | ||
|
||
<!-- Signup form --> | ||
|
||
</body> | ||
</html> | ||
|
||
|
||
<title>Business Site</title> | ||
</head> | ||
|
||
|
||
<body> | ||
|
||
<!-- This is a section for the header, This webpage is styled in mobilefirst --> | ||
|
||
<div class="container"> | ||
|
||
<div class="hero"> | ||
<h3>Pro Tennis Training Club</h3> | ||
</div> | ||
|
||
<div class="text-area"> | ||
<h4>Improve your game with personalized tennis lessons</h4> | ||
</div> | ||
|
||
<div class="text-section"> | ||
<p>Wether you are a beginner or looking to refine your skills, our coaches are here to help you</p> | ||
</div> | ||
|
||
|
||
<!---This is the code for the sign-up form--> | ||
<div class="box"> | ||
<form action="http://httpbin.org/anything" method="post"> | ||
|
||
<h5>Sign up here</h5> | ||
<input type="text" id="name" name="name" placeholder="First and Lastname" required> | ||
<br> | ||
<br> | ||
<input type="email" id="email" name="email" placeholder="[email protected]" required> | ||
<br> | ||
<br> | ||
<label style="margin-left: 10px;"> How would you like to be contacted?</label> <br> | ||
<br> | ||
<input type="radio" id="phone" name="Contact" value="phone"> | ||
<label for="phone">Phone</label> | ||
<input type="radio" id="email" name="Contact" value="email"> | ||
<label for="email">E-mail</label> | ||
<br> | ||
<br> | ||
<input type="checkbox" id="terms" name="terms" required> | ||
<label for="terms">I agree to terms and conditions</label> | ||
<br> | ||
<br> | ||
<button type="submit">SUBMIT</button> | ||
|
||
</form> | ||
|
||
</div> | ||
</div> | ||
</body> | ||
|
||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,120 @@ | ||
/* After you've linked the CSS file in the HTML, | ||
this should turn the background blue ;) */ | ||
/* This webpage is coded in mobilfirst style - This styling is for the header*/ | ||
|
||
body { | ||
background: blue; | ||
background-color: #FFF8E8; | ||
margin: 0; | ||
padding: 0; | ||
display: flex; | ||
justify-content: center; | ||
align-items: center; | ||
min-height: 100vh; | ||
} | ||
|
||
.container { | ||
width: 100%; | ||
max-width: 800px; | ||
padding: 15px; | ||
box-sizing: border-box; | ||
} | ||
|
||
.hero { | ||
background-image: url("https://images.unsplash.com/photo-1622163642998-1ea32b0bbc67?w=800&auto=format&fit=crop&q=60&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwcm9maWxlLWxpa2VkfDF8fHxlbnwwfHx8fHw%3D"); | ||
height: 30vh; | ||
width: 50%; | ||
background-size: cover; | ||
background-repeat: no-repeat; | ||
margin-bottom: 10px; | ||
align-items: center; | ||
border-radius: 5px; | ||
|
||
} | ||
|
||
.hero h3 { | ||
color: #FFF8E8; | ||
text-transform: uppercase; | ||
font-size: 20px; | ||
font-family: sans-serif; | ||
text-align: center; | ||
} | ||
|
||
|
||
/*Code for text-area and section*/ | ||
.text-area { | ||
display: flex; | ||
background-color: #F7EED3; | ||
color: #674636; | ||
text-transform: uppercase; | ||
} | ||
|
||
.text-area h4 { | ||
font-family: sans-serif; | ||
font-size: 20px; | ||
} | ||
|
||
.text-section { | ||
display: flex; | ||
background-color: #F7EED3; | ||
color: #674636; | ||
text-transform: uppercase; | ||
font-family: sans-serif; | ||
font-size: 15px; | ||
font-weight: bold; | ||
} | ||
|
||
/*Code for form*/ | ||
.box { | ||
background-color: #F7EED3 | ||
} | ||
|
||
h5 { | ||
font-family: sans-serif; | ||
font-size: 15px; | ||
font-weight: bold; | ||
color: #674636; | ||
text-transform: uppercase; | ||
text-decoration: underline; | ||
} | ||
|
||
input { | ||
margin-right: 10px; | ||
border: 2px solid #674636; | ||
padding: 10px; | ||
background-color: #FFF8E8; | ||
} | ||
|
||
button { | ||
width: 22%; | ||
padding: 7px; | ||
border: 3px solid #674636; | ||
cursor: pointer; | ||
background-color: #FFF8E8; | ||
} | ||
|
||
button:hover { | ||
background-color: #F7EED3 | ||
} | ||
|
||
|
||
/* Media query for screens wider than 420px*/ | ||
@media(min-width: 445px)and (max-width: 667px) { | ||
.hero { | ||
height: 60vh; | ||
width: 60%; | ||
} | ||
|
||
} | ||
|
||
|
||
/*Media query for screens wider than 667px*/ | ||
@media(min-width: 668px) { | ||
.hero { | ||
|
||
background-size: contain; | ||
height: 70vh; | ||
margin-bottom: 0px; | ||
} | ||
|
||
.text-area { | ||
margin-top: 0px; | ||
} | ||
} |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
add the styling in the css file in the future. No inline styling ❌