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 id="background1" >
  <div id="background2">
  <h1 class="black-text text-primary align-center" ><b><u>Nikola Tesla</u></b></h1>
    <h2>The Most Gifted Inventor in Modern History</h2>
<img class="smaller-image thin-red-border align-center" src="http://www.activistpost.com/wp-content/uploads/2013/06/tesla.jpg">
  
<p class="black-text"><u>Nikola Tesla</u> was a Serbian American inventor, electrical engineer, mechanical engineer, physicist, and futurist best known for his contributions to the design of the modern alternating current (AC) electricity supply system.</p>
<p1 class="header"><b>Nikola Tesla: Life and Accomplishments</b></p1>
    <div id="accomplishments">
  <ul>
    <li>Tesla was born on 10 July 1856 into a Serb family in the village of Smiljan, Austrian Empire.</li>
    <li>In 1882, Tesla moved to France, where he began working for the Continental Edison Company, designing and making improvements to electrical equipment. In June 1884, he emigrated to New York City in the United States. He was hired by Thomas Edison to work at his Edison Machine Works on Manhattan's Lower East Side. Tesla's work for Edison began with simple electrical engineering and quickly progressed to solving more difficult problems.</li>
    <li>After leaving Edison's company Tesla partnered with two businessmen in 1886, Robert Lane and Benjamin Vail, who agreed to finance an electric lighting company in Tesla's name, Tesla Electric Light & Manufacturing.</li>
    <li>Tesla's demonstration of his induction motor and Westinghouse's subsequent licensing of the patent, both in 1888, put Tesla firmly on the "AC" side of the so-called "War of Currents,"an electrical distribution battle being waged between Thomas Edison and George Westinghouse that had been simmering since Westinghouse's first AC system in 1886.</li>
    <li>Starting in 1894, Tesla began investigating what he referred to as radiant energy of "invisible" kinds after he had noticed damaged film in his laboratory in previous experiments (later identified as "Roentgen rays" or "X-Rays").</li>
</ul>
    <p class="quote">Our virtues and our failings are inseparable, like force and matter. When they separate, man is no more-<i>Nikola Tesla<i></p>

<p3> To Read more about his life and accomplishments, please click <a href="https://en.wikipedia.org/wiki/Nikola_Tesla">here</a></p3>
</div></div>
  </div>
  
  <p class="credit"> Written and coded by <a href="https://www.freecodecamp.com/cgrewal">Chetan Grewal</a></p>
            
          
!
            
              #background1{
  background-color:black;
  padding: 40px 40px 40px 40px;
  text-align:center;
  }
  #background2{background-color:#EED1CB;
  padding: 25px;
  }
  
  .black-text{color:black;
  }
  .quote{
  font-family: roman;
  font-size:20px;
  color:grey;
  }
.header{
  font-size:20px;
  font-family: arial;
  width:80%;
  margin:auto;
  }
h1
{font-family: Roman;
  font-size:50px;
}
  #accomplishments{
  text-align:left;
  width:80%;
  margin:auto;
  }
  h2{font-size:20px;}
  
  .smaller-image{width:600px; }
  p1{font-size:15px;
 }
  p3{color:blue;
  font-size:14px;}
  
  .credit{
  text-align:center;
  
  }
            
          
!
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