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. You can use the CSS from another Pen by using it's URL and the proper URL extention.

+ add another resource


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


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.


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.


                <main id='main'>
  <H1 id='title'> This is a tribute page dedicated to the German Artist Caspar David Friedrich </H1>

  <div id='img-div' >
    <img  id='image' src= '' 
         class='responsive' alt='portrait of Caspar David Friedrich' />

    <div figcaption id='img-caption'> A portrait of Caspar David Friedrich 
    <a id='tribute-link' href=' 'target='_blank'> this page contains more information on Caspar David friedrich </a>

    <p id='tribute-info'> below is a timeline</p>
    <li> 1774: Capsar David Friedrich is born in Greifswald, Germany 
    <li> 1788-1790: Frierich begins creating his earlierst artworks. 
                        <li> 1794: Friedrich begins his stuides at the copenhagan academdy of art. 
                        <li> 1805: Firedich wins a joint prize for two sepia drawings in weimar. 
    <li> 1808: Friedrich's work 'the cross in the mountains' is unveiled to much conseverstry 
       <li> 1810: Freidrich paints the 'abbey in the oak wood' and 'the monk by the sea'
    <li> 1814: Friedrich's work 'The Chassuer in the woods' is presnted at the exhibtion of paritortic art in Dresden to celebrate the city's liberation from Napolean. 
      <li> 1816: Friedch is elected a member of the dresden academdy.
        <li> 1818: Firedich produces the paintings the wanderer above the mist and chalk cliffs on rugen. 
          <li> 1821-1822: two paintings both titled 'moonrise by the sea ' are produced.
  <li> Friedrich paints the stages of life
  <li> 1840: Friedrich dies. 
    <p> sources </p>
    <p> Fredirch, Wolf, N. Taschen, 2015</p>






#image {
  max-width: 100% 
  height: auto;
  display: inline;
.img-container {
  text-align: center;




                // !! IMPORTANT README:

// You may add additional external JS and CSS as needed to complete the project, however the current external resource MUST remain in place for the tests to work. BABEL must also be left in place. 

  - Select the project you would 
    like to complete from the dropdown 
  - Click the "RUN TESTS" button to
    run the tests against the blank 
  - Click the "TESTS" button to see 
    the individual test cases. 
    (should all be failing at first)
  - Start coding! As you fulfill each
    test case, you will see them go   
    from red to green.
  - As you start to build out your 
    project, when tests are failing, 
    you should get helpful errors 
    along the way!

// PLEASE NOTE: Adding global style rules using the * selector, or by adding rules to body {..} or html {..}, or to all elements within body or html, i.e. h1 {..}, has the potential to pollute the test suite's CSS. Try adding: * { color: red }, for a quick example!

// Once you have read the above messages, you can delete all comments.