Pen Settings

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

You're using npm packages, so we've auto-selected Babel for you here, which we require to process imports and make it all work. If you need to use a different JavaScript preprocessor, remove the packages in the npm tab.

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

Use npm Packages

We can make npm packages available for you to use in your JavaScript. We use webpack to prepare them and make them available to import. We'll also process your JavaScript with Babel.

⚠️ This feature can only be used by logged in users.

Code Indentation


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.

HTML Settings

Here you can Sed posuere consectetur est at lobortis. Donec ullamcorper nulla non metus auctor fringilla. Maecenas sed diam eget risus varius blandit sit amet non magna. Donec id elit non mi porta gravida at eget metus. Praesent commodo cursus magna, vel scelerisque nisl consectetur et.


<link href="//" rel="stylesheet"></link>

<link href="" rel="stylesheet" type="text/css">

<div class="container-fluid">
<nav id="navbar" class="navbar navbar-default ">
<ul class="no-dots">
  <li class="inline-item"><a href="#">Home</a></li>
  <li id="div1" class="inline-item"><a href="#">About</a></li>
  <li id="#2" class="inline-item"><a href="#">Portfolio</a></li>
  <a href="#"><li id="div3" class="inline-item">Contact</li></a>

  <h1 class="text-center">Web Development made fun</h1>
<div id="about">

  <p><img id="first-image"  src=""> 
Recently, I have started building my first website with wordrpess. I chose a theme but it didn't have all I wanted and, as much as I attempted to find a website tilored to my needs, I could find none. So I started looking for options and ways to customise my webstite. Then I discovered an entire new world and a number of website that offered the opportunity to learn how to code. So, here I am! I guess this page will tell about my journey.</p>
  p.s. I do not look like the man in the picture.</p>

  <section id="portfolio" >
    <h2 class="text-center">Portfolio</h2>
    <img id="second-image" src="">
<div id="contact">
  <h2 class="text-center">Contact</h2>

<div class="container-fluid">
<div class="row">
   <div class="col-xs-4">
    <a href=""> <button style="position: absolute; top:10px;left:100px;  width:250px" class="btn-primary round-button"> <i style="font-size:80px;position:relative; padding: +70px 0px 0px 0px;" class="fa fa-facebook "></i></button></a>
    <div class="col-xs-4">
      <a href=""><button style="position: absolute; top:10px;left:106px;right:290px;
    width:250px "
              class="btn btn-block btn-info round-button "> <i style="font-size:80px;position:relative; padding: +70px 0px 0px 0px" class="fa fa-envelope "></i></button></a>
    <div  class="col-xs-4">
      <a href=""><button style="position: absolute; top:10px;left: 108px;  width:250px" class="btn btn-block btn-danger round-button"><i style="font-size:80px;position:relative; padding: +70px 0px 0px 0px" class="fa fa-linkedin "></i></button><a/>
#navbar{background: white;
  position: fixed;
  width: 75%;
position: fixed;
left: 50%;
margin-left: -37.5%;
.no-dots{list-style: none;
text-align: right;
  letter-spacing: 5px;
  word-spacing: 50px;
margin-right: 150px;
  position: relative;
  top: 40px;
.inline-item{display: inline;
padding: 30px}

h1{font-size: 70px;
   color: #AAAA39;
   font-family: lobster;
   margin-top: 200px;
#about{margin-top: 200px;
       font-size: 25px;

    margin: 0 0 10px 10px;
width: 150px;
  height: 300px;

#portfolio{background-color: #edc70a;
           height: 650px;}

#second-image{ float:left;
width: 600px;
  height: 400px;
border-color: black;

#contact{background-color: #6599FF;
height: 400px;}

    width: 56%;
    padding-bottom: 15%;
    border-radius: 50%;
    border: 2px solid #f5f5f5;
    overflow: hidden;
    background: #3B5998;
    box-shadow: 0 0 3px #3B5998;
🕑 One or more of the npm packages you are using needs to be built. You're the first person to ever need it! We're building it right now and your preview will start updating again when it's ready.