-
Notifications
You must be signed in to change notification settings - Fork 142
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #22 from Yaser-123/main
Contact us form
- Loading branch information
Showing
4 changed files
with
125 additions
and
17 deletions.
There are no files selected for viewing
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 |
---|---|---|
@@ -0,0 +1,37 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<title>Document</title> | ||
<link rel="stylesheet" href="style.css"> | ||
<script src="https://kit.fontawesome.com/2815a7015d.js" crossorigin="anonymous"></script> | ||
</head> | ||
<body> | ||
<div id="contact"> | ||
<div class="container"> | ||
<div class="row"> | ||
<div class="contact-left"> | ||
<h1 class="sub-title">Contact Me</h1> | ||
|
||
<div class="social-icon"> | ||
<a href="#" target="_blank"><i class="fa-brands fa-facebook"></i></a> | ||
<a href="#" target="_blank"><i class="fa-brands fa-twitter-square"></i></a> | ||
<a href="#" target="_blank"><i class="fa-brands fa-instagram"></i></a> | ||
<a href="#" target="_blank"><i class="fa-brands fa-linkedin"></i></a> | ||
</div> | ||
|
||
</div> | ||
<div class="contact-right"> | ||
<form name="submit-to-google-sheet"> | ||
<input type="text" name="Name" placeholder="Your Name" required> | ||
<input type="email" name="Email" placeholder="Your Email" required> | ||
<textarea name="Message" rows="6" placeholder="Your Message"></textarea> | ||
<button type="submit" class="btn btn2">Submit</button> | ||
</form> | ||
<span id="msg"></span> | ||
</div> | ||
</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 |
---|---|---|
@@ -0,0 +1,86 @@ | ||
*{ | ||
margin: 0; | ||
padding: 0; | ||
font-family: 'poppins', sans-serif; | ||
box-sizing: border-box; | ||
} | ||
html{ | ||
scroll-behavior: smooth; | ||
} | ||
body{ | ||
background: lightcyan; | ||
color: black; | ||
} | ||
|
||
.contact-left{ | ||
flex-basis: 35%; | ||
padding: 20px; | ||
} | ||
.contact-right{ | ||
flex-basis: 60%; | ||
padding: 20px; | ||
} | ||
.contact-left p{ | ||
margin-top: 30px; | ||
} | ||
.contact-left p i{ | ||
color: #ff004f; | ||
margin-right: 15px; | ||
font-size: 25px; | ||
} | ||
.social-icon{ | ||
margin-top: 30px; | ||
} | ||
.social-icon a{ | ||
text-decoration: none; | ||
font-size: 30px; | ||
margin-right: 15px; | ||
color: blue; | ||
display: inline-block; | ||
transition: transform 0.5s; | ||
} | ||
.social-icon a:hover{ | ||
color: yellowgreen; | ||
transform: translateY(-5px); | ||
} | ||
.btn.btn2{ | ||
display: inline-block; | ||
background: blueviolet; | ||
border-radius: 14px; | ||
color: white; | ||
} | ||
.btn.btn2:hover{ | ||
background-color: #ff004f; | ||
} | ||
|
||
.contact-right form{ | ||
width: 100%; | ||
} | ||
form input, form textarea{ | ||
width: 100%; | ||
border: 0; | ||
outline: none; | ||
background: rgb(232, 210, 238); | ||
padding: 15px; | ||
margin: 15px 0; | ||
color: #fff; | ||
font-size: 18px; | ||
border-radius: 6px; | ||
} | ||
form .btn2{ | ||
padding: 14px 60px; | ||
font-size: 18px; | ||
margin-top: 20px; | ||
cursor: pointer; | ||
} | ||
.copyright{ | ||
width: 100%; | ||
text-align: center; | ||
padding: 25px 0; | ||
background: #262626; | ||
font-weight: 300; | ||
margin-top: 20px; | ||
} | ||
.copyright i{ | ||
color: #ff004f; | ||
} |
This file was deleted.
Oops, something went wrong.
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