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. You can use the CSS from another Pen by using it's URL and the proper URL extention.

+ add another resource


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


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.


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.


<nav class="navbar sticky-top navbar-expand-lg navbar-dark">
  <a class = "navbar-brand" href="#" data-value="home">Home</a>
  <button class ="navbar-toggler" type = "button" data-toggle = "collapse" data-target = "#navbarSupportedContent" aria-controls="#navbarSupportedContent" aria-expanded="false">
  <span class = "navbar-toggler-icon"> </span> 
  <div class = "collapse navbar-collapse"  id="navbarSupportedContent" >
    <ul class="navbar-nav mr-auto">
  <li class="nav-item">
      <a class="nav-link" href="#" data-value="portfolio">Portfolio</a>
      <li class="nav-item">
  <a class="nav-link" href="#" data-value="contact">Contact</a>
     <!-- <li class="nav-item dropdown">
        <a class="nav-link dropdown-toggle" href="#" id="navbarDropdown" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">Dropdown
        <div class="dropdown-menu" aria-labelledby="navbarDropdown">
          <a class="dropdown-item" href="#">item</a>
          <a class="dropdown-item" href="#">item</a>
          <div class="dropdown-divider"></div>
          <a class="dropdown-item" href="#">another item</a>
      </li> -->
    <!--<form class="form-inline my-2 my-lg-0">
      <input class="form-control mr-sm-2" type="search" placeholder="Search" aria-label="Search">
      <button class="btn btn-success my-2 my-sm-0" type="submit">Search</button>  
    </form> -->

<!-- header -->
<div class="jumbotron" id="home">
  <h1 class="align-middle">Design By Osmosis</h1>
  <hr class="my-4">
  <p class="text-left">I'm not really a front end web developer.  I work in horticulture but am learning the basics of web programming. I hope to enter this exciting industry in the next 2 years.</p>
<div class="portfolio" id="portfolio">
  <h2 class="text-center" id="portfolioTitle">
    <div class="container" id="inside-border">
       <div class="row">
        <div class="col-lg-4 col-md-4 col-sm-12 col-xs-12" ><a href="" target="_blank" ><img src="" alt="tribute dave mustaine"class="img-fluid" id = "portFolioImage"><figcaption class="figure-caption">Tribute page</figcaption></a>
    <div class="col-lg-4 col-md-4 col-sm-12"><a href="" target="_blank"><img src="" alt="simple side scroller game" class="img-fluid" id = "portFolioImage"><figcaption class="figure-caption">Side scroller game</figcaption></a>
    <div class="col-lg-4 col-md-4 col-sm-12">
    <a href="" target="_blank"><img src="" alt="pong tutorial" id = "portFolioImage"><figcaption class="figure-caption">Pong</figcaption></a>

<!--contact form-->
<div class="contact-form" id="contact">
  <div class="container">
  <form action="/">
    <div class="row">
      <div class="col-lg-4 col-md-4 col-sm-12">
        <h2>Get in Touch</h2>
        <hr class="my-2">
        <p> Contact form for display purposes only</p>
      <div class="col-lg-8 col-md-8 col-sm-12 right">
      <div class="form-group">
        <input type="text" class="form-control form-control-lg" placeholder="Your name" name="">
        <div class="form-group">
        <input type="email" class="form-control form-control-lg" placeholder="" name="email">
        <div class="form-group">
        <textarea class="form-control form-control-lg" placeholder="Your message">    </textarea>
<!--social media links-->
<footer class="container" id="socials">
<div class="row" >
<div class="col">
  <a href="" target="_blank"><i class="fab fa-google-plus fa-2x" ></i></a>
  <div class="col">
    <a href="" target="_blank"><i class="fab fa-facebook fa-2x"></i></a>
  <div class="col">
    <a href="" target="_blank"><i class="fab fa-linkedin fa-2x"></i></a>
<!--<ul class="fa-ul">
  <li class="fa-li"><i class="fa fa-upload" title="Upload"></i> Upload </li>
  <li class="fa-li"><i class="fa fa-times"  title="Delete"></i> Delete</li>
  <li class="fa-li"><i class="fa fa-edit"  title="Edit"></i> Edit </li>
</ul> -->


                * {
    box-sizing: border-box;
  background-color: #2F4454

nav {
  background-color: none;
  font-family: 'Rubik', sans-serif;
#home {
  width: 99%;
  border: 4px solid #376E6F;
  margin: 0 0.5em -3.5em 0.5em;
main {
  color: rgb(255, 255, 255);
font-family: 'Open Sans', sans-serif;
  background: none;
  margin-top: 0px;
  margin-bottom: -80px;

h1 {
  font-family: font-family: 'Trirong', serif;
  font-weight: bold

  border-top: 2px solid #376E6F; 
  background-color: #376E6F;
  margin: 4em 0;
  position: relative;
  padding-top: 2em;
  padding-bottom: 2em;
h2  {
  color: 218, 123, 147 !important; 
.portfolio img{
  height: 15rem;
  margin: 1em;
  border: 4px solid rgba(28, 51, 52, 0.3); 

#socials {
  margin-top: 1em;
  margin-bottom: 1em;

#portFolioImage:hover {
    box-shadow: 0 0 10px 1px rgba(0, 140, 186, 0.5);
   opacity: 0.8;

.fab {
  display: inline;
  color: #376E6F;
.figure-caption {
  text-align: center;
footer {
  background-color: #1C3334


      $(".navbar a").click(function(){
   scrollTop:$("#" + $(this).data('value')).offset().top