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

You're using npm packages, so we've auto-selected Babel for you here, which we require to process imports and make it all work. If you need to use a different JavaScript preprocessor, remove the packages in the npm tab.

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

Use npm Packages

We can make npm packages available for you to use in your JavaScript. We use webpack to prepare them and make them available to import. We'll also process your JavaScript with Babel.

⚠️ This feature can only be used by logged in users.

Code Indentation


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.

HTML Settings

Here you can Sed posuere consectetur est at lobortis. Donec ullamcorper nulla non metus auctor fringilla. Maecenas sed diam eget risus varius blandit sit amet non magna. Donec id elit non mi porta gravida at eget metus. Praesent commodo cursus magna, vel scelerisque nisl consectetur et.

  <h1 id="title">Dr. Henry Lindlahr</h1>
  <div id="sub-title">The author of "The Philosophy of Natural Therapeutics"</div>

<main id="main">
  <div id="img-div">
    <img src="" id="image" alt="Portrait Photo of Dr. Henry Lindlahr" />
    <div id="img-caption">Dr. Henry Lindlahr.</div>
  <div id="tribute-info">
    <h2>Books written by Dr. Henry Lindlahr</h2>
      <li>The Philosophy of Natural Therapeutics ( Book 1 )</li>
      <li>The Practice of Natural Therapeutics ( Book 2 )</li>
      <li>The Lindlahr Vegetarian Cookbook ( Book 3 )</li>
      <li>Iridiagnosis and other Diagnostic Methods ( Book 4 )</li>
      <li>Nature Cure</li>
      <p>"Every acute disease is the result of a cleansing and healing effort of Nature."</p>
      <div>-- Dr. Henry Lindlahr</div>
    <h3>If you have time, you should read more about this incredible human being on his <a href="" target="_blank" id="tribute-link">Wikipedia entry</a>.</h3>

    <p>Tribute Page of Dr. Henry Lindlahr by AJ Brommy using HTML, CSS within CodePen for a FreeCodeCamp Project. &copy AJ Brommy 2018</p>

<script src=""></script>
  /* Too help debug : create a red border around everything
  border:1px solid #f00;

body {
  margin: 0;
  padding:10px 10px 0 10px;
  font-family: "Times New Roman", serif;
  color: #000;
  background-color: #F5F5F5;
  text-align: center;

header {
  padding: 35px;
  border-radius: 5px;
  background-color: #004700/*#4D4DFF*/;
  color: #F5F5F5;
  text-shadow: 1px 1px 1px rgba(0,0,0,0.2);

#title {
  font-size: 3em;
  font-weight: bold;
  margin: 0 0 5px 0;

#sub-title {
  font-size: 1.5em;


#image {
  display: block;
  height: auto;
  margin: 20px auto;
  border: 2px solid #FFFF;
  border-radius: 5px;
  box-shadow: 2px 2px 2px rgba(0,0,0,0.1);

#img-caption {

#tribute-info {

#tribute-info h2 {
  padding:50px 0 0 0;

#tribute-info ul {
  list-style-position: inside;
  max-width: 480px;
  margin: 0 auto;
  padding: 10px;
  text-align: left;
  /* border: 1px solid #f00; */

#tribute-info li {

#tribute-info blockquote {
  margin: 0;
  padding: 0 10px 50px 10px;
  font-size: 1.3em;
  font-style: italic;
  border-bottom: 2px dashed #F5F5F5;

#tribute-info h3{

a:visited { 
    color: #004700;

footer p {
  font-size: 0.9em;
  padding: 30px;
🕑 One or more of the npm packages you are using needs to be built. You're the first person to ever need it! We're building it right now and your preview will start updating again when it's ready.