ad

Monday, June 24, 2024

How to create a Order Form

 

     

 

  How to Create Order form using  html and CSS, JS


 ðŸ‘‡à®ƒ Create a  Order form with source codeஃ

Source Code 

<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="
width=device-width, initial-scale=1.0">
  <meta http-equiv="X-UA-Compatible"
content="ie=edge">
  <title>Order Form</title>
 
  <link rel="stylesheet" href="style6.css">
<style>
  *{
  box-sizing: border-box;
}

body{
 
  color:#485e74;
  line-height:1.6;
  font-family: 'Segoe UI', Tahoma,
Geneva, Verdana, sans-serif;
  padding:1em;
}

.container{
  max-width:1170px;
  margin-left:auto;
  margin-right:auto;
  padding:1em;
}

ul{
  list-style: none;
  padding:0;
}

.brand{
  text-align: center;
}

.brand span{
  color:#fff;
}

.wrapper{
  box-shadow: 0 0 20px 0 rgba(72,94,116,0.7);
}

.wrapper > *{
  padding: 1em;
}

.company-info{
  background:#BC8F8F;
}

.company-info h3, .company-info ul{
  text-align: center;
  margin:0 0 1rem 0;
}

.contact{
  background:#99B1E7;
}

/* FORM STYLES */
.contact form{
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap:20px;
}

.contact form label{
  display:block;
}

.contact form p{
  margin:0;
}

.contact form .full{
  grid-column: 1 / 3;
}

.contact form button, .contact form input,
.contact form textarea{
  width:100%;
  padding:1em;
  border:1px solid #c9e6ff;
}

.contact form button{
  background:#F5DEB3;
  border:0;
  text-transform: uppercase;
}

.contact form button:hover,.contact form
button:focus{
  background:#92bde7;
  color:#fff;
  outline:0;
  transition: background-color 2s ease-out;
}

.alert{
  text-align: center;
  padding:10px;
  background:#99B1E7;
  color:#fff;
  margin-bottom:10px;
  display:none;
}

/* LARGE SCREENS */
@media(min-width:700px){
  .wrapper{
    display: grid;
    grid-template-columns: 1fr 2fr;
  }

  .wrapper > *{
    padding:2em;
  }

  .company-info h3, .company-info ul, .brand{
    text-align: left;
  }
}
  </style>
</head>
<body>
  <div class="container">
    <h1 class="brand"><span>Shree Saree shop
<span></h1>
    <div class="wrapper">
      <div class="company-info">
        <h3>company owner Name </h3>
        <ul>
          <li><i class="fa fa-road"></i>
xyz@gmail.com  <li>
<i class="fa fa-phone"></i> +91  776882903</li>
        </ul>
      </div>
      <div class="contact">
        <h3><center>Order Form</center></h3>
        <div class="alert">Your message has
been sent</div>
        <form id="contactForm">
          <p>
            <label>fullName</label>
            <input type="text" name="fullname"
id="fullname" required>
          </p>
          <p>
            <label>email id</label>
            <input type="text" name="email id"
id="email id">
          </p>
          <p>
            <label>Phone no</label>
            <input type="text" name="Phone no"
id="Phone no" required>
          </p>
          <p>
            <label>Address</label>
            <input type="text" name="Address"
id="Address">
          </p>
          <p class="full">
            <label>city</label>
             <input type="text" name="city"
id="city">
          </p>

           <p class="full">
            <label>Postal code</label>
            <input type="text" name="
Postal code" id="Postal code">
          </p>

          <p class="full">
        <button type="submit">Submit</button>
          </p>
        </form>
      </div>
    </div>
  </div>

  <script src="https://www.gstatic.com/
firebasejs/4.3.0/firebase.js"></script>
  <script src="db4.js"></script>
</body>
</html>

  How to create Order form using  html and CSS, JS

Output :-

order form


Sunday, June 23, 2024

How to create a product page

Responsive Product Page design using HTML | CSS




product page



Responsive Product Page design using HTML | CSS


Source Code :-

HTML ,CSS Source code:- 

<html>
  <head>
    <style>
      @import url('https://cdnjs
.cloudflare.com/ajax/libs/font-awesome/
6.0.0-beta3/css/all.min.css');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: sans-serif, Arial, Helvetica;

}

body {
    height: 100vh;
    background-color: #f2f2f2;
}

a {
    text-decoration: none;
}

.gallery {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    justify-content: center;
    align-items: center;
    margin: 50px 0;
}

.content {
    width: 20%;
    min-width: 250px;
    margin: 15px;
    text-align: center;
    border-radius: 20px;
    cursor: pointer;
    background-color: #f2f2f2;
    padding-top: 10px;
    box-shadow: 0 14px 28px
rgba(0, 0, 0, 0.20), 0 10px 10px
rgba(0, 0, 0, 0.20);
}

.content:hover {
    box-shadow: 0 3px 6px
rgba(0, 0, 0, 0.15),
0 3px 6px rgba(0, 0, 0, 0.24);
    transform: translateY(-3px);
}

img {
    width: 200px;
    height: 200px;
    text-align: center;
    margin: 0 auto;
    display: block;
    border-radius: 16px;
}

h3{
    text-align: center;
    font-size: 25px;
    margin: 0;
    padding: 12px 0;
}

p {
    text-align: center;
    color: #b2bec3;
    padding: 0 8px;
}

h6 {
    font-size: 18px;
    text-align: center;
    color: #222f25;
    margin: 5px 0;
}

ul {
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 0;
}

li {
    padding-left: 4px;
}

.fas {
    font-size: 24px;
}

.checked {
    color: gold;
}

button {
    text-align: center;
    width: 100%;
    border: none;
    background-color:#99B1E7;
    color: #fff;
    padding: 10px;
    cursor: pointer;
    font-size: 24px;
    margin-top: 10px;
    outline: none;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
}

      </style>
      </head>
<body>

    <div class="gallery">
        <div class="content">
  <img src="https://encrypted-tbn0.gstatic.com/
images?q=tbn:ANd9GcQZ9X4qF4kdx3RxNyp
V1diFl6eoAHs9TZ98QA&s" alt="">
          "
                alt="smartwatch">
            <h3>Sharara Suit </h3>
            <p></p>
            <h6> Rs-2,000</h6>
            <ul>
<li><i class="fas fa-star checked"></i></li>
  <li><i class="fas fa-star checked"></i></li>
   <li><i class="fas fa-star checked"></i></li>
  <li><i class="fas fa-star checked"></i></li>
        <li><i class="fas fa-star"></i></li>
            </ul>
            <button>
    <a href="order.php" class="buy-2">
Buy now</a></button>
            </div>

        <div class="content">
            <img src="https://
encrypted-tbn0.gstatic.com/images?q=tbn:
ANd9GcR5
rH8-_QVVFPa9V5nmHhx4GG4NDVJcz2SobQ&s"
                        alt="">
            <h3>Sharara Suit1</h3>
            <p></p>
            <h6> Rs-2,100</h6>
            <ul>
    <li><i class="fas fa-star checked"></i></li>
   <li><i class="fas fa-star checked"></i></li>
    <li><i class="fas fa-star checked"></i></li>
        <li><i class="fas fa-star"></i></li>
          <li><i class="fas fa-star"></i></li>
            </ul>
            <button>
        <a href="order.php" class="buy-2">
Buy now</a></button>
             </div>

             </div>
             
        </div>
</body>
</html>

       



Responsive Product Page design using HTML | CSS


Output :-

product page


Related Post :-

html form pattern attribute

html comments tag

how to create a navigation bar

how to create a Footer Page design


footer page


responsive Footer page design using HTML | CSS

Source Code :-

HTML ,CSS Source code:- 

<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content
="width=device-width, initial-scale=1">
<meta charset="utf-8">
  <meta name="viewport"
content="width=device-width, initial-scale=1">
  <link rel="stylesheet" href="css/style.css">
  <link rel="stylesheet" type="text/css" href=
"https://cdnjs.cloudflare.com/ajax/libs/
font-awesome/5.15.1/css/all.min.css">
<style>


<!--   footer  css code start  -->
@import url('https://
fonts.googleapis.com/css2?family=Poppins:
wght@300;400;500;600;700&display=swap');
body{
    line-height: 1;
    font-family: 'Poppins', sans-serif;
}
*{
    margin:0;
    padding:0;
    box-sizing: border-box;
}
.container{
    max-width: 1180px;
    margin:auto;
}
.row{
    display: flex;
    flex-wrap: wrap;
}
ul{
    list-style: none;
}
.footer{
    background-color: #24262b;
    padding: 50px 0;
}
.footer-col{
   width: 20%;
   padding: 0 10px;
}
.footer-col h4{
    font-size: 19px;
    color: #ffffff;
    text-transform: capitalize;
    margin-bottom: 35px;
    font-weight: 200;
    position: relative;
}
.footer-col h4::before{
    content: '';
    position: absolute;
    left:0;
    bottom: -10px;
    background-color: #e91e63;
    height: 1px;
    box-sizing: border-box;
    width: 40px;
}
.footer-col ul li:not(:last-child){
    margin-bottom: 10px;
}
.footer-col ul li a{
    font-size: 16px;
    text-transform: capitalize;
    color: #ffffff;
    text-decoration: none;
    font-weight: 200;
    color: #bbbbbb;
    display: block;
    transition: all 0.3s ease;
}
.footer-col ul li a:hover{
    color: #ffffff;
    padding-left: 8px;
}
.footer-col .social-links a{
    display: inline-block;
    height: 35px;
    width: 19px;
    background-color: rgba(255,255,255,0.2);
    margin:0 11px 11px 0;
    text-align: center;
    line-height: 40px;
    border-radius: 50%;
    color: #ffffff;
    transition: all 0.5s ease;
}
.footer-col .social-links a:hover{
    color: #24262b;
    background-color: #ffffff;
}

/*responsive*/
@media(max-width: 727px){
  .footer-col{
    width: 50%;
    margin-bottom: 20px;
}


}
@media(max-width: 554px){
  .footer-col{
    width: 100%;
}
}


<!--   footer css code start  -->
</style>

<body>



<!--   footer  code start  -->
<footer class="footer">
     <div class="container">
        <div class="row">
            <div class="footer-col">
                <h4>Quick Link</h4>
                <ul>
         


<li><a href="home.php">Home</a></li> <!-- link page
         
  <li><a href="about.php">About</a></li>
    <li><a href="product.php">Product</a></li>
<li><a href="contactus.php">Contact Us</a></li>
   <li><a href="register.php">Register</a></li>
                </ul>
            </div>
            <div class="footer-col">
                <h4>get help</h4>
                <ul>
         <li><a href="#">FAQ</a></li>
        <li><a href="#">shipping</a></li>
              <li><a href="#">returns</a></li>
        <li><a href="#">order status</a></li>
    <li><a href="#">payment options</a></li>
                </ul>
            </div>
            <div class="footer-col">
                <h4>online shop</h4>
                <ul>
  <li><a href="Dress.php">watch Dress</a></li>
 <li><a href="dress.php">Anarkali Suit</a></li>
<li><a href="dress.php">Sharara Suit</a></li>
  <li><a href="dress.php">Ghagra Dress</a></li>
                </ul>
            </div>

               <div class="footer-col">
                <h4>follow us</h4>
                 <div class="social-links">
<a href="#"><i class="fab fa-facebook-f"></i>
</a>
  <a href="#"><i class="fab fa-twitter"></i></a>
  <a href="#"><i class="fab fa-instagram">
</i></a>
    <a href="#"><i class="fab fa-linkedin-in">
</i></a>
                </div>
            </div>

            <div class="footer-col">
                <h4> Location</h4>
                <div class="">
                <a href="""> location</a>
                   
                </div>
            </div>
           
     </div> <br>
       <div class="main">  
            <center><h6 style="color:white;">
Copyright@2024,Developed By company
name Student Aishwarya .</h6>
         </center></div>
  </footer>
<!--   footer  code end  -->

           
</div>
</body>
</html>


Responsive Footer page design using HTML | CSS

Output :- 

footer page


Related Post :-