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="home" id="home">
        <h2>
          <nav>
            <a href=#home class="font">HOME</a>
            <a href=#about class="font">ABOUT</a>
            <a href=#links class="font">LINKS</a>
          </nav>
        </h2>
        <h1 class="font" id ="home">NIKOLA TESLA</h1>
        <img class="nt img-responsive" src="http://hedgehogsvsfoxes.com/new/wp-content/uploads/2014/07/Na-dana%C5%A1nji-dan-umro-je-najve%C4%87i-izumitelj-Nikola-Tesla.jpg">
        <h1 class="q font">"THE MAN WHO INVENTED THE 20TH CENTURY"</h1>
      </div>
      <div class="about">
        <h1 id="about" class="font">ABOUT</h1>
        <header id="info" class="font">Inventor Nikola Tesla was born in July of 1856, in what is now Croatia. He came to the United States in 1884 and briefly worked with Thomas Edison before the two parted ways. He sold several patent rights, including
          those to his alternating-current machinery, to George Westinghouse. His 1891 invention, the "Tesla coil," is still used in radio technology today. Tesla died in New York City on January 7, 1943</header>
      <h1 class="font invint">CHECK OUT HIS INVENTIONS:</h1>
      <div class="row">
        <div class="col-xs-4 col-md-4">
<a href="https://en.wikipedia.org/wiki/Induction_motor"><img class="inventions img-responsive" src="http://davidszondy.com/future/tesla/twophase.jpg"></a>
        </div>
        <div class="col-xs-4 col-md-4">
          <a href="https://en.wikipedia.org/wiki/Tesla_coil"><img class="inventions img-responsive" src="http://cdn.instructables.com/FWT/54M9/GUKAQWT1/FWT54M9GUKAQWT1.MEDIUM.jpg"></a>
        </div>
        <div class="col-xs-4 col-md-4">
          <a href="http://www.teslasociety.com/radio.htm"><img class="inventions img-responsive" src="https://image.jimcdn.com/app/cms/image/transf/none/path/s40c423127565d23a/image/if82ff6a3ee20fc67/version/1430139676/image.jpg"></a>
      </div>
      </div>
    </div>
    <div class="links" id ="links">
      <h1 class="font">LINKS</h1>
      <p class="font" >Find out more about this great man here:</p>
      <div class="row text-center" >
        <div class="col-xs-4 col-md-4 ">
          <a href="https://en.wikipedia.org/wiki/Nikola_Tesla"><img class="l l1 img-responsive" src="https://upload.wikimedia.org/wikipedia/commons/5/53/Wikipedia-logo-en-big.png"></a>
        </div>
        <div class="col-xs-4 col-md-4 link">
          <a href="http://www.biography.com/people/nikola-tesla-9504443"><img class="l l2 img-responsive" src="http://www.armnet.org/content//uploads/Biography.png"></a>
        </div>
        <div class="col-xs-4 col-md-4 link">
          <a href="http://tesla.aziznatour.com/"><img class="l l3 img-responsive " src="http://hedgehogsvsfoxes.com/new/wp-content/uploads/2014/07/Na-dana%C5%A1nji-dan-umro-je-najve%C4%87i-izumitelj-Nikola-Tesla.jpg"></a>
        </div>
      </div>
    </div>
    <div class="footer">
      <footer>
        <h3 class="font">
          Made by Mark Hallman for the Freecodecamp tribute page project.
        </h3>
      </footer>
    </div>
  </div>
              
            
!

CSS

              
                .inventions {
  height:auto;
  width:400px;
  margin:0 auto;
  border:10px solid grey;
}
.font{
font-family: 'Montserrat', sans-serif;
}
p {
  color:#808080;
  font-size:80px;
  text-align:center;
}
.home {
 background:url("http://www.psdgraphics.com/file/dark-metal-texture.jpg");
  margin-left:-20px;
 margin-right:-20px;
}
h1,header {
 color:#808080;
 font-size:80px;
 text-align:center;
}
h2 {
 color:#808080;
 text-align:right;
 margin-top:0;
 margin-right:50px;
}
.nt {
 width:700px;
 height:auto;
 display: block;
 margin-left: auto;
 margin-right: auto;
 border-style: solid;
 border-color: gray;
 border-width: 10px;
}
.q {
 margin-top:80px;
}
a {
 color:inherit;
 text-decoration: none;
}
.about {
 background-image:url("https://electricitysprices.files.wordpress.com/2013/09/electricity1.jpg");
 background-size:cover;
 margin:-20px;
}
#info {
 font-size:50px;
}
.thumbnail {
  height:200px;
 }
.links {
  background-image: url(http://www.fg-a.com/wallpapers/geo-shapes-black-1280.jpg);
  background-size: cover;
  margin:-20px;
  padding-bottom: 300px;
}
.l{
  width:250px;
  height:auto;
  margin:0 auto;
  margin-top: 100px;
}
.l3 {
  border-radius:150px;
 margin-bottom:150px;
}
@media screen and (max-width: 600px) {
    h1 {
        font-size:40px;
    }
}
.footer {
  background-color:rgb(2, 75, 35);
  background-size:cover;
  color:rgb(172, 170, 163);
  padding-bottom: 20px;
  text-align:center;
  margin:-20px;
}

              
            
!

JS

              
                
              
            
!
999px

Console