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

              
                <script src="https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js"></script>
<link href="https://fonts.googleapis.com/css?family=Concert+One" rel="stylesheet">
  
 <body>
   <div id="main">
     <div id="title">
<h1 align="center" class="stein">Albert Einstein</h1>
<h2 align="center">Theoretical Physicist</h2>

       <!--start of image div --> 
       <div id="img-div">
       <img id="image"  src="https://www.biography.com/.image/t_share/MTE5NDg0MDU0OTU2OTAxOTAz/albert-einstein-9285408-1-402.jpg"  width="250px"  height="250px" class="center"  alt="picture of albert einstein">
  <div id="img-caption" style="text-align:center">
    Albert Einstein
  </div>
  
  
  </div>
     </div>
     
   </div>

<!-- bio start -->
<div align="center" id="tribute-info">
  <div class="info">
<h3>Bio</h3>
<ul class="timeline">
  <li>
    Born March 1879 – 18 April 1955
  </li>
  <li>
    Developed theory of relativity
  </li>
    <li>
    Also known for his formula E = mc2
  </li>
  <li>
    Became an American Citizen in 1940
  </li>
  <li>
    Published more than 300 scientific papers
  </li>
 </ul>
  </div>
</div>
<!-- bio end -->


<!-- quote start -->
<div align="center">
  <div class="quotes">
 <h4>Quotes</h4>
<p>
  "Imagination is more important than knowledge."
</p>
  
<p>
  "No problem can be solved from the same level of consciousness that created it".
</p>
  
<p>
  "I have no special talents. I am only passionately curious."
</p>
 
  <p>
   "Try not to become a man of success, but rather try to become a man of value."
</p>
  
<p>
  "If you want to live a happy life, tie it to a goal, not to people or things"
</p>
  </div>
</div>
<!-- quote end -->
   
   <p style="text-align:center">For more information click <a href="https://en.wikipedia.org/wiki/Albert_Einstein" target="_blank" id="tribute-link">here</a>.</p>

  
 </body>

  

              
            
!

CSS

              
                body, html {
  background-color: rgba(117, 190, 160, 0.28);
  mim-width: 400x;
  min-height: 600px;
  padding-top 15px;
  padding-right: 50px;
  padding-bottom: 80px;
  padding-left: 50px;
  border-radius: 20px;
  }

h1 {
  color: rgb(89, 160, 150);
  padding-top: 12px;
  font-family: 'Concert One', cursive;
  font-size: 60px;
  text-shadow: 4px 4px 5px rgb(51, 73, 76);
  letter-spacing: 2px;
}

h2 {
  line-height: 2px;
  padding-bottom: 8px;
  font-family: 'Concert One', cursive;
  color: rgb(21, 124, 100);
  letter-spacing: 2px;
  font-size: 25px
}

h3 {
  text-decoration: underline;
  color: rgb(11, 71, 57);
}

h4 {
  color: rgb(11, 71, 57);
    text-decoration: underline;
}

ul {
  text-align: center;
  font-style: italic;
  list-style-position: inside;
}

p {
  font-style: italic;
  font-weight: lighter;
  font-size: 15px;
  color: #0a1914;
}


img {
 display: block;
  margin: auto;
  border: 8px solid #4e9180;
  border-radius: 25px;
  max-width: 100%;
  height: auto;
}

#img-div{
 max-width: 100%;
}


#img-caption {
  color: #4e9180;
  
}

p #tribute-link{
  color:green;
}
              
            
!

JS

              
                
              
            
!
999px

Console