Skip to main content

Creating Landing Page Website - playlist - codeandman (source code)

Hey guys how are you all Today in this post I am going to give you the source code of my Landing Page website which I created on my YouTube channel Code And Man.

Here is the link to the playlist : Landing Page 

and Here is the source code of that : 

Index.html:

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Landing Page - Code And Man</title>
    <link rel="stylesheet" href="style.css">
</head>
<body>
    <header>
        <nav>

            <div class="left">
                <h2 class="logo">CodeAndMan Coding Classes</h2>
                <p>Learn to code for free!</p>
            </div>
            <div class="right">
                <a href="#">Home</a>
                <a href="#services">Services</a>
                <a href="#pricing">Pricing</a>
                <a href="#onevone">1 v 1 classes</a>
            </div>
        </nav>
        <div class="headersection"><h1>CodeAndMan Coding Classes</h1>
            <p>Lorem ipsum dolor, sit amet consectetur adipisicing elit. Facere, iste. ipsum dolor sit amet, consectetur adipisicing elit. Unde minima, nemo explicabo odio quas blanditiis! Totam illum voluptates eligendi</p>
            <div class="buttons">
                <button>Book Your Trial</button>
                <button>View Pricing</button>
            </div>
        </div>
        </header>

        <h1 class="heading">Our Services</h1>
        <section id="services" class="services">
            <div class="card" id="card">
                <img src="https://images.pexels.com/photos/1708912/pexels-photo-1708912.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=2" alt="classroom">
                <h1>Interactive Classrooms</h1>
                <p>Lorem ipsum dolor, sit amet consectetur adipisicing elit. Facere, iste. ipsum dolor, sit amet consectetur adipisicing elit. Veniam, fugit.</p>
            </div>
            <div class="card" id="card">
                <img src="https://images.pexels.com/photos/7447192/pexels-photo-7447192.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=2" alt="classroom">
                <h1>1 on 1 teaching</h1>
                <p>Lorem ipsum dolor, sit amet consectetur adipisicing elit. Facere, iste. ipsum dolor, sit amet consectetur adipisicing elit. Veniam, fugit.</p>
            </div>
            <div class="card" id="card">
                <img src="https://images.pexels.com/photos/5905893/pexels-photo-5905893.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=2" alt="classroom">
                <h1>Smart Classrooms</h1>
                <p>Lorem ipsum dolor, sit amet consectetur adipisicing elit. Facere, iste. ipsum dolor, sit amet consectetur adipisicing elit. Veniam, fugit.</p>
            </div>
        </section>
        <h1 class="heading">Our Pricing</h1>
        <section id="pricing" class="pricing">
            <div class="pricing_card">
                <h3>Basic</h3>
                <h1>10$</h1>
                <p id="p1">per month</p>
                <div class="shape"></div>
                <!-- ----------------------------------- -->
                <p class="para2">Lorem ipsum dolor sit amet consectetur adipisicing elit. Hic facere in repellat doloribus nobis odio blanditiis quidem? Voluptatem, fuga aut</p>
                <button>Select plan</button>
            </div>
            <div class="pricing_card">
                <h3>Premium</h3>
                <h1>50$</h1>
                <p id="p1">per month</p>
                <div class="shape"></div>
                <!-- ----------------------------------- -->
                <p class="para2">Lorem ipsum dolor sit amet consectetur adipisicing elit. Hic facere in repellat doloribus nobis odio blanditiis quidem? Voluptatem, fuga aut</p>
                <button>Select plan</button>
            </div>

            <div class="pricing_card">
                <h3>Business</h3>
                <h1>150$</h1>
                <p id="p1">per month</p>
                <div class="shape"></div>
                <!-- ----------------------------------- -->
                <p class="para2">Lorem ipsum dolor sit amet consectetur adipisicing elit. Hic facere in repellat doloribus nobis odio blanditiis quidem? Voluptatem, fuga aut</p>
                <button>Select plan</button>
            </div>
        </section>
        <h1 class="heading">
            1 v 1 classes form
        </h1>
        <section id="onevone" class="onevone">
            <form>
                <input type="text" placeholder="Enter Your Name">
                <input type="number" placeholder="Enter Your Number">
                <input type="email" placeholder="Enter Parent's Email">
                <input type="eamil"placeholder="Enter child's email (if any)">
                <textarea placeholder="Enter Data about your child" cols="30" rows="10"></textarea>
                <div class="buttons">
                <input type="submit" value="Send">
                <input type="reset" value="Reset"></div>
            </form>
        </section>
        <footer>
            copyright &copy; codeandmancodingclasses.com
        </footer>
</body>
</html>

Style.css

*{
    margin:0;
    padding:0;
    box-sizing: border-box;
    font-family:Arial, Helvetica, sans-serif;
}
header{
    height: 100vh;
    width:100%;
}
nav{
    display: flex;
    align-items: center;
    justify-content: space-around;
    height:10vh;
    background-color: rgb(230 230 230 / 33%);

}
nav .right{
    width:70%;
    display: flex;
    align-items: center;
    justify-content: space-around;
}
nav a{
    text-decoration: none;
    text-transform: capitalize;
    color:black;
}
.headersection{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    height:90vh;
    background-image: url('https://images.pexels.com/photos/4050291/pexels-photo-4050291.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=2');
    background-size: cover;

}
.headersection h1{
    color: red;

}
.headersection p {
    width:70%;
    color:tomato;
    text-align: center;
}
.buttons button{
    padding:5px;
    border:1px solid tomato;
    background-color: rgba(18, 17, 17, 0.336);
}
.buttons button:hover{
    background-color: rgba(52, 48, 48, 0.628);
    cursor: pointer;
}
.services{
    display: flex;
    height: 80vh;
}
h1.heading{
    border-bottom:3px solid tomato;
    margin-bottom: 7px;
    text-align: center;
}
.card{
    border:0.5px solid rgb(44, 38, 38);
    text-align: center;
    display:flex;
    align-items: center;
    justify-self: center;
    flex-direction: column;
    height:81%;
    margin:0 3px;
}
.card:hover{
    transition: all 0.3s ease-in-out;
    box-shadow: 3px 3px 3px 1px grey;
    margin-bottom: 3px;
}
.card img{
    width:100%;
}
.pricing{
    height:70vh;
    display: flex;
    align-items: center;
    justify-content: space-around;
   

}
.pricing_card{
    background-image:linear-gradient(30deg,purple 10%,aqua 80%);
    display: flex;
    flex-direction: column;
    height: 89%;
    border:1px solid purple;
    text-align: center;
    margin:0px 3px;
}
.shape{
    background-color: white;
    height: 70%;
    width: 100%;
    border-radius: 50%;
}
.para2{
    margin-top:30vh;
}
.pricing_card button{
    width:50%;
    padding:3px 5px;
    margin:auto;
    background-image: linear-gradient(10deg, aqua 10%, rgb(13, 255, 178) 90%);
}
.onevone{
    height: 100vh;
    background:url("https://images.pexels.com/photos/7190886/pexels-photo-7190886.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=2");
    background-size: cover;
    background-position: left;
    background-repeat: no-repeat;
}
.onevone form{
    height: 100%;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
}
.onevone form input{
    outline:none;
    border:none;
    border-bottom:3px solid purple;
    background:none;
    margin: 5px 0;
    color:white;
}
.onevone form textarea{
    outline:none;
    color:white;
    border:3px solid purple;
    box-shadow: 9px 4px 19px 4px grey;
    background:none;
}
.onevone form textarea::placeholder{
    font-weight: bold;
}
.onevone form .buttons input{
    background: orangered;
    cursor:pointer;
    padding:3px;
    font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
    border:none;
    margin: 4px;

}
footer {
    text-align: center;
    font-family: 'Courier New', Courier, monospace;
    font-weight: bold;
    color:white;
    background:black;
    text-shadow: 4px 9px 2px 1px white;
}

So this was the source code so I hope that you liked this playlist and this post.

Thank You.


Comments

Popular posts from this blog

How to create a Personal Portfolio website [source code]

  Hey guys how are you all today in this post I am going to give you the source code of my portfolio website’s part 1st video so let’s begin with this post:- Source code of Index.html file:- <DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Gautam Sharma</title> <link rel="stylesheet" href="../CSS-Files/style.css"> <link rel="stylesheet" href="../CSS-Files/utils.css"> </head> <body> <header> <nav> <li><a href="./index.html">Home</a></li> <li><a href="./Contact.html">Contact</a></li> <li><a href="./Haier.html"

Step by step guide to coding a game in Python

  How to Code a Simple Game in Python Python is a powerful and versatile programming language that can be used for a wide range of applications, including game development. In this tutorial, we will be creating a simple game using the Pygame library in Python. Pygame is a set of Python modules designed for writing video games. It provides functionality for creating 2D graphics, handling events, and playing sounds and music. By the end of this tutorial, you will have a basic understanding of how to create a game using Pygame and Python. Setting up the Development Environment Before we can start coding our game, we must set up our development environment. To do this, we will need to install Python and the Pygame library. If you already have Python installed on your machine, you can install Pygame by running the following command in your terminal: pip install pygame If you don't have Python installed, you can download the latest version from the official Python website. Once you have

How to write youtube channel description

Hey guys how are you all today in this post I am going to tell you that How to write youtube channel description . So if you want to know that how to write youtube channel description  then it is very easy there are simple tips for writing youtube channel description so now without any delay let's begin with this post:- watch the complete video here:-  https://youtu.be/CmZmozRmSFk   so guys if you want to write your channel description then you have to firstly learn that from where you have to edit your YouTube channel description. Firstly you have to open the YouTube Studio  website from there  you have to move to the customization tab. Now you have to go to the basic info option and from here youtube can edit your youtube channel description easily. How to write youtube channel description (Tips) In the first paragraph write a text which welcomes the viewer like the first paragraph of my post. In the second one write about your channel what you cover in that youtube channel etc.