Final Home Page

CSS Code

css/portfolio.css

    section {
        padding-bottom: 20px;
    }

    section > h2 {
        margin-bottom: 0px;
    }

    section > hr {
        margin-top: 0px;
        border-top: 2px solid #aaa;
    }

    footer {
        padding-top: 60px;
    }

    footer > p {
        padding: 15px;
        background-color: #eeeeee;
    }

HTML Code

index.html

    <!DOCTYPE html>
    <html>
    <head>
        <meta charset="utf-8">
        <meta http-equiv="X-UA-Compatible" content="IE=edge">
        <title>John Doe</title>
        <link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" rel="stylesheet">
        <link rel="stylesheet" href="css/portfolio.css">
    </head>
    <body>
        <nav class="navbar navbar-default">
            <div class="container-fluid">
                <div class="navbar-header">
                    <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1" aria-expanded="false">
                        <span class="sr-only">Toggle navigation</span><span class="icon-bar"></span><span class="icon-bar"></span><span class="icon-bar"></span>
                    </button>
                    <a class="navbar-brand" href="#">John Doe</a>
                </div>

                <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
                    <ul class="nav navbar-nav navbar-right">
                        <li><a href="index.html">Home</a></li>
                        <li><a href="#">About Me</a></li>
                        <li><a href="#">Contact Me</a></li>
                    </ul>
                </div>
            </div>
        </nav>

        <div class="container">
            <!-- This is where our page's content will go -->
                <!-- HEADER -->
                <div class="jumbotron">
                    <h1>Hi, I'm John!</h1>
                    <p>And this is my website</p>
                    <p><a class="btn btn-primary btn-lg" href="#" role="button">Learn more</a></p>
                </div>

                <!-- WHO AM I SECTION -->
                <section id="who-am-i">
                    <h2>Who Am I?</h2>
                    <hr>
                    <p>
                        My name is <strong>John</strong> and I am a made up person for this tutorial. I am 14 years old and have a blue shirt.
                        <a href="#" class="btn btn-primary pull-right">Read More About Me</a>
                    </p>
                </section>

                <!-- WHAT I HAVE BUILT SECTION -->
                <section id="what-i-have-built">
                    <h2>What I have built</h2>
                    <hr>
                    <div class="row">
                        <div class="col-md-6">
                            <div class="panel panel-default">
                                <div class="panel-heading">
                                    <h3 class="panel-title">Arctic Cupcakes Website</h3>
                                </div>
                                <div class="panel-body">
                                    <img src="https://images.unsplash.com/photo-1455731657401-43502b7c1ab9?ixlib=rb-0.3.5&q=80&fm=jpg&crop=entropy&s=42b2363736f20d8f71e79dc501b96b03" class="img-responsive img-thumbnail">
                                    <br>
                                    <p>This is a made up website for a made up company. I built it using the amazing Python language and the Bootstrap framework.</p>
                                </div>
                                <div class="panel-footer">
                                    <a href="https://en.wikipedia.org/wiki/Cupcake" class="btn btn-primary btn-block">See it in action</a>
                                </div>
                            </div>
                        </div>
                        <div class="col-md-6">
                            <div class="panel panel-default">
                                <div class="panel-heading">
                                    <h3 class="panel-title">Super Awesome Sandcastle</h3>
                                </div>
                                <div class="panel-body">
                                    <img src="https://images.unsplash.com/photo-1461598198498-686a2c168484?ixlib=rb-0.3.5&q=80&fm=jpg&crop=entropy&s=360625b50d0d104d8324590ec660206c" class="img-responsive img-thumbnail">
                                    <br>
                                    <p>I built this cool castle in the French Riviera which won a local competition.</p>
                                </div>
                                <div class="panel-footer">
                                    <a href="https://en.wikipedia.org/wiki/French_Riviera" class="btn btn-primary btn-block">Learn more about it</a>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="row">
                        <div class="col-md-6">
                            <div class="panel panel-default">
                                <div class="panel-heading">
                                    <h3 class="panel-title">Essay on Tigers</h3>
                                </div>
                                <div class="panel-body">
                                    <img src="https://images.unsplash.com/photo-1417722009592-65fa261f5632?ixlib=rb-0.3.5&q=80&fm=jpg&crop=entropy&s=b54233b0daeb78466db00e4b71fc888c" class="img-responsive img-thumbnail">
                                    <br>
                                    <p>I wrote a comprehensive essay on the conditions of Tigers in the wild and in captivity today.</p>
                                </div>
                                <div class="panel-footer">
                                    <a href="https://en.wikipedia.org/wiki/Tiger" class="btn btn-primary btn-block">Read the essay here</a>
                                </div>
                            </div>
                        </div>
                        <div class="col-md-6">
                            <div class="panel panel-default">
                                <div class="panel-heading">
                                    <h3 class="panel-title">Trip to San Fransico</h3>
                                </div>
                                <div class="panel-body">
                                    <img src="https://images.unsplash.com/photo-1416184008836-5486f3e2cf58?ixlib=rb-0.3.5&q=80&fm=jpg&crop=entropy&s=e601cebd6e59951584842292cae157d3" class="img-responsive img-thumbnail">
                                    <br>
                                    <p>I photo blogged my recent trip to San Fransico. During the trip I got to see all the major sites, including the Golden Gate bridge, Alcatraz Island, and much more.</p>
                                </div>
                                <div class="panel-footer">
                                    <a href="https://en.wikipedia.org/wiki/San_Francisco" class="btn btn-primary btn-block">See the blog here</a>
                                </div>
                            </div>
                        </div>
                    </div>
                </section>

                <!-- WHERE AM I SECTION -->
                <section id="where-am-i">
                    <h2>Where Am I</h2>
                    <hr>
                    <div id="map">
                        <iframe width="100%" height="350" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="http://www.openstreetmap.org/export/embed.html?bbox=-0.23380279541015625%2C51.458820284989834%2C-0.09235382080078125%2C51.549003795693565&amp;layer=mapnik" style="border: 1px solid #eeeeee"></iframe><br/><small><a href="http://www.openstreetmap.org/#map=13/51.5039/-0.1631">View Larger Map</a></small>
                    </div>
                </section>

                <!-- GET IN TOUCH SECTION -->
                <section id="get-in-touch">
                    <h2>Get In Touch</h2>
                    <hr>
                    <div class="row">
                        <div class="col-md-4">
                            <a href="https://www.facebook.com/acorn.aspirations" class="btn btn-block btn-primary"><span class="glyphicon glyphicon-globe"></span> Facebook</a>
                        </div>
                        <div class="col-md-4">
                            <a href="https://twitter.com/acornaspiration" class="btn btn-block btn-info"><span class="glyphicon glyphicon-bullhorn"></span> Twitter</a>
                        </div>
                        <div class="col-md-4">
                            <a href="mailto:[email protected]" class="btn btn-block btn-success"><span class="glyphicon glyphicon-envelope"></span> Email</a>
                        </div>
                    </div>
                </section>

            <footer class="footer">
                <p class="text-muted">Copyright 2016, John Doe</p>
            </footer>
        </div>

        <!-- Our Javascript Files -->
        <script type="text/javascript" src="https://code.jquery.com/jquery-2.2.3.min.js"></script>
        <script type="text/javascript" src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js"></script>
        <script type="text/javascript" src="js/portfolio.js"></script>
    </body>
    </html>