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">
   <h1>F. Scott Fitzgerald</h1>
   <h3>One of the greatest American writers of the 20th century</h3>
  <div class="image">
     <img src="http://www.uglytruthofv.com/wp-content/uploads/2013/05/the-great-gatsby-2013-@-garmsville-3.jpg" alt="The Great Gatsby Poster" />
    <p>Poster of The Great Gatsby - F. Scott Fitzgerald's greatest romantic story.</p>
  </div>
  <p class="content">Francis Scott Key Fitzgerald was born in September 24, 1896. He was an American novelist and short story writer, whose works illustrate the Jazz Age. While he achieved limited success in his lifetime, he is now widely regarded as one of the greatest American writers of the 20th century. Fitzgerald is considered a member of the "Lost Generation" of the 1920s. He finished four novels: This Side of Paradise, The Beautiful and Damned, The Great Gatsby, and Tender Is the Night. A fifth, unfinished novel, The Last Tycoon, was published posthumously. Fitzgerald also authored 4 collections of short stories, as well as 164 short stories in magazines during his lifetime.</p>
  <h2>Timeline of Fitzgerald</h2>
 <ul class="content">
    <li><strong>1909</strong> - His first piece of writing appear in print: A detective story published in the school newspaper.</li>
   <li><strong>1913</strong> - Graduated from the Newman School. Fitzgerald decided to stay in New Jersey to continue his artistic development at Princeton University.</li>
   <li><strong>1913</strong> - Graduated from the Newman School. Fitzgerald decided to stay in New Jersey to continue his artistic development at Princeton University.</li>
   <li><strong>1917</strong> - Dropped out of university to join the Army. Fitzgerald hastily wrote The Romantic Egotist in the weeks before reporting for duty.</li>
   <li><strong>1918</strong> - Discharged from the Army, he moved to New York City. Began working for the Barron Collier advertising agency.</li>
   <li><strong>1920</strong> - <strong>This Side of Paradise</strong> was published. It launched Fitzgerald's career as a writer and provided a steady income. Got married to Zelda Sayre.</li>
   <li><strong>1921</strong> - Their daughter and only child, Frances Scott "Scottie" Fitzgerald, was born. <strong>The Curious Case of Benjamin Button</strong> was published in <em>Tales of the Jazz Age</em>.</li>
   <li><strong>1922</strong> - <strong>The Beautiful and Damned</strong> was published.</li>
   <li><strong>1925</strong> - <strong>The Great Gatsby</strong> was published.</li>
   <li><strong>1926</strong> - Fitzgerald was invited by producer John W. Considine, Jr., to temporarily relocate to Hollywood in order to write a flapper comedy for United Artists.</li>
   <li><strong>1927</strong> - Scott and Zelda moved into a studio-owned bungalow in Hollywood.</li>
   <li><strong>1930</strong> - His wife Zelda was diagnosed with schizophrenia.</li>
   <li><strong>1932</strong> - Zelda was hospitalized at the Phipps Clinic at Johns Hopkins in Baltimore, Maryland.</li>
   <li><strong>1934</strong> - <strong>Tender Is the Night</strong> was published.</li>
   <li><strong>1940</strong> - Fitzgerald died of a heart attack.</li>
   <li><strong>1941</strong> - <strong>The Love of The Last Tycoon</strong>, his unfinished novel was published as <strong>The Last Tycoon</strong>.</li>
  </ul>
  <br/>
  <hr width="75%"/>
  <h3>
  <q><strong>The most nourishing novel [he] read ... a miracle of talent ... a triumph of technique.</strong></q>   
    </h3>
  <p>-- Richard Yates, describing <em>The Great Gatsby</em></p>
  <br/>
  <hr width="75%"/>
  <div class="more"><img src="https://upload.wikimedia.org/wikipedia/commons/2/24/F._Scott_Fitzgerald%2C_1921.png" alt="F.Scott. Fitzgerald profile image."/>
  <h2>To know more about the great author, please click on the button below:</h2>
    <a class="button" href="https://en.wikipedia.org/wiki/F._Scott_Fitzgerald">Take me there</a>
    </div>
</div>
<div class="footer">
  <hr width="100%"/>
  <p>Written and coded by <a href="http://bennythomas.in">Benny Thomas.</a></p>
  </div>


              
            
!

CSS

              
                body{
  font-family:roboto, sans-serif;
}
.container{
  width:70%;
  background-color:#e4e4e4;
  border:none;
  border-radius:5px;
  display:block;
  margin:auto;
  text-align:center;
  padding:15px;
  margin-top:50px;
}
a{
  text-decoration:none;
  color:black;
}
.content {
  width:80%;
  text-align:left;
  display:block;
  margin:auto;
  padding-top:15px;
  line-height:1.5em;
}
.image{
  width:90%;
  display:block;
  margin:auto;
  border:none;
  overflow:hidden;
  border-radius:5px;
  background-color:#fff;
  padding: 3px 3px 3px 3px;
  text-align:center;
}
.image img{
  width:100%;
}
.more{
  width:90%;
  padding-left:100px;
  margin-top:20px;
  margin-bottom:70px;
}
.more img{
  float:left;
  width: 20%;
}
.more h2{
  padding:50px 50px 0 230px;
  text-align:left;
}
.button{
  width: 130px;
  height: 30px;
  background-color:#2b92f5;
  border:none;
  border-radius:5px;
  color:white;
  cursor:pointer;
  display:inline-block;
  padding:5px;
  text-decoration:none;
  line-height:30px;
}
.button:hover{
  background-color:#003daf;
}
.footer{
  padding: 20px;
  width:70%;
  display:block;
  margin:auto;
  text-align:center;
}
              
            
!

JS

              
                
              
            
!
999px

Console