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.

              <script src="https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js"></script>

<div id="main" class="container">
	<div class="jumbotron vertical-center">
		<h1 id="title" class="text-center">Thomas Edison</h1>
		<h2 class="text-center"><em>The Man Who Lit Up the World</em></h2>
		<div class="img-thumbnail" id="img-div">
			<img id="image" src="http://i1347.photobucket.com/albums/p712/kanpeki_chan/edison-holding-lightbulb_zpsbcss7u7t.jpg" class="img-fluid mx-auto" alt="Thomas Edison holding a light bulb" />
			<p id="img-caption" class="text-center ma-0">Thomas Edison holding a light bulb
		<div id="tribute-info" class="container mx-auto content-area">
			<h3>Here's a time line of Thomas Edison's life:</h3>
				<li><strong>1847</strong> - Born in Milan, Ohio</li>
				<li><strong>1866</strong> - Starts working at Western Union</li>
				<li><strong>1867</strong> - Leaves Western Union</li>
				<li><strong>1869</strong> - Patents the electric vote recorder</li>
				<li><strong>1871</strong> - Marries Marry Stilwell</li>
				<li><strong>1876</strong> - Opens first industrial research lab</li>
				<li><strong>1877</strong> - Completes the model for the first phonograph</li>
				<li><strong>1878</strong> - Patents the first phonograph</li>
				<li><strong>1879</strong> - Improves the carbon filament lamp</li>
				<li><strong>1880</strong> - Patents DC electricity distribution. Founds the Edison Illuminating Company.</li>
				<li><strong>1882</strong> -Nikola Tesla begins working for Continental Edison</li>
				<li><strong>1883</strong> - Edison and Swan United Electric Company (later known as Ediswan) is established</li>
				<li><strong>1884</strong> - Marry Edison dies</li>
				<li><strong>1885</strong> - Nikola Tesla quits working for Edison</li>
				<li><strong>1886</strong> - Marries Mina Miller</li>
				<li><strong>1887</strong> - War of Currents era begins</li>
				<li><strong>1892</strong> - General Electric is established. Edison patents two way telegraph</li>
				<li><strong>1893</strong> - Nikola Tesla and George Westinghouse power the World's Columbian Exposition</li>
				<li><strong>1897</strong> - Receives a patent for the kinetographic camera</li>
				<li><strong>1915</strong> - Tesla and Edison ignored by Nobel Prize committee</li>
				<li><strong>1931</strong> - Dies at the age of 84</li>
			<blockquote class="blockquote">
				<p class="mb-0">"Edison was by far the most successful and, probably, the last exponent of the purely empirical method of investigation."</p>
				<p id="author">&mdash; Nikola Tesla<p>

			<h3>For more details on Thomas Edison's life and achievements, check out his <span><a href="https://en.wikipedia.org/wiki/Thomas_Edison" target="_blank" id="tribute-link">Wikipedia entry</a></span>.</h3>



<footer class="text-center">
	Coded by <a href="https://www.freecodecamp.com/kanpeki" target="_blank">kanpeki</a>
              body {
  margin-top: 60px;

#image {
	display: block;
	max-width: 100%;

#img-caption {
	font-size: .83em;
	margin: 0;
	padding: 5px;

.content-area {
	max-width: 80%;

#author {
	font-size: .85em;
	font-style: italic;

footer {
	padding-bottom: 15px;

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