Page 1 of 1

Day 1 -- Code Listings for VSC -- July 20, 2019 : First Website

Posted: Sat Jul 27, 2019 9:44 am
by james
Here is the Listing for the index.html file we created

Code: Select all

<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">

    <link rel="stylesheet" href="./index.css">

    <title>James Site</title>
</head>

<body>

    <h1>This is my site James</h1>

    <p>Lorem ipsum dolor, sit amet consectetur adipisicing elit. Dolorum odit animi laboriosam facilis porro ab
        voluptatem, cum dignissimos minus, nulla voluptatibus itaque optio aliquam. Saepe explicabo deserunt commodi
        iusto aspernatur exercitationem ex tempore perspiciatis fuga obcaecati tenetur dolorem ipsum magni autem labore
        nam, rem et laborum incidunt cupiditate veniam harum tempora consectetur. Tempore architecto aliquid facere
        placeat dicta! Nihil aliquam ducimus odio deleniti ea labore illo, dolorum esse ullam, iure cumque. Deserunt
        molestias placeat, ducimus dignissimos officia unde? Ea odit, ipsum voluptates obcaecati ratione debitis
        incidunt quod fugit rerum adipisci repudiandae ut, tempora non temporibus! Minus autem beatae officiis magni.
    </p>



    <div>
        a;ljdflsjda asldfj salsadlflsaf <br>
        fljsadfj saldfj <br>
        alfdkj slaflsjdaf <br>
        afkdljsa fljsadfjsa <br>

    </div>

    <p  id="test" >  Lorem ipsum dolor sit amet consectetur adipisicing elit. Itaque optio pariatur aperiam odit facere rem
        dicta commodi modi officia dolor?</p>


</body>

</html>
And, here is the linked index.css Cascading Style Sheet file:


Code: Select all

p { color : red;
    background-color: black;
    font-size:  1.5em;
    padding : 15px;       }

#test { color :blue;
        background-color: green;}


div { background-color:  yellow;
        padding 10px;
        margin : 5px;
        width : 50%;
        border : 3px dashed black;
    }
:twisted:

Re: Day 1 -- Code Listings for VSC -- July 20, 2019 : First Website

Posted: Sat Jul 27, 2019 11:18 am
by fkilonzi
Thanks! very helpful.