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

              
                <body>
  <main id="main">
    <h1 id="title"><center>Albrecht D&uumlrer</center></h1>
    <h2><center>The Greatest German Renaissance Artist</center></h2>
    <br>
    <br>
    <br>
    <div id="img-div">
    <center><img display: block; src="https://miro.medium.com/max/1400/1*haop_avTOc4cZb9AMWeYUQ.jpeg" id="image"></center>

    <center><figcaption id="img-caption">This is a self portrait of Albrect D&uumlrer, painted in early 1500, just before his 29th birthday.</figcaption></center>
    </div>
    <br>
    <div class="timeline">
    <h3 id="tribute-info"><center><b>
      Here is a time line of Albrecht D&uumlrer's life</b></center></h3>
    <center><ul>
      <li><b>21 May 1471</b><br>
        The Renaissance artist Albrecht Dürer is born in Nuremberg.</li><br>
      <li><b>1486 - 1489</b><br>
    The Renaissance artist Albrecht Dürer studies as a painter and engraver apprentice under Michael Wolgemut.</li><br>
      <li><b>1492 - 1494</b><br>
    The German Renaissance artist Albrecht Dürer works in Basel providing woodcut prints for books.</li><br>
      <li><b>1494</b><br>
        The German Renaissance artist Albrecht Dürer marries Agnes Fey.</li><br>
      <li><b>1495 - 1497</b><br>
        The German Renaissance artist Albrecht Dürer visits Italy for the first time.</li><br>
      <li><b>1498</b><br>
    The German Renaissance artist Albrecht Dürer creates his series of 15 prints known as The Apocalypse.</li><br>
      <li><b>c. 1500</b><br>
    The German Renaissance artist Albrecht Dürer produces his famous self-portrait now in Munich.</li><br>
      <li><b>1504</b><br>
        The German Renaissance artist Albrecht Dürer paints his Adoration of the Magi.</li><br>
      <li><b>1504</b><br>
        The German Renaissance artist Albrecht Dürer creates his Adam and Eve print.</li><br>
      <li><b>1505 - 1507</b><br>
        The German Renaissance artist Albrecht Dürer visits Italy for a second time.</li><br>
      <li><b>1507</b><br>
        The German Renaissance artist Albrecht Dürer buys his house (now a museum) in Nuremberg.</li><br>
      <li><b>1512 - 1519</b><br>
    The German Renaissance artist Albrecht Dürer works as the court artist of Maximilian I, Holy Roman Emperor.</li><br>
      <li><b>1514</b><br>
        The German Renaissance artist Albrecht Dürer produces his Master Engravings collection.</li><br>
      <li><b>1515</b><br>
    The German Renaissance artist Albrecht Dürer supervises the multiple page print, the Triumphal Arch of Maximilian.</li><br>
      <li><b>1520</b><br>
    The German Renaissance artist Albrecht Dürer is appointed the court artist of Charles V, Holy Roman Emperor.</li><br>
      <li><b>1521</b><br>
        The German Renaissance artist Albrecht Dürer visits Ghent, Bruges, Antwerp, and Cologne.</li><br>
      <li><b>1525</b><br>
    The German Renaissance artist Albrecht Dürer writes Underweysung der Messung, a treatise on geometry.</li><br>
      <li><b>1526</b><br>
        The German Renaissance artist Albrecht Dürer paints his Four Apostles panels.</li><br>
      <li><b>1528</b><br>
    The German Renaissance artist Albrecht Dürer writes his Vier Bücher menschlicher Proportion, a treatise on proportion.</li><br>
      <li><b>6 April 1528</b><br>
The German Renaissance artist Albrecht Dürer dies, possibly as a result of a malarial infection contracted in 1521 when he went to Zeeland in the hopes of seeing a stranded whale.</li>
      </ul></center>
    <br>
   </div>
      <div>
        <center><i><p class="quote">"No single man can be taken as a model for a perfect figure, for no man lives on earth who is endowed with the whole of beauty."<br> --Albrecht D&uumlrer</p></i></center>
      </div>
    <br>
      <center><b><p class="link">For more information about the amazing Albrecht D&uumlrer, check out this link to <a href="https://en.wikipedia.org/wiki/Albrecht_D%C3%BCrer" id="tribute-link" target="_blank">Wikipedia</a>.</p></b></center>
  </main>
  <footer>
  </footer>
</body>
              
            
!

CSS

              
                <style>

body {
  display: block;
  max-width: 100%;
}
h1 {
  background-size: cover;
  font-size: 150px;
}
h2 {
  position: relative;
  bottom: 80px;
}
img {
  display: block;
  max-width: 100%;
}
.timeline {
  height: 1300px;
  margin-left: 80px;
  margin-right: 80px;
}
h3 {
  position: relative;
  top: 40px;
}
ul {
  position: relative;
  top: 60px;
}
.quote {
  position: relative;
  top: 150px;
  margin-left: 240px;
  margin-right: 240px;
}
.link {
  position: relative;
  top: 180px;
  
}
footer {
 
}
</style>
              
            
!

JS

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

/***********
INSTRUCTIONS:
  - Select the project you would 
    like to complete from the dropdown 
    menu.
  - Click the "RUN TESTS" button to
    run the tests against the blank 
    pen.
  - 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. 

              
            
!
999px

Console