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. You can use the CSS from another Pen by using it's URL and the proper URL extention.

+ 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">
  <h1 class="text-center"><b>Nikola Tesla</b></h1>
  <p class="text-center">Inventor, Electrical Engineer, Mechanical Engineer, Physicist and Futurist</p>
<div class="center-block picture">  
<img class="img-responsive" src="https://historyrat.files.wordpress.com/2013/01/1-2-1538-25-explorepahistory-a0l3f9-a_349.jpg" alt="Portrait of Nikola Tesla">
 <p class="text-center picture">Portrait of Nikola Tesla</p>
  </div> <!--picture -->
  <div class="row">
    <div class="col-sm-4 facts">
      <h3>Nikola Tesla's Facts:</h3>
      <ul>
        <li><b>Education:</b> Graz University of Technology</li>
        <li><b>Discipline:</b> Electrical and Mechanical Engineering</li>
        <li><b>Significant design:</b> Induction motor, Rotating magnetic field, Tesla coil, Radio remote control vehicle</li>
        <li><b>Awards:</b> Elliot Cresson Medal (1894), Edison Medal (1916), Order of the Yugoslav Crown (1931), University of Paris Medal (1937), The Medal of the University St Clement of Ochrida (1939) </li>
      </ul>
    </div><!--col-sm-4 -->
    <div class="col-sm-7">
      <h3>Here it is a timeline of Nikola Tesla's life:</h3>
      <ul>
        <li><b>July 10, 1856:</b> He was born in Smiljan, Austrian Empire</li>
        <li><b>1870:</b> Received an andvanced education in Engineering and Physics</li>
        <li><b>1884:</b> Worked at the Edison Machine Works in New York City</li>
        <li><b>1888:</b> He created patents for alternating current (AC) induction motor and related polyphase AC</li>
        <li><b>1889:</b> Tesla came uo with his Telsa coil with an air gap instead of insulating material between the primary and secondary windings</li>
        <li><b>July 30, 1891:</b> Tesla became a naturalized citizen.</li>
        <li><b>1891:</b> Tesla patented his Tesla coil</li>
        <li><b>1983:</b> Tesla developed a steam powered reciprocating electricity generator</li>
        <li><b>1895:</b> Edward Dean Adams agreed to help found Nikola Tesla Company</li>
        <li><b>1898:</b> Tesla demonstrated a boat that used a coherer based radio control</li>
        <li><b>From 1890s through 1906</b>, Tesla spent a great amount of time and fortune on a series of projects trying to develop the transmission of electrical power without wires</li>
        <li><b>January 7, 1943:</b> Tesla died in New York</li>
      </ul>
    </div><!--col-sm-7 -->
  </div><!--row -->
  
  <blockquote class="text-center">
    <p>"The world will wait a long time for Nikola Tesla's equal in achievement and imagination."</p>
    <footer>-Edwin Amstrong</footer>
  </blockquote>
  <h4 class="text-center">If you want to know more about Nikola Tesla, read more about him on his <a href="https://en.m.wikipedia.org/wiki/Nikola_Tesla">Wikipedia entry</a></h4>
</div> <!--Container Fluid-->  

 <div class="text-center footer">
    <p>Written by <a href="https://www.freecodecamp.com/evaleriog">Eduardo Valerio</a></p>
</div> <!-- footer --->  
              
            
!

CSS

              
                blockquote{
  font-family:Indie Flower;
  font-size: 25px;
}
h1{
  font-family:Modak;
  margin-top:20px;
  color:#1E90FF;
}
body{background-color:#708090;}
.container-fluid{
  background-color:#DCDCDC;
  margin:10px;
  padding-bottom:10px;
}
.footer{
  color:red;
  padding:5px;
}
img, .caption, h1{
  padding:5px;
  margin:0px;
}
img, .picture{
  background-color:white;
  width:900px;
  heigth:600px;
  border-radius:10px;
}

h3{
  color:#1E90FF;
}

.facts{
  border-radius:5px;
  background-color:#87CEFA;
  margin-left:15px;
}
              
            
!

JS

              
                
              
            
!
999px

Console