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

              
                <link href="https://fonts.googleapis.com/css?family=Oswald" rel="stylesheet" type="text/css">

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

<div id="main">
  <h1 id="title">Satoshi Nakamoto</h1>
  <div>The man. The myth. The legend.</div>
  <div id="img-div">
    <img id="image" src="https://cdn-images-1.medium.com/max/800/1*TKs780EbWQBbeyfclRcGBQ.jpeg" alt "img from medium">
    <div id="img-caption">
      Satoshi Nakamoto, inventor of Bitcoin, blockchain technology, and decentralized digital assets.
    </div>
  </div>
  <div id="tribute-info">
    <ul>
      <h3 id="headline">Some interesting facts about the most anonymous man:</h3>
      <li><strong>Unlikely Japanese</strong> - On his P2P Foundation profile as of 2012, Nakamoto claimed to be a 37-year-old male who lived in Japan, but some speculated he was unlikely to be Japanese due to his use of perfect English and his bitcoin software not being documented or labelled in Japanese.</li>
      <li><strong>English terminology</strong> - Occasional British English spelling and terminology (such as the phrase "bloody hard") in both source code comments and forum postings led to speculation that Nakamoto, or at least one individual in the consortium claiming to be him, was of Commonwealth origin.</li>
      <li><strong>Unusual sleep pattern</strong> - Stefan Thomas, a Swiss coder and active community member, graphed the time stamps for each of Nakamoto's bitcoin forum posts (more than 500); the resulting chart showed a steep decline to almost no posts between the hours of 5 a.m. and 11 a.m. Greenwich Mean Time. This was between 2 p.m. and 8 p.m. Japanese time, suggesting an unusual sleep pattern for someone presumably living in Japan.</li>
      <li><strong>Bitcointalk</strong> - Satoshi Nakamoto also created the bitcointalk forum, and posted the first message in 2009 under the pseudonym satoshi.</li>
    </ul>
    <blockquote>
      <p>"He was a brilliant coder, but it was quirky".</p>
      <div>-- Gavin Andresen, former Bitcoin developer.</div>
    </blockqoute>
    <h3>Learn more about <a id="tribute-link" href="https://en.wikipedia.org/wiki/Satoshi_Nakamoto" target="_blank">the inventor of Bitcoin</a>.</h3>
  </div>
</div>

              
            
!

CSS

              
                html,body {
  font-family:"Trebuchet MS", Helvetica, sans-serif;
  text-align:center;
  min-width:360px;
  color:#333;
}
#main{
  margin:30px auto;
  padding:15px;
  border:0px solid;
  border-radius:5px;
  background:#eee;
}
h1 {
  font-family: Oswald;
  font-size: 40px
}
a {
  color: #333;
}
a:hover {
  color: #777;
}
img{
  max-width: 100%; 
  display: block; 
  height: auto;
  margin: auto;
  box-shadow: 0 10px 20px rgba(0,0,0,0.23), 0 6px 6px rgba(0,0,0,0.28);
}
#img-div{
  margin:-5px;
  margin-top:20px;
  width:100%;
}
#img-caption{
  margin:20px;
  font-size: 14px;
}
#headline{
  margin-top:50px;
  text-align:left;
}
ul{
  max-width:550px;
  margin:0 auto;
  text-align:left;
}
li{
  margin: 10px;
}
blockquote{
  font-style: italic;
}
              
            
!

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