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 is required to process package imports. If you need a different preprocessor remove all packages first.

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

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

              
                <head>
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Brandon's First Webpage</title>
</head>

<body style="background-color:yellow" data-spy="scroll" data-target=".navbar" data-offset="50">
  <nav class="navbar navbar-expand-md navbar-dark fixed-top" id="site-nav" style="background-color: #551A8B">
    <div class="navbar-brand" style="padding-left: 40px">
      <a href="#Home"><img src="https://upload.wikimedia.org/wikipedia/commons/b/b7/Mjollnir.png" height="50px"></a><span style="padding-left: 40px">Nine Worlds</span></img>
    </div>
  <div class="nav-button">
    <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#mynav" id="nav-toggler">
      <span class="navbar-toggler-icon"></span>
    </button>
  </div>
    <div class="collapse navbar-collapse" id="mynav">
      <ul class="nav navbar-nav ml-auto" style="padding-right: 40px">
        <li class="nav-item active">
          <a class="nav-link" href="#about-me">About Me</a>
        </li>
        <li class="nav-item active">
          <a class="nav-link" href="#portfolio">Portfolio</a>
        </li>
        <li class="nav-item active">
          <a class="nav-link" href="#contact">Contact</a>
        </li>
      </ul>
    </div>
  </nav>
<div class="container" id="about-me">
  <div id="about-me-text">
    <h1>A love for Outdoors</h1>
    <img id="outdoor" src="https://www.switchbacktravel.com/sites/default/files/images/articles/Colorado%20Outdoors.jpg"></img>
  <p id="metext">I'm Brandon, and I am a general biologist through education and a microbiologist through work experience. I've been learning about how to do front-end development off and on the past several years. I've learned, quit, forgotten, and re-learned material over and over. I'm finally making some progress, but I've yet to dabble earnestly in javaScript. In the past, I had never had a particular reason for learning about web page development. I think the lack of an over-arching goal hindered my ability to trudge through challenging content.</p>
  <p>This second paragraph is purely for filling space, but I decided against using lorem ipsum text. So I'll ramble on about nothing in particular, but of the most importance.  Sometimes it comes to be known to men that things can be unexpected, particularly when that which is unexpected happens.  Few times in my short existence has time likes these passed so serendipitously. Pancakes.</p>
  </div>
</div>
<div class="container" id="portfolio">
  <div id="demo" class="carousel slide" data-rid="carousel">
    <ul class="carousel-indicators">
      <li data-target="#demo" data-slide-to="0" class="active"></li>
      <li data-target="#demo" data-slide-to="1"></li>
      <li data-target="#demo" data-slide-to="2"></li>
  </ul>
  <div class="carousel-inner">
    <div class="carousel-item active">
      <img src="http://theromantic.com/wp-content/uploads/2015/07/outdoor-wallpaper-1024x640.jpg" alt="Los Angeles">
    </div>
    <div class="carousel-item">
      <img src="https://www.travelalaskaoutdoors.com/img/masthead/mountains.jpg" alt="Chicago">
    </div>
    <div class="carousel-item">
      <img src="https://www.switchbacktravel.com/sites/default/files/images/articles/New%20York%20Outdoors.jpg" alt="New York">
    </div>
  </div>
  <a class="carousel-control-prev" href="#demo" data-slide="prev">
    <span class="carousel-control-prev-icon"></span>
  </a>
  <a class="carousel-control-next" href="#demo" data-slide="next">
    <span class="carousel-control-next-icon"></span>
  </a>
  </div>
</div>
<div class="container" id="contact"></div>
</body>
              
            
!

CSS

              
                body {
  margin-top: 78px;
}

#site-nav {
  box-shadow: 0px 2px 2px 0px;
}

.nav-button {
  Padding-right: 50px;
}

li {
  padding-right: 30px;
}

li a:hover {
  background-color: #551A8B;
  box-shadow: 0px 0px 2px 0px;
}

#mynav {
  padding-left: 40px:
}

.container {
  background-color: white;
  height: auto;
  width: auto;
  }

#about-me-text {
  padding: 15px;
}
p{
  text-indent: 35px;
}

#outdoor {
  width: 175px;
  float: left;
  margin-right: 20px;
  padding: 1px;
  border: 1px solid #000000;
}

#portfolio {
  background-color: gray;
  padding-top: 60px;
  padding-bottom: 60px;
}

#demo {
  margin: auto;
  width: 1000px;
}

.carousel-inner img {
   width: 100%;
   height: 100%;
  padding: 1px;
  border: 1px solid #000000;
}

.carousel-item img {
  height: 450px;
}
              
            
!

JS

              
                
              
            
!
999px

Console