How to make the Music website using the HTML and CSS (Source Code) || Creating a Website||codeandman

 

Hey guys how are you all today in this post I am going to give you the source code of my video called How to make Music Website Using HTML and CSS so let's begin:

Source code of index.html is here:

<!doctype html>
<html lang = "en-in">
<head>
    <link rel="stylesheet" href="style.css">
    <title>Music Website using HTML and CSS - codeandman</title>
</head>
<body>
    <header>
        <nav>
            <h1>Gautam Sharma</h1>
            <ul>
                <li><a href="#">Home</a></li>
                <li><a href="#">Contact</a></li>
                <li><a href="#">Serivces</a></li>
                <li><a href="#">Blog</a></li>
                <li><a href="#">FAQ</a></li>
            </ul>
        </nav>
        <section>
            <h1>Music as your passion</h1>
            <p>Music is your passion as you all know that the music can change 
                any one life and can do anything
            </p>
        </section>
    </header>
</body>
</html>

The Source code of style.css is given here:

*{
    margin:0;
    padding:0;
    font-family:cursive;
    font-weight:bold;
    font-style:italic;
    box-sizing:border-box;
}
li{
    list-style:none;
}
a{
    text-decorationnone;
    text-transformuppercase;
    color:#0000EE;
}
header{
    height:100vh;
}
nav{
    height:10vh;
    displayflex;
    align-itemscenter;
    justify-contentspace-between;
    /* background:transparent; */
    background:linear-gradient(90deg,aqua 50%rgb(1212555950%);

}
nav h1{
    width:30%;
}
nav ul{
    width:70%;
}
ul{
    displayflex;
    align-itemscenter;
    justify-contentspace-between;
}
header section{
    displayflex;
    align-itemscenter;
    justify-contentcenter;
    height:90vh;
    flex-directioncolumn;
    background:linear-gradient(90deg,aqua 50%rgb(1212555950%);
    
}
section h1{
    width:100vw;
    text-align:center;
}
section p {
    width:40%;
}

I hope guys that you liked this source code.

LIKE AND SHARE THE VIDEO.

ALSO SUBSCIBE TO THE CHANNEL IF YOU HAVEN'T.

THANK YOU.

Comments

Popular posts from this blog

Codes Post - Code And Man

Welcome to the World of Blogging || blogging complete course

Step by step guide to coding a game in Python