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 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

Packages

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.

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

              
                <div class="container-fluid">
  <div class="header row">
    <div class="col-md-8"><h1>MindWhys</h1>
    </div>
    <div class="btn-group col-md-3">
        <a class="btn btn-lg" href="#portfolio">Portfolio</a>
        <a class="btn btn-lg" href="#contact">Contact</a>
    </div>
   </div>
  <div class="background">
    <p><  /  >  <  /  >  <  /  >  <  /  >  <  /  >  <  /  >  <  /  >  <  /  >  <  /  >  <  /  >  <  /  >  <  /  >  <  /  >  <  /  >  <  /  >  <  /  >  <  /  >  <  /  >  <  /  >  <  /  >  <  /  >  <  /  >  <  /  >  <  /  >  <  /  >  <  /  >  <  /  >  <  /  >  <  /  >  <  /  >  <  /  >  <  /  >  <  /  >  <  /  >  <  /  >  <  /  >  <  /  >  <  /  >  <  /  >  <  /  >  <  /  >  <  /  >  <  /  >  <  /  >  <  /  >  <  /  >  <  /  >  <  /  >  <  /  >  <  /  >  <  /  >  <  /  >  <  /  >  <  /  >  <  /  >  <  /  >  <  /  >  <  /  >  <  /  >  <  /  >  <  /  >  <  /  >  <  /  >  <  /  >  <  /  >  <  /  >  <  /  >  <  /  >  <  /  >  <  /  >  <  /  >  <  /  >  <  /  >  <  /  >  <  /  >  <  /  >  <  /  >  <  /  >
    </p>
  </div>
  <div class="content">
    <div class="row">
      <div class="col-md-8"><h2>Teacher - Web Developer - Designer</h2>
        <hr>
        <h3>A self-taught programmer who uses a range of online teaching resources to hone his skills.  Has so far completed courses with Khan Academy, Firehose Project and Free Code Camp.  Is also working through courses provided by Udemy and Lynda.com.</h3>
      </div>
      <div class="col-md-4"><img class="img-responsive me" src="https://i.imgur.com/msBH9v7.jpg" alt="Dan in the desert" />
      </div>
    </div>
      <hr>
      <h2 id="portfolio">Portfolio</h2>
    <div class="row">
      <div class="col-xs-6">
        <div class="well"><h3>Tribute Page</h3>
          <a target="_blank" href="https://codepen.io/MindWhys/full/MJyMBO">
                      <img id="tribute" src="http://www.mamytwink.com/articles/2014/juin/24/doubleagent-wow.jpg" alt="The Neutral Pandaren DoubleAgent" />
                    </a>
          <h4>A tribute page for DoubleAgent.</h4>
        </div>
       </div>
        <div class="col-xs-6">
          <div class="well"><h3>Random Quote Generator</h3><a target="_blank" href="https://codepen.io/MindWhys/full/ggoapZ">
                      <img id="tribute" src="https://source.unsplash.com/4SLz_RCk6kQ/1600x900" />
                    </a>
          <h4>With the ability to tweet quotes!</h4>
          </div>
          </div>
        </div>
      <div class="row">
        <div class="col-xs-6">
          <div class="well"><h3>Show the Local Weather</h3>
            <a target="_blank" href="https://codepen.io/MindWhys/full/RKJLeP/">
                      <img id="tribute" src="https://source.unsplash.com/5477L9Z5eqI/1600x900" />
                    </a>
          <h4>Powered by Dark Sky.</h4>
          </div>
        </div>
      <div class="col-xs-6">
        <div class="well"><h3>Wikipedia Viewer</h3>
          <a target="_blank" href="https://codepen.io/MindWhys/full/YNOwPp/">
                      <img id="tribute" src="https://upload.wikimedia.org/wikipedia/en/thumb/8/80/Wikipedia-logo-v2.svg/1122px-Wikipedia-logo-v2.svg.png" />
                    </a>
          <h4>With random page generator.</h4>
        </div>
       </div>
      </div>
        <hr>
        <h2 id="contact">Contact</h2>
      <div class="row">
        <div class="col-md-6">
          <form method="post" action="mailto:emaildjt@gmail.com" enctype="text/plain">
            <div class="form-group">
              <input type="text" class="form-control" id="nameInput" aria-describedby="nameHelp" placeholder="Enter name">
            </div>
            <div class="form-group">
              <input type="email" class="form-control" id="emailInput" aria-describedby="emailHelp" placeholder="Enter email (This will not be shared with third parties)">
           </div>
           <div class="form-group">
            <input type="tel" class="form-control" id="telephoneInput" aria-describedby="phoneHelp" placeholder="Enter phone number">
            </div>
            <div class="form-group">
              <input type="text" class="form-control" id="messageInput" aria-describedby="messageHelp" placeholder="Enter message">
            </div>
            <input type="submit" value="Send Email" class="btn btn-primary"><a target='_blank'></a></input>
       </form>
      </div>
      <div class="col-md-6">
        <h3>If you have any of the following enquiries:</h3>
          <ul>
            <li>Job offers</li>
            <li>Project requests</li>
            <li>Questions</li>
            <li>Suggestions</li>
            <li>My CV</li>
           </ul>
        <h3>Please submit your interest using the online webform.<br><br>I will reply as soon as possible.</h3>
        </div>
      </div>
  </div>
    <div class="footer row">
    <div class="col-md-6">
      <h2>About this page</h2>
      <h3>Written and coded by <a href="https://www.freecodecamp.com/mindwhys" target="_blank">Daniel Thompson</a></h3>
    </div>
    <div class="social-buttons btn-group col-md-6">
      <h2>Social Media Links</h2>
        <a class="btn btn-lg" href="https://www.facebook.com/daniel.j.thompson.33" target='_blank'>Facebook</a>
        <a class="btn btn-lg" href="https://www.linkedin.com/in/daniel-thompson-33540b134/" target='_blank'>LinkedIn</a>
        <a class="btn btn-lg" href="https://uk.pinterest.com/danielt2754/" target='_blank'>Pinterest</a>
        <a class="btn btn-lg" href="https://emaildjt.wixsite.com/mindwhys" target='_blank'>Website</a>
    </div>
   </div>  
</div>
              
            
!

CSS

              
                .header {
  position: fixed; top:0;
  z-index: 3;
  background-color: #7D132A;
  color: black;
  margin-bottom: 0;
  width: 100%;
}

.background{
  background-color:#DEDDCE;
  color: #56695A;
  position: absolute;
  z-index:1;
  font-size: 95px;
  margin-top: none;
  width: 100%;
}

.content {
  position: absolute;
  z-index:2;
  background-color: #A68C53;
  color: #261A0A;
  text-align: center;
  margin-top: 0;
  margin-left: 12%;
  margin-right: 12%;
  padding-top: none;
  padding: 5%;
  border-style: outset;
  border-color: grey;
  border-width: 4px;
}

.me{
  border-style: outset;
  border-color: grey;
  border-width: 4px;
  margin-left: 25px;
}

hr {
	border-top: 3.5px solid #7D132A;
	text-align: center;
}
hr:after {
	content: '< / >';
	display: inline-block;
	position: relative;
	top: -14px;
	padding: 0 10px;
	background: #DEDDCE;
	color: #7D132A;
	font-size: 18px;
}

.well {
  background-color:#DEDDCE;
  color: #261A0A;
  border-style: outset;
  border-color: grey;
  border-width: 3px;
}

li {
  font-size: 20px;
}
.footer {
  position: absolute;
  z-index: 3;
  top: 1500px;
  background-color: #7D132A;
  color: black;
  margin-bottom: 0;
  width: 100%;
  height: 150px;
  text-align: center;
  padding-top: 20px;
}

#tribute{
  width: 400px;
  height: 200px;
}
              
            
!

JS

              
                
              
            
!
999px

Console