css Audio - Active file-generic CSS - Active Generic - Active HTML - Active JS - Active SVG - Active Text - Active file-generic Video - Active header Love html icon-new-collection icon-person icon-team numbered-list123 pop-out spinner split-screen star tv

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

You're using npm packages, so we've auto-selected Babel for you here, which we require to process imports and make it all work. If you need to use a different JavaScript preprocessor, remove the packages in the npm tab.

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

Use npm Packages

We can make npm packages available for you to use in your JavaScript. We use webpack to prepare them and make them available to import. We'll also process your JavaScript with Babel.

⚠️ This feature can only be used by logged in users.

Code Indentation

     

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.

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.

            
              <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>
            
          
!
            
              .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;
}

            
          
!
999px
🕑 One or more of the npm packages you are using needs to be built. You're the first person to ever need it! We're building it right now and your preview will start updating again when it's ready.
Loading ..................

Console