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 includes JSX processing.

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

Packages

Add Packages

Search for and use JavaScript packages from npm here. By selecting a package, an import statement will be added to the top of the JavaScript editor for this package.

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

              
                <!--  scrollable-area -->
  
<body data-spy="scroll" data-target=".navbar" data-offset="50">

  <!--  Navbar  -->
  <nav class="navbar navbar-inverse navbar-fixed-top">
  <div class="container-fluid">
    <div class="navbar-header">
        <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#myNavbar">
          <span class="icon-bar"></span>
          <span class="icon-bar"></span>
          <span class="icon-bar"></span>
      </button>
         <a class="navbar-brand" href="#">Home</a>
    </div>
    <div>
      <div class="collapse navbar-collapse" id="myNavbar">
        <ul class="nav navbar-nav font-main navbar-right">
          <li><a href="#section1">About</a></li>
          <li><a href="#section2">Portfolio</a></li>
          <li><a href="#section3">Contact</a></li>
        </ul>
      </div>
    </div>
  </div>
</nav>

  
  <!-- About -->
  <div id="section1">
    <div class="container">
      <div class="jumbotron">
        <div class="row">
          <div class="col-sm-7 font-main text-center">
            <h1>About me</h1>
            <h1></h1>
            <h4>Student in Computer Science</h4>
            <h4>Living in Darmstadt, Germany</h4>
            <h4>Knowledge: HTML, CSS, Java, JavaScript</h4>
          </div>
          <div class="col-sm-4 col-sm-offset-1">
            <img class="img-circle center-block" src="https://scontent.xx.fbcdn.net/t31.0-8/1795306_275907875905247_680841651_o.jpg" width="250" heigth="250" alt="Photo of me">
          </div>
        </div>
      </div>
    </div>
  </div>

  
  
  <!-- Portfolio -->
  <div id="section2">
    <div class="container">
      <div class="jumbotron">
        <div>
          <h1 class="text-center font-main" >Portfolio</h1>
          <h1></h1>
          <div class="row">
            <div class="col-sm-offset-1 col-sm-5">
              <a href="https://s.codepen.io/v4/debug/XjKoxm/">
                <img class="img-rounded img-responsive" src="https://scontent.xx.fbcdn.net/t31.0-8/14409662_651587855003912_9188596229925894359_o.jpg" alt="First project: tribute-page to Dr. Norman Borlaug" >
              </a>
            </div>
            <div class="col-sm-5">
              <a href="https://s.codepen.io/v4/debug/rrjGWg/">
                <img class="img-rounded img-responsive" src="https://scontent.xx.fbcdn.net/t31.0-8/14425432_651587795003918_7221572427304974416_o.jpg" alt="Quote-Generator" >
              </a>
            </div>
          </div>
          <div> 
            <h3></h3>
          </div>
          <div class="row">
            <div class="col-sm-offset-1 col-sm-5">
              <a href="https://s.codepen.io/v4/debug/XjRjQP">
                <img class="img-rounded img-responsive" src="https://scontent.xx.fbcdn.net/t31.0-8/14468331_651586245004073_529241375032706274_o.jpg" alt="Quote-Generator"></a>
            </div>
          </div>
        </div>
      </div>
    </div>
  </div>
  
  
  
  
  
  <!-- Contact -->
  <div id="section3">
    <div class="container">
      <div class="jumbotron font-main">
        <h1 class="text-center" >Contact me</h1>
        <h1></h1>
        <div class="row">
          <div class="col-sm-8 col-sm-offset-2">
            <h4>Name:</h4>
            <input class="form-control input-lg" type="text">
            <h4>Email Adress:</h4>
            <input class="form-control input-lg" type="text">
            <h4>Message:</h4>
            <textarea class="form-control" rows="4"></textarea>
              <button type="button" class="btn btn-primary btn-lg">Send</button>
          </div>
        </div>
      </div>
    </div>
  </div>

</body>
  
</div>

<div class="container-fluid before-bottom">
  <div class="row text-center font-main ">
    
    <div class="col-sm-5 col col-sm-offset-1">
      <h4>About this page</h4>
      <h5>Coded with <a href="https://www.youtube.com/channel/UCgMyPaCx5-LkEx_54Ul9f-A"><i class="material-icons" id="music_note">music_note</i></a></h4>
    </div>
    
    <div class="col-xs-4">
      <h4>Social Media</h4>
      <div class="row block-center">
        <div class="col-sm-4">
          <a href="https://www.facebook.com/vladislav.trs"><i class="fa fa-facebook circle"></i></a>
        </div>
      </div>
    </div>
  </div>
</div>

<div class="container-fluid bottom">
 <h4 class="text-center font-main">Written and coded by <a href="https://www.freecodecamp.com/dracul3a">vl4d</a>.</h4>
</div>


              
            
!

CSS

              
                .navbar {
  background-color: #222;
}

#section1 {
  padding-top: 60px;
}

.navbar-brand {
  font-family: Lobster;
}

.font-main {
  font-family: Ubuntu;
}

.before-bottom {
  paddin-top: 40px;
  padding-bottom: 40px;
}

.bottom {
  padding-top: 40px;
  background-color: #222;
  color:  #fff;
  padding-bottom: 40px;
}

.img-rounded {
  width: 512;
  height: 384;
}
	
.circle{
	border-radius: 50%;
	margin: 0.15em;
	font-size: 3em;
	}
	
.fa-facebook{
	background: #3B5998;
	color: #FFFFFF;
  padding: 0.05em 0.3em;
	}

#music_note {
  border-radius: 50%;
	font-size: 2.5em;
}

              
            
!

JS

              
                
              
            
!
999px

Console