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

              
                
<link href="https://fonts.googleapis.com/css?family=Dancing+Script:700" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:400,700" rel="stylesheet">

<div>
  <h1>J. R. R. Tolkien</></h1>

<img src="https://res.cloudinary.com/anesbitt93/image/upload/v1526126782/jrr.jpg" alt="J R R Tolkien Sitting in chair" />
  
  <p class="quote"><em>"Not all those who wander are lost."</em></p>
  
<hr>

<h2 class="sub">Early Life</h2>  
  
<p>John Ronald Reuel Tolkien was born on 3 January 1892 in Bloemfontein in the Orange Free State (now Free State Province in South Africa) to Arthur Reuel Tolkien (1857–1896), an English bank manager, and his wife Mabel, née Suffield (1870–1904). As a child, Tolkien was bitten by a large baboon spider in the garden, an event some think later echoed in his stories, although he admitted no actual memory of the event and no special hatred of spiders as an adult.</p>
  
<p>When he was three, he went to England with his mother and brother on what was intended to be a lengthy family visit. His father, however, died in South Africa of rheumatic fever before he could join them. This left the family without an income, so Tolkien's mother took him to live with her parents in Kings Heath, Birmingham.</p>

<p>While in his early teens, Tolkien had his first encounter with a constructed language, Animalic, an invention of his cousins, Mary and Marjorie Incledon. At that time, he was studying Latin and Anglo-Saxon. Their interest in Animalic soon died away, but Mary and others, including Tolkien himself, invented a new and more complex language called Nevbosh. The next constructed language he came to work with, Naffarin, would be his own creation.</p>

<p>In August 1914 the United Kingdom entered the First World War. Tolkien's relatives were shocked when he elected not to immediately volunteer for the British Army. In a 1941 letter to his son Michael, Tolkien recalled, "In those days chaps joined up, or were scorned publicly. It was a nasty cleft to be in for a young man with too much imagination and little physical courage."</p>
  
  <p>Instead, Tolkien, "endured the obloquy", and entered a programme wherein he delayed enlistment until completing his degree. By the time he passed his Finals in July 1915, Tolkien recalled that the hints were "becoming outspoken from relatives". He was then commissioned as a temporary second lieutenant in the Lancashire Fusiliers on 15 July 1915.</p>
  
<hr>
  
<h2 class="sub">The Lord of the Rings</h2>
  
<p>Tolkien spent more than ten years writing the primary narrative and appendices for The Lord of the Rings, during which time he received the constant support of the Inklings, in particular his closest friend C. S. Lewis, the author of The Chronicles of Narnia. Both The Hobbit and The Lord of the Rings are set against the background of The Silmarillion, but in a time long after it.</p>

<p>Tolkien at first intended The Lord of the Rings to be a children's tale in the style of The Hobbit, but it quickly grew darker and more serious in the writing. Though a direct sequel to The Hobbit, it addressed an older audience, drawing on the immense backstory of Beleriand that Tolkien had constructed in previous years, and which eventually saw posthumous publication in The Silmarillion and other volumes. Tolkien's influence weighs heavily on the fantasy genre that grew up after the success of The Lord of the Rings.</p>

<p>The Lord of the Rings became immensely popular in the 1960s and has remained so ever since, ranking as one of the most popular works of fiction of the 20th century, judged by both sales and reader surveys. In the 2003 "Big Read" survey conducted by the BBC, The Lord of the Rings was found to be the UK's "Best-loved Novel". Australians voted The Lord of the Rings "My Favourite Book" in a 2004 survey conducted by the Australian ABC. In a 1999 poll of Amazon.com customers, The Lord of the Rings was judged to be their favourite "book of the millennium". In 2002 Tolkien was voted the 92nd "greatest Briton" in a poll conducted by the BBC, and in 2004 he was voted 35th in the SABC3's Great South Africans, the only person to appear in both lists. His popularity is not limited to the English-speaking world: in a 2004 poll inspired by the UK's "Big Read" survey, about 250,000 Germans found The Lord of the Rings to be their favourite work of literature.</p>

<hr>  
  
<h2 id="wiki">For more information check out the<a href="https://en.wikipedia.org/wiki/J._R._R._Tolkien" target="blank"> Wikipedia entry.</a></h2>
  
</div>
              
            
!

CSS

              
                body {
  background-color: rgb(250, 246, 238);
  max-width: 800px;
  width: 80%;
	margin: 0px auto;
	padding: 20px;
  border-right: 20px solid #000000;
  border-left: 20px solid #000000;
}

img {
  max-width: 100%;
  height: auto;
  width: auto;
}

h1 {
  font-size: 5.0em;
  font-family: Dancing Script;
  text-align: center;
  letter-spacing: -5px;
}


hr {
    border: 0;
    height: 1px;
    background: #333;
    background-image: linear-gradient(to right, #ccc, #333, #ccc);
}

p {
  font-family: Source Sans Pro;
}

#wiki {
  font-family: Source Sans Pro;
  font-size: 1.5em;
}

h2 {
  font-family: Dancing Script;
  font-size: 2.0em;
  text-align: center;
  line-height: 1.5;
}

.quote {
  text-align: center;
}


              
            
!

JS

              
                
              
            
!
999px

Console