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.

	<link href="https://fonts.googleapis.com/css?family=Titillium+Web:400i" rel="stylesheet">
	<link href="https://fonts.googleapis.com/css?family=Open+Sans+Condensed:500" rel="stylesheet">
	<link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet">
	<div class="container-fluid">
		<div class="jumbotron container-fluid">
			<h1 class="bg-success text-center">Carl Sagan</h1>
			<h2 class="text-center"><em>The man who has inspired the next generation</em></h2>
			<div class="thumbnail">
				<div class="row">
					<div class="col-sm-8"><img class="img-responsive" src="https://i.ytimg.com/vi/0cuLW8_fw18/maxresdefault.jpg"></div>
					<div class="col-sm-4">
							<p class="quote">Somewhere, something incredible is waiting to be known.</p>
							<p class="quote">We are like butterflies who flutter for a day and think it is forever.</p>
							<p class="quote">For small creatures such as we the vastness is bearable only through love.</p>
							<p class="quote">We're made of star stuff. We are a way for the cosmos to know itself.</p>
								The golden words of inspiration
							<h4>Mr Sagan's Top 5 Achievements</h4>
							<table class="table table-hover">
									<tr id="tableFont">
										<td>Klumpke-Roberts Award</td>
									<tr id="tableFont">
										<td>NASA Distinguished Service Medal</td>
									<tr id="tableFont">
										<td>Pulitzer Prize for General Non-Fiction</td>
									<tr id="tableFont">
										<td>WGA Award Television</td>
									<tr id="tableFont">
										<td>Public Welfare Medal</td>
			<h4 class="text-center">Though truly a bigger than life character, the following achievements are linked to the awards that he has received:</h4>
			<div class="col-xs-12 col-sm-10 col-sm-offset-2 col-md-8 col-md-offset-3" id="achieve">
					<li><strong>1950</strong> Sagan started working as an advisor for NASA</li>
					<li><strong>1962</strong> Mariner 2 confired Sagan's views that venus was dry and very hot</li>
					<li><strong>1966</strong> Sagan publishes his first best-selling book "Intelligent Life in the Universe</li>
					<li><strong>1967</strong> Sagan and Pollack solved the mystery behind the seasonal "darkening" on Mars</li>
					<li><strong>1968</strong> Named director of Cornell's laboratory for Planetary Studies</li>
					<li><strong>1974</strong> With his help, the ARECIBO message has been sent to space</li>
					<li><strong>1980</strong> Carl Sagan's TV series Cosmos had started to air</li>
					<li><strong>1983</strong> He introduced the idea of a "Nuclear Winter"</li>
				<p class="bg-info" id="infoW">For more info visit <a href="https://en.wikipedia.org/wiki/Carl_Sagan" target="_blank">Wikipedia</a></p>
		<footer class="text-center">
			<p>Written and Coded by <a href="https://uk.linkedin.com/in/christian-josan-63921a59" target="_blank">Christian Josan</a></p>
              .quote {
	font-family: 'Titillium Web', sans-serif;
	font-size: 20px;
	word-wrap: break-word;

#tableFont {
	font-family: 'Open Sans Condensed';
	font-size: 17px;

.table-hover tbody tr:hover td, .table-hover tbody tr:hover th {
  background-color: #bed3ff;

#infoW {
	font-size: 20px;
	font-style: italic;
	text-align: right;

#achieve {
	font-family: 'Open Sans Condensed';
	font-size: 18px;
🕑 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.