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

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

<bdoy id="main">
  
  <header>
    <section id="title">
      <h1>Martin Luther</h1>
      <h2>A tribute to a man who lead the Protestant Reformation.<h2>
        <div id="img-div">
          <figure>
            <img id="image">
          <img src="https://rpmministries.org/wp-content/uploads/2013/10/Luther.png" alt="Martin Luther Portrait">
            <figcaption id="img-caption">
              Portriat of Martin Luther
            </figcaption>
          </figure>
        </div>
        </section>
        </header>
      
  <main>
 <div id="tribute-info">
 <article id="Birth to the Protestent Reformation">
 <h2>Here is what lead to the Protestent Reformation:</h2>
   <ul id="list" class="text-content">
 <li><list> - Marting Luther was born in Germany, on November 10, 1483, to the proud parents of Hans and Margarette Luther.</li>
 <li><list> - July 1505 brought about a life changing experience for Luther, creating a new path away from becoming a lawyer, to becoming a monk.</li>
<li><list> - A life-threating storm would change Martin Luther's life as he knew it. It was during this terrible storm, Luther feared his life and he cried out to St. Anne, the patron saint of miners, "Save me, St. Anne, and I'll become a monk!"</li>
<li><list> - it was then the storm ened and Luther's life was saved.</li>
 <li><list> - Driven by both, fear of hell and the wrath of God, Luther sought life in a monasary to help him find salvation.</li>
<li><list> - Things did not go as Luther had planned, and the religious enlightenment he so desperatly sought, was not immidiately found.</li>
<li><list> - It was at a Catholic church confrence in Rome, Luther, age 27, was asked to be a delegate.</li>
<li><list> - Luther left even more confused and discouraged at the corrupt and immoral action per the Catholic priest.</li>
<li><list> - In attempt to supress his spiritual turmoil, Luther enrolled in the University of Wittenberg.</li>
<li><list> - At the University he earned a doctorate of theology; begining his career as a professor at the very college he earned his degree.</li>
<li><list> - 1513 was the year of spiritual awakening Luther had been longing for.</li>
<li><list> - While studying scripture and preparing class leactures, Luther happened upon the first line of Psalm 22.</li>
<li><list> - Through Psalm 22, Luther discovered the similarities of Christ crying out for mercy on the cross, and Luther's struggles with faith, God, and religion.</li>
<li><list> - "They just will live by faith" Paul's Epistle to the Romans caught Luther's extended attention.</li>
<li><list> - During the time Luther spent focusing on Paul's Epistle to the Romans, a spiritual awakening came over him.</li>
<li><list> - Luther discovered, it wasn'tfear of God or being enslaved by religious doings that lead to spiritual awakening.</li>
<li><list> - Rather, Luther discovered faith alone would bring salvation.</li>
<li><list> - A major change came fo the discovery of true spiritual salvation, setting forth the Protesent Reformation.</li>
       </ul>
    </article>
   <hr/>
   <article id="tribute" class="text content">
     <p><em>"Martin Luther's persistence to find spiritual salvation changed Christianity as we know it. Without his Protesent Reformation, our worlds could look very different."</em></p>
   </article>
   <hr/>
    </div>
      </main>
      
      <footer>
        <div id="footer-content">
          <section>When you have time, be sure to read more about Martin Luther at <a href="https://en.m.wikipedia.org/wiki/Martin_Luther" id="tribute-link" target="_blank">Wikipedia entry</a>
          </section>
        </div>
      </footer>
      </body>
                              
                                
                       
                                
                                
        
          
              
            
!

CSS

              
                body {
  background-color: rgb(128,128,128);
  margin: 0 0 30px 0;
}
h1,
h2,
p {
  text-align: center;
}
h1{
  font-family: "Great Vibes", cursive;
  font-size: 70px;
  margin-bottom: 0px;
}
h2 {
  font-family: "Merri weather", serif;
  font-size: 30px;
  margin: 0 atuo 10px auto;
  width: 80%;
}

p{
  font-family: "Source Sans Pro", sans-serif;
  font-size: 30px;
}

ul{
  margin: auto;
  max-width: 500px;
}

li{
  font-family: "Sourcs Sans Pro", sans-serif;
  font-size: 25px;
  margin: 20px 0;
}

#main {
  background-color: rgb(128,128,128);
  padding: 10px
}

#img-div {
  background-color: white
    border-raius: 5px;
  margin: 40px auto 60px auto;
  width: 60%;
}
figure {
  margin: auto;
  padding: 50px;
  width: 90%;
}
#image {
  display: block;
  margin: 40px auto 20px auto;
  max-width: 100%;
 
}
figcaption {
  font-family: "Source Sans Pro" sans-serif;
  font-size: 20px;
  margin-bottom: 20px;
}

#tribute-info {
  margin-bottom: 20px;
}

.link-text {
  font-famaily: "Source Sans Pro", sans-serif;
  font-size: 30px;
  margin: 0 auto 10px auto;
  text-align: center;
  width: 80%;
}

#tribute-link {
  text-decoration: none;
}

@media(max-width: 400px){
  
}



              
            
!

JS

              
                // !! IMPORTANT README:

// You may add additional external JS and CSS as needed to completLue 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