css Audio - Active file-generic CSS - Active Generic - Active HTML - Active JS - Active SVG - Active Text - Active file-generic Video - Active header Love html icon-new-collection icon-person icon-team numbered-list123 pop-out spinner split-screen star tv

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.

            
              <head>
  <meta charset="UTF-8">
  <meta name="description" content="Anton Pretorius, Portfolio">
  <meta name="keywords" content="Anton Pretorius, Portfolio">
  <meta name="author" content="Anton Pretorius">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.1.0/css/font-awesome.min.css">
<link rel = "shortcut icon" href = "https://images.unsplash.com/photo-1499892477393-f675706cbe6e?ixlib=rb-0.3.5&q=80&fm=jpg&crop=entropy&cs=tinysrgb&w=1080&fit=max&s=c230b68c7c887bb9264beeaa3bcad527" />  
</head>
<div id = "navigation" class = "container">
<div id = "icon" class = "col-xs-2">
<img id="paint" src = "http://downloadicons.net/sites/default/files/gallery-icon-53605.png"/>
<em>AJax designs<em>
</div>
<div id = "back" class = "col-xs-offset-9">
<img id = "size" src="https://images.unsplash.com/photo-1461749280684-dccba630e2f6?ixlib=rb-0.3.5&q=80&fm=jpg&crop=entropy&cs=tinysrgb&w=1080&fit=max&s=6d5f72185efb15cfd4e816ecd1a6c966"/>
<h2><a class = "change" href="#hello">about</a></h2>
<h2><a class = "change" href="#info">portfolio</a></h2>
<h2><a class = "change" href="#contact">contact</a></h2>
</div>
</div>
<div id = "content" class = "container-fluid">
<div id = "holder" class = "container text-center">
<div id = "hello">
<h1>Introduction</h1>
<ul>
  <li><i class = "glyphicon glyphicon-menu-right" style = "color:grey"></i>Hi my name is Anton. Im studying towards a full stack developer.</li> 
 <li><li><i class = "glyphicon glyphicon-menu-right" style = "color:grey"></i>Currently building freecodeCamp projects towards this goal.In my free time i enjoy pc games and reading.</li>
 <li><li><i class = "glyphicon glyphicon-menu-right" style = "color:grey"></i>I enjoy doing research towards solving programming problems, that i face when building projects.</li>
 </ul>
</div> 

<h1 id = "info">Portfolio</h1>
<div class = "row">
 <div id= "portfolio" class = "col-xs-4">
 <a href = "https://codepen.io/Ajax-2031/pen/zqqgPd">  <img src = "https://codepen.io/Ajax-2031/pen/zqqgPd/image/small.png" class="img-thumbnail" alt = "FreeCodeCamp Tribute Pge Image"/></a><i class="fa fa-pencil fa-2x" aria-hidden="true"></i><h4>My FreecodeCamp Tribute Page to Walt Disney<h4>
</div>
<div id = "portfolio" class = "col-xs-4">
 <a href="https://codepen.io/Ajax-2031/pen/RGJxrX">  <img src = "https://codepen.io/Ajax- 2031/pen/RGJxrX/image/small.png" class = "img-thumbnail" alt = "FreeCodeCamp Quotes Page Image"></a><i class="fa fa-pencil fa-2x" aria-hidden="true"></i><h4>My FreecodeCamp Quotes Page</h4>
</div>
<div id = "portfolio" class = "col-xs-4">
<a href="https://codepen.io/Ajax-2031/pen/qazJed"><img src = "https://codepen.io/Ajax-2031/pen/qazJed/image/small.png" class = "img-thumbnail" alt = "FreeCodeCamp Local Weather Image"/></a><i class="fa fa-pencil fa-2x" aria-hidden="true"></i><h4>My FreecodeCamp Local Weather</h4>
</div>
</div>
<hr>
<div class = "row">
<div id = "portfolio" class = "col-xs-4">
<a href="https://codepen.io/Ajax-2031/pen/ENYOMx"><img src = "https://codepen.io/Ajax-2031/pen/ENYOMx/image/small.png" class = "img-thumbnail" alt = "FreeCodeCamp Wikipedia Viewer image"/></a><i class="fa fa-pencil fa-2x" aria-hidden="true"></i><h4>My FreecodeCamp Wikipedia Viewer<h4>
</div>
<div id = "portfolio" class = "col-xs-4">
<a href="https://codepen.io/Ajax-2031/pen/oYXoxP"><img src ="https://codepen.io/Ajax-2031/pen/oYXoxP/image/small.png" class = "img-thumbnail"/></a><i class="fa fa-pencil fa-2x" aria-hidden="true"></i><h4>My FreecodeCamp Twitch API</h4>
</div>
<div id = "portfolio" class = "col-xs-4">
<a href="https://codepen.io/Ajax-2031/pen/NvWgXd"><img src ="https://codepen.io/Ajax-2031/pen/NvWgXd/image/small.png" class = "img-thumbnail" alt = "FreeCodeCamp Calculator Image"/></a><i class="fa fa-pencil fa-2x" aria-hidden="true"></i><h4>My FreecodeCamp Calculator</h4>
</div>
</div>
<hr>
<div class = "row">
<div id = "portfolio" class = "col-xs-4">
<a href = "https://codepen.io/Ajax-2031/pen/LjzjYO"><img src ="https://codepen.io/Ajax-2031/pen/LjzjYO/image/small.png" class = "img-thumbnail" alt = "FreeCodeCamp Pomodoro Clock Image"/></a><i class="fa fa-pencil fa-2x" aria-hidden="true"></i><h4>My FreecodeCamp Pomodoro Clock</h4>
</div>
<div id = "portfolio" class = "col-xs-4">
<a href = "https://codepen.io/Ajax-2031/pen/rGeJqx"><img src ="https://codepen.io/Ajax-2031/pen/rGeJqx/image/small.png" class = "img-thumbnail" alt = "FreeCodeCamp Tic Tac Toe Image"/></a><i class="fa fa-pencil fa-2x" aria-hidden="true"></i><h4>My FreecodeCamp Tic Tac Toe Game</h4>
</div>
<div id = "portfolio" class = "col-xs-4">
<a href = "https://codepen.io/Ajax-2031/pen/EbQJBY"><img src ="https://codepen.io/Ajax-2031/pen/EbQJBY/image/small.png" class = "img-thumbnail" alt = "FreeCodeCamp Simo Says Game Image"/></a><i class="fa fa-pencil fa-2x" aria-hidden="true"></i><h4>My FreecodeCamp Simon Says Game</h4>
</div>
</div>
<hr>
<a class = "change" href = "#back"><i class="fa fa-arrow-circle-up" aria-hidden="true"></i>Back to top</a>
  <hr>
  <div id = "decorate">
  <h4 id = "contact">contact me at:</h4>
    <a id = "decorate" href = "#"><i class="fa fa-facebook" aria-hidden="true"></i></a>
    <a  href = "#"> <i class="fa fa-github" aria-hidden="true"></i></a>  
  </div>
 <form action="mailto:antonjpster@gmail.com" method="post" enctype="text/plain" target="_blank">
   <div class = "col-xs-4 col-xs-offset-4">
  <div id = "half" class="input-group">
      <span class="input-group-addon"><i class="glyphicon glyphicon-user"></i></span>
      <input id="email" type="text" placeholder="Name" name="name">
    </div>
	<div id = "half" class="input-group">
      <span class="input-group-addon"><i class="glyphicon glyphicon-envelope"></i></span>
      <input id="email" type="text" placeholder="Email" name="email">
    </div>
	<div id = "half" class="input-group">
      <span class="input-group-addon"><i class="glyphicon glyphicon-pushpin"></i></span>
      <input id="email" type="text" name="Subject" placeholder="subject">
    </div>
	<div id = "half" class="input-group">
      <span class="input-group-addon"><i class="glyphicon glyphicon-pencil"></i></span><textarea rows="5" placeholder= "Message" cols = "40" name="textarea_name"></textarea>
    </div>
	<input type = "submit" value = "send" class = "btn btn-sm btn-primary">
  </div>
  </form> 
</div>
</div>
<div id = "footer" class = "container text-center">
  
</div>
            
          
!
            
              
h1{
  border-bottom: 2px solid black;
  display: inline;
  font-family: 'Source Sans Pro', sans-serif;
  border-bottom-length:120px;
}

#hello ul li{
  padding-left:200px;	
  margin-top:20px;
  font-size:16px;
  list-style-type:none;
  text-align: left;
}

#hello{
width:auto;
padding: 20px 20px 20px 20px;
}

#content a{
  color:inherit;/*keeps text of link black and not blue as normal link.*/
  text-decoration:none;/*No underliment of link*/ 
  cursor:pointer;
  padding:1px;
  font-size:23px;
}

hr{
border:1px solid grey;
align:center;
width:50%;
}

#portfolio{
margin:50px 20px 20px 100px;
width:200px;
height:200px;  
}

#portfolio a img{
   box-shadow: 0 0 2px 1px rgba(0, 140, 186, 0.5);
   max-height: 230px;
   max-width: 230px;
}

#icon{
margin-top:2px;
background-color:white;
height:70px;
width:190px;
border-radius:2px;
}

#paint{
  width:60px;
  height:60px;
}

#size{
  width:60px;
  height:60px;
  border-radius:50%;
  border:2px solid black;
}

#navigation{
  width:1400px;
  height:90px;
  background-color:#4b6663;
  transition:0s 1s;/*Lengthens duration of color change.*/
}


#content{
  width:1400px;
  height:1700px;
  background-color:grey;
}

ul li{
  margin-top:10px;
  margin-bottom:10px;
  list-style-type:none;
}

input{
  width:300px;
}


textarea {
  width: 300px;
  height: 150px;
  resize:none;
}

#footer{
  width:1400px;
  height:80px;
  background-color:#4b6663;
}

h2{
  display: inline-block;
  vertical-align: middle;
  padding:2px;
  font-size:23px;
  font-family: 'Source Sans Pro', sans-serif;
}

#navigation a{
  color:inherit;/*keeps text of link black and not blue as normal link.*/
  text-decoration:none;/*No underliment of link*/ 
  padding:1px;
}

#navigation a:hover{
  background-color:white;
  border:2px solid grey;
}

#navigation a:active{
  background-color:#e6e6fa;
  border:1px solid grey;
  transition:0s;
  cursor:pointer;
}

#decorate a:hover{
  background-color:#e6e6fa;
}

#half{
	margin-top:10px;
	margin-bottom:10px;
}

#holder{
width:1100px;
height:1700px;
background-color:white;
}

            
          
!
            
              $(document).ready(function() {
  $(".change").on("click", function( e ) {

    e.preventDefault();

    $("body, html").animate({ 
      scrollTop: $( $(this).attr('href') ).offset().top 
    }, 1000);

  });
  
  var name = $("input#name").val();
  var email = $("input#email").val();
  var subject = $("input#subject").val();
  var message = $("input#message").val();
  
  
  $.ajax({
    url: "https://antonjpster@gmail.com", 
    method: "POST",
    data: {name: name,
           email: email,
           subject: subject,
           message: message,
          },
    dataType: "json"
});
  
});

            
          
!
999px
🕑 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.
Loading ..................

Console