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

JavaScript

Babel is required to process package imports. If you need a different preprocessor remove all packages first.

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

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

HTML

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

<div id="main">
  <h1 id="title">Octavia Hill</h1>
<p>Early Social and Environmental Campaigner <br>
~ 
 <br> Co-Founder of National Trust</p>
 
  <div id="img-div">
    <img id="image" src="https://upload.wikimedia.org/wikipedia/commons/f/f4/Octavia-Hill-by-Sargent.jpg">
    <div id="img-caption"><em>Portrait of Octavia Hill by John Singer Sargent (1856–1925),<br>
    scanned from <a href="https://commons.wikimedia.org/wiki/File:Octavia-Hill-by-Sargent.jpg" target="_blank">the Church Times via WikiCommons</em></a></div></div>
  
  <h2 id="tribute-info">Octavia Hill's Life & Achievements</h2> 
<ul>  
  <li><b>1838:</b> Born in Wisbech, Camebridgeshire</li><br>
  <li><b>1846:</b> Move to Finchley, London due to father's misfortunes. She is homeschooled by her mother.</li><br>
  <li><b>1853:</b> Octavia meets John Ruskin and becomes his pupil.</li><br>
  <li><b>1865:</b> She persuades John Ruskin to buy property in Marylebone as housing for the poor. She promises 5% return. This is the social housing model used today ~ a ethical investment project.</li><br>
  <li><b>1866:</b> Ruskin buys more property which Octavia manages. She insists on green outdoor living spaces which she considers of upmost importance for wellbeing.</li><br>
  <li><b>1869:</b> Octavia Hill founds the British Charity Organisation Society today called Family Action which supports disadvantaged families through teaching self-help instead of simple charity giving.</li><br>
  <li><b>1870:</b> She starts a project in which skills of unemployed citizens are matched with outstanding jobs. It also offers small loans to be able to buy tools to start up.</li><br>
  <li><b>1881:</b> Octavia starts her environmental campaigning with being involved in the Smoke Abatement exhibition which lead to the successful passing of the Clean Air Act in 1956. She begins using the expression "Green Belt" which was soon widely adobted.</li><br>
  <li><b>1896:</b> She co-founds The National Trust and buys its first property for 10£.</li><br>
  <li><b>1912:</b> Octavia Hill dies in Marylebone</li><br>
  </ul>
  
<p id="more-octavia">To find out more about Octavia's life please head over to her <a id="tribute-link" href="https://www.nationaltrust.org.uk/features/octavia-hill---her-life-and-legacy" target="_blank">National Trust Page.</a></p>
  
</div>
              
            
!

CSS

              
                
body {
  background: #fffeb3;
  font-family: "Lucida Sans Unicode", "Lucida Grande", sans-serif;
  font-size: 10vw"
}
#main {
  color: #666547;
  text-align: center;
  border-style: solid;
  margin: 5%;
}

a {
  color: #6fab9f;
  
}

#title {
  color: #fb2e01;
  font-style: italic;
  text-transform: uppercase;
  margin: 5% 5% 5% 2%;
}

p {
  margin: auto 10% 5% 10%;
}

#img-div {
  text-align: center;
}

#image {
  max-width: 100%;
  display: block;
  height: auto;
  margin: auto;
  padding: auto;
    
}

#img-caption {
  padding: 1% 2% 2% 2%;
}

#tribute-info {
  color: #fb2e01;
  text-align: center;
}

ul {
 text-align: left;
  max-width: 100%;
 padding: 2% 10% 2% 10%;
  margin: auto 5% auto 10%;
}

#more-octavia {
  color: #fb2e01;
}
#tribute-link {
  font-weigth: bold;
}
              
            
!

JS

              
                
              
            
!
999px

Console