ad

Sunday, June 23, 2024

how to create Home page design

How to create Home page using  html and CSS ,JS

home page


How to make Home page using  html and CSS ,JS

👍Important information

   

                     1] create to the navigation bar  page.
                     2] create to the footer page 
                     3] image slider page code 

create to three page in your  Folder Than connect to each other

Than Create to Home page.👍👍

 
In this 3 page code include to the website 

This Bloger website  Put the code 

                         Check to the  carefully  

 All code is correct .

           https://webdesigningtheory.blogspot.com/


👇 Create a  Home  page  with source code

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>
* {box-sizing: border-box;}
body {font-family: Verdana, sans-serif;}
.mySlides {display: none;}
img {vertical-align: middle;}

/* Slideshow container */
.slideshow-container {
  max-width: 1000px;
  position: relative;
  margin: auto;
}

/* Caption text */
.text {
  color: #f2f2f2;
  font-size: 15px;
  padding: 8px 12px;
  position: absolute;
  bottom: 8px;
  width: 100%;
  text-align: center;
}

/* Number text (1/3 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

/* The dots/bullets/indicators */
.dot {
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active {
  background-color: #717171;
}

/* Fading animation */
.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

@keyframes fade {
  from {opacity: .4}
  to {opacity: 1}
}

/* On smaller screens, decrease text size */
@media only screen and (max-width: 300px) {
  .text {font-size: 11px}
}


</style>

<body>

<h1 class="text-center " >Shree Saree Shop</h1>
<!-- end contact section -->
 
  <!-- footer section start -->

  <?php include 'navigationbar.php';?>
// link page home,Dress, about us
,contact us, feedback,login page connect


  <!-- footer  section Start -->
<!--<h2>Automatic Slideshow</h2> -->


<div class="slideshow-container">

<div class="mySlides fade">
  <div class="numbertext">1 / 3</div>
  <img src="https://encrypted-tbn0.gstatic.com/
images?q=tbn:ANd9GcRCOfKW4RVfxxGjOZJOb3z4iGld
vQy74HGcbg&s" style="width:100%">
//put the img path

 
</div>

<div class="mySlides fade">
  <div class="numbertext">2 / 3</div>
  <img src="https://encrypted-tbn0.gstatic.com/
images?q=tbn:ANd9GcSK1rj2LkV6n_8yrONG6uM
RFkqO50Go6QCoWA&s" style="width:100%">
 
</div>

<div class="mySlides fade">
  <div class="numbertext">3 / 3</div>
  <img src="https://encrypted-tbn0.gstatic.com/
images?q=tbn:ANd9GcTJTmuxXZVu7zqa4T
30zqwAbEnystk-n_8_gg&s" style="width:100%">
 
</div>

</div>

       
<script>
let slideIndex = 0;
showSlides();

function showSlides() {
  let i;
  let slides = document.

getElementsByClassName("mySlides");
  let dots = document.getElementsByClassName
("dot");
  for (i = 0; i < slides.length; i++) {
    slides[i].style.display = "none";  
  }
  slideIndex++;
  if (slideIndex > slides.length)
{slideIndex = 1}    
  for (i = 0; i < dots.length; i++) {
    dots[i].className = dots[i].className.
replace(" active", "");
  }
  slides[slideIndex-1].style.display = "block";  
  dots[slideIndex-1].className += " active";
  setTimeout(showSlides, 2000); //
Change image every 2 seconds
}
</script>

<!-- end contact section -->
 
  <!-- footer section start -->

  <?php include 'footer.php';?>
//link footer page (you are create
a fooder page ,than connet to the php code

  <!-- footer  section Start -->

</body>
</html>

How to create  Home page using  html and CSS ,JS

Output :-

home page


php program to print alphabet pattern F

php program check to even or odd number

Thursday, June 20, 2024

contact us page design

 responsive contact us page design using HTML | CSS

responsive page

responsive contact us page design using HTML | CSS

Source Code :-

HTML Source code:- 

<html>
<body>


<div class="container">
    <div class="content">
      <div class="left-side">
        <div class="address details">
          <i class="fas fa-map-marker-alt"></i>
          <div class="topic">Address</div>
          <div class="text-one">karad</div>
          <div class="text-two">pune</div>
        </div>
        <div class="phone details">
          <i class="fas fa-phone-alt"></i>
          <div class="topic">Phone</div>
          <div class="text-one">+0048 5673
8347</div>
          <div class="text-two">+0026 5656
9678</div>
        </div>
        <div class="email details">
          <i class="fas fa-envelope"></i>
          <div class="topic">Email</div>
          <div class="text-one">
learnprogramminglanguage@gmail.com</div>
          <div class="text-two">
webdesigningtheory@gmail.com</div>
        </div>
      </div>
      <div class="right-side">
        <div class="topic-text">
          <center><i><u><h2>Contact Us
</h2></i></u></center>
          <br>Send us a message</div>
        <p>If you have any work from me or
any types of quries related to my product,
          you can send me message from here.
It's my pleasure to help you.</p>
      <form action="#">
        <div class="input-box">
          <input type="text" placeholder="
Enter your name">
        </div>
        <div class="input-box">
          <input type="text" placeholder="
Enter your email">
        </div>
        <div class="input-box message-box">
        <textarea  rows="9" cols="70">
 Enter  your  Message </textarea>
         
        </div>
        <div class="button">
          <input type="button"
value="Send Now" >
        </div>
      </form>
    </div>
    </div><br><Br>
    <?php include 'footer.php';?>
//connection to footer page use to the
php language
  </div>
</body>
</html>


 CSS Source Code:-

  <head>
    <title>Contact us Page</title>
    <link rel ="stylesheet" href="style.css">
<style>
      *{
        margin:0;
        padding:0;
        box-sizing:border-box;
       
      }
      body{
        width:100%;
        display:flex;
          min height::100vh  ;
          align-item:center;  
                }
                .container{
                  width:85%;
                  border-radius:6px;
                  padding:20px 60px 30px 40px;
        box-shadow:0 5px 10px rgba(0,0,0,0.2);
                }
                .container .content{
                  display:flex;
                  align-items:center;
               justify-content:space-between;
                    }
             .container .content .left-side{
                      width:25%;
                      height: 100px;
                      display:flex;
                      flex-direction:column;
                      align-items:center;
                      margin-top:-300px;
                         position:relative;
                       }
                  .content .left-side::before{
                        content:'';
                        position:absolute;
                        height:70%;
                        width:2px;
                        right:-15;
                        top:50%;
                transform:translateY(-50%);
                       }
        .content .left-side .details{
          margin:14px;
          text-align:center;
                  }              
          .content .left-side .details i{
            font-size:30px;
            color:#3e2093;
            margin-bottom:10px;
               }        
           .content .left-side .details .topic{
            font-size:18px;
            font-weight:500;
           }    
       .content .left-side .details .text-one,
        .content .left-side .details .text-two{
            font-size:14px;
           }
           .container .content .right-side{
            width:75%;
            margin-left:75px;
           }
           .content .right-side .topic-text{
            font-size:23px;
            font-weight:600;
           }
           .right-side .input-box{
            height :50px;
            width:100%;
            margin:12px 0;
           }
           .right-side .input-box input,
           .right-side .input-box textarea{
            height:100%;
            width:100%;
            border:none;
            outline:none;
            font-size:16px;
            background:#F0F1F8;
            border-redius:6px;
            padding:0 15px;
            resize:none;
           }
          .right-side .input-box textarea{
            resize:none;
          }
          .right-side .message-box{
            min-height:110px;
          }
          .right-side .button{
            display:inline-block;
            margin-top:12px;
               }
               .right-side .button input
[type="button"]{
                color:#fff;
                font-size:18px;
                outline:none;
                border:none;
                padding:8px 16px;
                background:#3e2093;
                cursor:pointer;
                transition:all 0.3s ease;
                }
                .button input[type="button"]
:hover{
                  background:#5029bc;
                }
               
                @media (max-width: 820px) {
  .container{
    margin: 40px 0;
    height:130%;
  }
  .container .content{
    flex-direction: column-reverse;
  }
 .container .content .left-side{
   width: 100%;
   flex-direction: row;
   margin-top: 40px;
   justify-content: center;
   flex-wrap: wrap;
 }
 .container .content .left-side::before{
   display: none;
 }
 .container .content .right-side{
   width: 100%;
   margin-left: 0;
 }
}
h2{
  color:blue;
}        

      </style>
</head>

responsive contact us page design using HTML | CSS

Output:-

responsive contact us page

Related Post :-

reset password form

Features of Javascript

php program to print heart star pattern