JavaScript preprocessors can help make authoring JavaScript easier and more convenient. For instance, CoffeeScript can help prevent easy-to-make mistakes and offer a cleaner syntax and Babel can bring ECMAScript 6 features to browsers that only support ECMAScript 5.
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.
You can apply a script from anywhere on the web to your Pen. Just put a URL to it here and we'll add it, in the order you have them, before the JavaScript in the Pen itself.
If the script you link to has the file extension of a preprocessor, we'll attempt to process it before applying.
You can also link to another Pen here, and we'll pull the JavaScript from that Pen and include it. If it's using a matching preprocessor, we'll combine the code before preprocessing, so you can use the linked Pen as a true dependency.
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>
<script src="https://s.codepen.io/assets/libs/modernizr.js" type="text/javascript"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.4.0/css/font-awesome.min.css">
<nav class="navbar navbar-default navbar-fixed-top shadow" id="topnav">
<div class="container-fluid">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#myNavbar" id="toptogglebtn">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="#">Samuel Lair</a>
</div>
<div class="collapse navbar-collapse" id="myNavbar">
<ul class="nav navbar-nav">
</ul>
<form class="navbar-form navbar-right" method="get" action="https://www.bing.com/search" role="search">
<div class="form-group">
<input type="text" class="form-control" placeholder="Web Search" name="q">
</div>
<button type="submit" class="btn btn-default" id="topnavsearchsubmit"><i class="fa fa-search"></i>
</button>
</form>
<ul class="nav navbar-nav navbar-right">
<li><a href="#Home">Home</a></li>
<li><a href="#About">About</a></li>
<li><a href="#Portfolio">Portfolio</a></li>
<li><a href="#Contact">Contact</a></li>
</ul>
</div>
</div>
</nav>
</head>
<body>
<div class="jumbotron" id="Home">
<div class="container-fluid">
<h1 id="title">Samuel Lair</h1>
<h3 id="subtitle">Front End Web Developer</h2>
</div>
</div>
<div class="jumbotron" id="About">
<div class="container-fluid">
<div class="jumbotron shadow" id="abouthdrjmb">
<h2 id="abouthdr">About</h2>
</div>
<div class="row">
<div class="col-xs-4">
<button class="btn btn-primary btn-lg socialbtn socialBtnLft shadow">
<a href="https://github.com/lair001" target="_blank"><i class="fa fa-github"></i> GH</a>
</button>
</div>
<div class="col-xs-4">
<button class="btn btn-primary btn-lg socialbtn socialBtnMdl shadow">
<a href="https://www.linkedin.com/in/samuel-lair-46563097" target="_blank"><i class="fa fa-linkedin-square"></i> LI</a>
</button>
</div>
<div class="col-xs-4 text-center">
<button class="btn btn-primary btn-lg socialbtn socialBtnRght shadow">
<a href="https://www.freecodecamp.com/lair001" target="_blank"><i class="fa fa-fire"></i> FCC</a>
</button>
</div>
</div>
<img src="https://s5.postimg.org/hug4g6b87/profile.jpg" class="img-circle img-responsive shadow cntrimg" id="profileimg">
<div class="jumbotron shadow" id="aboutblurbjumb"
<p>Greetings! I am self a taught front end web developer residing in the Washington, DC area and currently enrolled in freeCodeCamp. My education includes degrees in mathematics, physics, and electrical engineering. Furthermore, I have worked as a software developer for the Air Force and as a patent examiner at the United States Patent and Trademark office. I can bring a wealth of domain knowledge to your project.<br><br>I am available for hire or for contract work.</p>
</p>
</div>
</div>
</div>
<div class="jumbotron" id="Portfolio">
<div class="container-fluid">
<div class="jumbotron shadow" id="portfoliohdrjmb">
<h2 id="portfoliohdr">Portfolio</h2>
</div>
<div class="row">
<div class="col-xs-6">
<div class="thumbnail shadow portfoliothmbn">
<a href="https://codepen.io/lair001/full/OXRwPE/">
<img src="https://s5.postimg.org/7phgqlsnr/C11_Pwebpage2.jpg" class="img-responsive shadow" alt="Screenshot of tribute page for Constantine XI.">
</a>
<div class="text-center portfoliocptn shadow">
Tribute page for Constantine XI.
</div>
</div>
</div>
<div class="col-xs-6">
<div class="thumbnail shadow portfoliothmbn">
<a href="https://codepen.io/lair001/full/OXRwPE/">
<img src="https://s5.postimg.org/7phgqlsnr/C11_Pwebpage2.jpg" class="img-responsive shadow" alt="Screenshot of tribute page for Constantine XI.">
</a>
<div class="text-center portfoliocptn shadow">
Tribute page for Constantine XI.
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-xs-6">
<div class="thumbnail shadow portfoliothmbn">
<a href="https://codepen.io/lair001/full/OXRwPE/">
<img src="https://s5.postimg.org/7phgqlsnr/C11_Pwebpage2.jpg" class="img-responsive shadow" alt="Screenshot of tribute page for Constantine XI.">
</a>
<div class="text-center portfoliocptn shadow">
Tribute page for Constantine XI.
</div>
</div>
</div>
<div class="col-xs-6">
<div class="thumbnail shadow portfoliothmbn">
<a href="https://codepen.io/lair001/full/OXRwPE/">
<img src="https://s5.postimg.org/7phgqlsnr/C11_Pwebpage2.jpg" class="img-responsive shadow" alt="Screenshot of tribute page for Constantine XI.">
</a>
<div class="text-center portfoliocptn shadow">
Tribute page for Constantine XI.
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-xs-6">
<div class="thumbnail shadow portfoliothmbn">
<a href="https://codepen.io/lair001/full/OXRwPE/">
<img src="https://s5.postimg.org/7phgqlsnr/C11_Pwebpage2.jpg" class="img-responsive shadow" alt="Screenshot of tribute page for Constantine XI.">
</a>
<div class="text-center portfoliocptn shadow">
Tribute page for Constantine XI.
</div>
</div>
</div>
<div class="col-xs-6">
<div class="thumbnail shadow portfoliothmbn">
<a href="https://codepen.io/lair001/full/OXRwPE/">
<img src="https://s5.postimg.org/7phgqlsnr/C11_Pwebpage2.jpg" class="img-responsive shadow" alt="Screenshot of tribute page for Constantine XI.">
</a>
<div class="text-center portfoliocptn shadow">
Tribute page for Constantine XI.
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-xs-6">
<div class="thumbnail shadow portfoliothmbn">
<a href="https://codepen.io/lair001/full/OXRwPE/">
<img src="https://s5.postimg.org/7phgqlsnr/C11_Pwebpage2.jpg" class="img-responsive shadow" alt="Screenshot of tribute page for Constantine XI.">
</a>
<div class="text-center portfoliocptn shadow">
Tribute page for Constantine XI.
</div>
</div>
</div>
<div class="col-xs-6">
<div class="thumbnail shadow portfoliothmbn">
<a href="https://codepen.io/lair001/full/OXRwPE/">
<img src="https://s5.postimg.org/7phgqlsnr/C11_Pwebpage2.jpg" class="img-responsive shadow" alt="Screenshot of tribute page for Constantine XI.">
</a>
<div class="text-center portfoliocptn shadow">
Tribute page for Constantine XI.
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-xs-6">
<div class="thumbnail shadow portfoliothmbn">
<a href="https://codepen.io/lair001/full/OXRwPE/">
<img src="https://s5.postimg.org/7phgqlsnr/C11_Pwebpage2.jpg" class="img-responsive shadow" alt="Screenshot of tribute page for Constantine XI.">
</a>
<div class="text-center portfoliocptn shadow">
Tribute page for Constantine XI.
</div>
</div>
</div>
<div class="col-xs-6">
<div class="thumbnail shadow portfoliothmbn">
<a href="https://codepen.io/lair001/full/OXRwPE/">
<img src="https://s5.postimg.org/7phgqlsnr/C11_Pwebpage2.jpg" class="img-responsive shadow" alt="Screenshot of tribute page for Constantine XI.">
</a>
<div class="text-center portfoliocptn shadow">
Tribute page for Constantine XI.
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-xs-6">
<div class="thumbnail shadow portfoliothmbn">
<a href="https://codepen.io/lair001/full/OXRwPE/">
<img src="https://s5.postimg.org/7phgqlsnr/C11_Pwebpage2.jpg" class="img-responsive shadow" alt="Screenshot of tribute page for Constantine XI.">
</a>
<div class="text-center portfoliocptn shadow">
Tribute page for Constantine XI.
</div>
</div>
</div>
<div class="col-xs-6">
<div class="thumbnail shadow portfoliothmbn">
<a href="https://codepen.io/lair001/full/OXRwPE/">
<img src="https://s5.postimg.org/7phgqlsnr/C11_Pwebpage2.jpg" class="img-responsive shadow" alt="Screenshot of tribute page for Constantine XI.">
</a>
<div class="text-center portfoliocptn shadow">
Tribute page for Constantine XI.
</div>
</div>
</div>
</div>
</div>
</div>
<div class="jumbotron" id="Contact">
<div class="container-fluid">
<div class="jumbotron shadow" id="contacthdrjmb">
<h2 id="contacthdr">Contact</h2>
</div>
<div class="jumbotron" id="contactfrmjmb">
<form id="contactform" action="mailto:lair001@gmail.com" method="post" enctype="text/plain" role="form">
<div class="form-group">
<label for="name">Name</label>
<input class="form-control" id="name" name="name" type="text" placeholder="Name">
</div>
<div class="form-group">
<label for="email">Email</label><br />
<input class="form-control" id="email" name="email" type="email" placeholder="Email">
</div>
<div class="form-group">
<label for="phone">Phone Number</label>
<input class="form-control" id="phone" name="phone" type="tel" placeholder="Phone Number">
</div>
<div class="form-group">
<label for="message">Message</label>
<textarea class="form-control" id="message" name="message" rows="5" placeholder="Message"></textarea>
</div>
<button type="submit" class="btn btn-primary shadow" id="contactfrmbtn"><i class="fa fa-paper-plane"></i>
Send</button>
</form>
</div>
</div>
</div>
</div>
</body>
@import url(https://fonts.googleapis.com/css?family=Orbitron);
@import url(https://fonts.googleapis.com/css?family=Open+Sans+Condensed:300);
@import url(https://fonts.googleapis.com/css?family=Open+Sans);
body {
}
.cntrimg {
display: block;
margin-left: auto;
margin-right: auto;
}
.portfoliothmbn {
background-color: #436B95;
border-color: #436B95;
}
.portfolioimg {
}
.portfoliocptn {
background-color: #4169E1;
}
.shadow {
box-shadow: 2px 2px 2px 2px rgba(0,0,0,0.2);
}
.socialbtn {
background-color: #436B95;
width: 80px;
display: block;
margin-bottom: 30px;
}
.socialbtn a{
color: #FFFFFF
}
.socialBtnLft {
margin-left:auto;
}
.socialBtnMdl {
margin-left:auto;
margin-right:auto;
}
.socialBtnRght {
margin-right:auto;
}
#topnav {
background-color: #4169E1;
border-color: #4169E1;
color: #FFFFFF;
}
#topnav .navbar-nav > li > a {
color: #FFFFFF;
font-family: 'Open Sans Condensed', sans-serif;
}
#topnav .navbar-brand {
color: #FFFFFF;
font-family: 'Orbitron', sans-serif;
}
#topnav .navbar-toggle .icon-bar {
background-color: #FFFFFF;
}
#toptogglebtn,
#toptogglebtn:active {
border-color: #4169E1;
background-color: #4169E1;
}
#topnavsearchsubmit,
#topnavsreachsubmit:active {
background-color: #4169E1;
border-color: #4169E1;
color: #FFFFFF;
}
#MainBody {
}
#Home {
background: url(https://s5.postimg.org/ig53ca6af/home.jpg);
background-repeat: no-repeat;
background-position: center center;
background-attachment: fixed;
background-size: cover;
color: #FFFFFF;
font-family: 'Orbitron', sans-serif;
text-align: center;
margin-bottom: 0px;
height: 100vh;
}
#title {
display: inline-block;
border-bottom: 1px solid #FFFFFF;
margin-top: 30vh;
margin-bottom: 0px;
}
#subtitle {
margin-top: 5px;
}
#About {
padding-top: 0px;
background: url(https://s5.postimg.org/d21pqzr6f/about.jpg);
background-repeat: no-repeat;
background-position: center center;
background-attachment: fixed;
background-size: cover;
margin-bottom: 0px;
font-family: 'Open Sans', sans-serif;
color: #FFFFFF;
}
#abouthdrjmb {
background-color: #436B95;
padding-bottom: 5px;
padding-top: 5px;
padding-left: 0px;
padding-right: 0px;
width: 75%;
margin-left: auto;
margin-right: auto;
margin-top: 30px;
text-align: center;
}
#abouthdr {
display: inline-block;
font-family: 'Orbitron', sans-serif;
border-bottom: 1px solid #FFFFFF;
margin-top: 0px;
margin-bottom: 5px
}
#profileimg {
margin-bottom: 30px;
}
#aboutblurbjumb {
background-color: #436B95;
width: 75%;
margin-left: auto;
margin-right: auto;
font-size: 14pt;
}
#Portfolio {
padding-top: 0px;
background: url(https://s5.postimg.org/ysf520klz/portfolio.jpg);
background-repeat: no-repeat;
background-position: center center;
background-attachment: fixed;
background-size: cover;
margin-bottom: 0px;
font-family: 'Open Sans', sans-serif;
color: #FFFFFF;
}
#portfoliohdrjmb {
background-color: #436B95;
padding-bottom: 5px;
padding-top: 5px;
padding-left: 0px;
padding-right: 0px;
width: 75%;
margin-left: auto;
margin-right: auto;
margin-top: 30px;
text-align: center;
}
#portfoliohdr {
display: inline-block;
font-family: 'Orbitron', sans-serif;
border-bottom: 1px solid #FFFFFF;
margin-top: 0px;
margin-bottom: 5px
}
#Contact {
padding-top: 0px;
background: url(https://s5.postimg.org/lll3oqziv/contact.jpg);
background-repeat: no-repeat;
background-position: center center;
background-attachment: fixed;
background-size: cover;
margin-bottom: 0px;
font-family: 'Open Sans', sans-serif;
color: #FFFFFF;
}
#contacthdrjmb {
background-color: #436B95;
padding-bottom: 5px;
padding-top: 5px;
padding-left: 0px;
padding-right: 0px;
width: 75%;
margin-left: auto;
margin-right: auto;
margin-top: 30px;
text-align: center;
}
#contacthdr {
display: inline-block;
font-family: 'Orbitron', sans-serif;
border-bottom: 1px solid #FFFFFF;
margin-top: 0px;
margin-bottom: 5px
}
#contactfrmjmb {
background-color: #436B95;
width: 75%;
margin-left: auto;
margin-right: auto;
}
#contactfrmbtn {
background-color: #4169E1;
border-color: #4169E1;
color: #FFFFFF;
width: 100%;
}
Also see: Tab Triggers