Pen Settings

HTML

CSS

CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URL's added here will be added as <link>s in order, and before the CSS in the editor. If you link to another Pen, it will include the CSS from that Pen. If the preprocessor matches, it will attempt to combine them before processing.

+ add another resource

JavaScript

Babel is required to process package imports. If you need a different preprocessor remove all packages first.

Add External Scripts/Pens

Any URL's added here will be added as <script>s in order, and run before the JavaScript in the editor. You can use the URL of any other Pen and it will include the JavaScript from that Pen.

+ add another resource

Behavior

Save Automatically?

If active, Pens will autosave every 30 seconds after being saved once.

Auto-Updating Preview

If enabled, the preview panel updates automatically as you code. If disabled, use the "Run" button to update.

Format on Save

If enabled, your code will be formatted when you actively save your Pen. Note: your code becomes un-folded during formatting.

Editor Settings

Code Indentation

Want to change your Syntax Highlighting theme, Fonts and more?

Visit your global Editor Settings.

HTML

              
                <div class="container-fluid">

  <body class="main1">
    <!--Here is the navigation bar-->
    <nav>

      <button id="btn1" type="button" class="btn btn-info"><a href="#bookmark1">About</a></button>
      <button id="btn2" type="button" class="btn btn-info"><a href="#portfolioheading">Portfolio</a></button>
      <button id="btn3" type="button" class="btn btn-info"><a href="#contact">Contact</a></button>
    </nav>
    <!--Here is the slogan section-->
    <div class="jumbotron" id="slogan">
      <h1>Enjoying the view?</h1>
      <h2>So will your clients.</h2>
    </div>
    <!--Here is the about me section-->
    <div class="row" id="about">
      <div class="col-md-5">
        <img id="profilepic" class="img-circle img-responsive" src="https://lh5.ggpht.com/nU71FjMB2Zcbig6A5pOZL5lqqezBIYI5mo9wHgR-M5aHS2gRUk5FnJqiBlLkW9OEO19h=w300">
      </div>
      <div class="col-md-7">
        <div id="resume">
          <h2 id="bookmark1">About me</h2>
          <ul class="list-group">
            <li class="list-group-item">Need a website designer on a budget?</li>
            <li class="list-group-item">HTML | CSS | Bootstrap | A smattering of JQuery</li>
            <li class="list-group-item">Almost 2 months experience</li>
            <li class="list-group-item">Good sense of humour</li>
            <li class="list-group-item"><img src = 'https://www.codewars.com/users/ARWL2016/badges/large'</li>
          </ul>
        </div>
      </div>
    </div>
    <!--Here is the portfolio section-->

    <div class="container">
      <div class="portfoliocontact">
        <h2 id="portfolioheading">Portfolio</h2>

        <!-- PORTFOLIO ROW  A-->

        <div class="row" id="portfolio">

          <!-- PORTFOLIO ITEM 1 -->

          <div class="col-md-4 portfolioitem">
            <figure>
              <figcaption>Tribute page</figcaption>
              <a href="https://www.w3schools.com" target="_blank"><img class="portfolioitemimage " src="http://thefirenote.com/wp-content/uploads/2013/08/Fairport-Ebbets-field-741.jpg "></a>
            </figure>
          </div>

          <!-- PORTFOLIO ITEM 2 -->

          <div class="col-md-4 portfolioitem">
            <figure>
              <figcaption>Personal Portfolio</figcaption>
              <a href="https://codepen.io/arw2014e5/pen/VKwwWE/?editors=1100" target="_blank">
                <img class="portfolioitemimage" src="http://www.hotel-r.net/im/hotel/ge/seaside-20.jpg"></img>
              </a>
            </figure>
          </div>

          <!-- PORTFOLIO ITEM 3 -->

          <div class="col-md-4 portfolioitem">
            <figure>
              <figcaption>Starry Night</figcaption>
              <a href="https://upload.wikimedia.org/wikipedia/commons/thumb/e/ea/Van_Gogh_-_Starry_Night_-_Google_Art_Project.jpg/970px-Van_Gogh_-_Starry_Night_-_Google_Art_Project.jpg" target="_blank">
                <img class="portfolioitemimage " src="https://upload.wikimedia.org/wikipedia/commons/thumb/e/ea/Van_Gogh_-_Starry_Night_-_Google_Art_Project.jpg/1280px-Van_Gogh_-_Starry_Night_-_Google_Art_Project.jpg "></img>
              </a>
            </figure>
          </div>
        </div>

        <div class="row" id="portfolio">

          <!-- PORTFOLIO ITEM 4 -->

          <div class="col-md-4 portfolioitem">
            <figure>
              <figcaption>Caption goes here.</figcaption>
              <a href="https://upload.wikimedia.org/wikipedia/commons/thumb/e/ea/Van_Gogh_-_Starry_Night_-_Google_Art_Project.jpg/970px-Van_Gogh_-_Starry_Night_-_Google_Art_Project.jpg" target="_blank">
                <img class="portfolioitemimage" src="https://upload.wikimedia.org/wikipedia/commons/thumb/e/ea/Van_Gogh_-_Starry_Night_-_Google_Art_Project.jpg/1280px-Van_Gogh_-_Starry_Night_-_Google_Art_Project.jpg"></img>
              </a>
            </figure>
          </div>

          <!-- PORTFOLIO ITEM 5 -->

          <div class="col-md-4 portfolioitem">
            <figure>
              <figcaption>Caption goes here.</figcaption>
              <a href="https://upload.wikimedia.org/wikipedia/commons/thumb/e/ea/Van_Gogh_-_Starry_Night_-_Google_Art_Project.jpg/970px-Van_Gogh_-_Starry_Night_-_Google_Art_Project.jpg" target="_blank">
                <img class="portfolioitemimage" src="https://upload.wikimedia.org/wikipedia/commons/thumb/e/ea/Van_Gogh_-_Starry_Night_-_Google_Art_Project.jpg/1280px-Van_Gogh_-_Starry_Night_-_Google_Art_Project.jpg"></img>
              </a>
            </figure>
          </div>

          <!-- PORTFOLIO ITEM 6 -->

          <div class="col-md-4 portfolioitem">
            <figure>
              <figcaption>Caption goes here.</figcaption>
              <a href="https://upload.wikimedia.org/wikipedia/commons/thumb/e/ea/Van_Gogh_-_Starry_Night_-_Google_Art_Project.jpg/970px-Van_Gogh_-_Starry_Night_-_Google_Art_Project.jpg" target="_blank">
                <img class="portfolioitemimage" src="https://upload.wikimedia.org/wikipedia/commons/thumb/e/ea/Van_Gogh_-_Starry_Night_-_Google_Art_Project.jpg/1280px-Van_Gogh_-_Starry_Night_-_Google_Art_Project.jpg ">
                </img>
              </a>
            </figure>
          </div>
        </div>
        <div class="row" id="contact">

          <!-- contact ITEM  -->

          <div class="col-md-3">
            <h2 id="contactme">Contact me</h2>
          </div>

          <div class="col-md-6" id="contactbuttons">
            <button id="btn4" type="button" class="btn btn-info btn-lg"><a href="https://i.imgur.com/s85Xa.png" target="_blank"> Gmail </a></button>
            <button id="btn5" type="button" class="btn btn-info btn-lg"><a href="https://i.imgur.com/s85Xa.png" target="_blank"> Github </a></button>
            <button id="btn6" type="button" class="btn btn-info btn-lg"><a href="https://i.imgur.com/s85Xa.png" target="_blank"> Facebook </a></button>
          </div>
          <div class="col-md-3"></div>
        </div>
      </div>
    </div>
  </body>
</div>
              
            
!

CSS

              
                body {
  background: url(http://www.hotel-r.net/im/hotel/ge/seaside-20.jpg) no-repeat;
  background-color: black;
  font-family: "Garamond"; 
}

nav {
  background-color: rgba(255, 255, 255, 0.8);
  position: fixed;
  width: 100%;
  height: auto;
  margin: auto;
  right: 0px;
  z-index: 1;
  color: white;
  text-align: center;
  padding: 10px;
  text-align: right;
}

#slogan {
  position: relative;
  top: 270px;
  font-family: georgia, serif;
  color: black;
  text-align: center;
  background-color: rgba(255, 255, 255, 0.1)
}

#about {
  position: relative;
  top: 550px;
  background-color: black;
  height: auto;
  text-align: center;
  color: white;
}

#profilepic {
  max-height: 250px;
  margin: 80px 100px 50px 70px;
}

#resume {
  border: 10px solid blue;
  font-size: 150%;
  position: relative;
  top: 60px;
}

#resume,
.list-group-item {
  background-color: black;
  text-align: left;
  border: none;
}

#portfolioheading {
  color: white;
  position: relative;
  top: 600px;
}

#portfolio {
  position: relative;
  top: 600px;
  height: auto;
}

.portfolioitem {
  height: 180px;
  width: 330px;
  margin: 10px;
  text-align: center;
  border: 1px solid white;
  overflow: hidden;
}

.portfolioitemimage {
  height: 120%;
  width: 120%;
  margin-left: -14px;
}

figcaption {
  color: white;
}

#contact {
  position: relative;
  top: 650px;
  height: auto;
}

#contactme {
  text-align: left;
  color: white;
  padding: 45px 15px 15px 15px;
}

#contactbuttons {
  padding: 60px 30px 30px 30px;
  text-align: center;
}
              
            
!

JS

              
                $(document).ready(function(){
  var x = $('#portfolioheading').text; 
console.log(x); 
  
})



              
            
!
999px

Console