My first website

 <!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>Shailesh Fitness</title>
    <link rel="stylesheet" href="css/style.css">
</head>
<!-- 
<link href="https://fonts.googleapis.com/css2?family=Baloo+Bhaina+2&display=swap" rel="stylesheet"> -->
    <style>
        /* CSS Reseat */
        body {
            font-family'Baloo Bhaina 2', cursive;
            margin0px;
            padding0px;
            backgroundurl('fitness.jpg');
            color:black;
        }

        .left {
            positionabsolute;
            left34px;
            top10px;
            displayinline-block;
            /* border: 2px solid red; */
        }
        .left img{
            width120px;
        }
        .left div{
            text-aligncenter;
        }

        .mid {
          
            displayblock;
            width50%;
            margin20px auto;
            /* border: 2px solid red; */
        }

        .right {
            positionabsolute;
            right34px;
            top20px;
            displayinline-block;
            /* border: 2px solid green; */
        }
        .navbar{
            displayinline-block;
        }

        .navbar li{
            colorwhite;
            displayinline-block;
            font-size15px;
        }

        .navbar li a{
            color:black;
            text-decorationnone;
            padding34px 23px;
        }
        .navbar li a:hover,  .navbar li a.active{
           text-decorationunderline;
           colorgray;
        }
        .btn{
            margin0px 9px;
            colorwhite;
            background-colorblack;
            padding4px 14px;
            border2px solid gray;
            border-radius10px;
            font-size10px;
            cursorpointer;
            font-family'Baloo Bhaina 2', cursive;
        }
        .btn:hover{
            background-colorrgb(133172172); 
        }
        .container{
            /* border: 2px solid green; */
            margin74px 16px;
            padding2px 2px;
            width55%;
            border-radius2px;

        }
        .form-group input{
            text-aligncenter;
            displayblock;
            width364px;
            padding6px;
            border2px solid black;
            margin10px auto;
            font-size18px;
            border-radius23px;
            font-family'Baloo Bhaina 2', cursive;
        }
        .container h1{
            text-aligncenter;
        }
        .container button{
            displayblock;
            width23%;
            marginauto;
        }
    </style>


<body>
    <header class="header">
        <!-- left box for logo -->
        <div class="left">
           <img src="logoimage.png" alt="">
           <div>Shailesh Fitness</div>
        </div>
        <!-- mid box for nav bar -->
        <div class="mid">
            <ul class="navbar">
                <li><a href="#" class="active">Home</a></li>
                <li><a href="#">About Us</a></li>
                <li><a href="#">Fitness </a></li>
                <li><a href="#">Contact Us</a></li>
             </ul>
        </div>
        <!-- right box for buttons -->
        <div class="right">
           <button class="btn">Call Us Now</button>
           <button class="btn">Email Us</button>
        </div>
    </header>
    <div class="container">
        <h1>Join The best gym of gorakhpur now</h1>
        <form action="noaction.php">
            <div class="form-group">
                <input type="text" name="" placeholder="Enter Your name">
            </div>

            <div class="form-group">
                <input type="text" name="" placeholder="Enter Your age">
            </div>

            <div class="form-group">
                <input type="text" name="" placeholder="Enter Your Gender">
            </div>

            <div class="form-group">
                <input type="text" name="" placeholder="Enter Your Email">
            </div>

            <button class="btn">Submit</button>

        </form>
    </div>
</body>

</html>

Comments

Popular posts from this blog

priority_queue

Alignment in css

Queue data structure in c++