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

              
                <div class="background">
  <div class="row">
    <div class="col-xs-12">
      <h1 id="Edward"> Edward Jenner</h1>
      <h2 id="the">the father of  immunology</h2>

    </div>
    <figure class="img">
      <div class="col-xs-12">
        <img class="img-responsive" src="https://upload.wikimedia.org/wikipedia/commons/8/85/Edward_Jenner_by_James_Northcote.jpg" placeholder="Edward Jenner">
        <figcaption> Edward Jenner English physician and scientist</br> who was the pioneer of smallpox vaccine, the world's first vaccine.</figcaption>
        <figure>
      </div>

      <div class="col-xs-12">
        <ul class="space">
          <li>
            Born - <target>17 May 1749</target>
          </li>
          <li>
            Apprenticed to Mr. Daniel Ludlow -<target> 1763-1770</target>
          </li>
          <li>
            Apprenticed in surgery and anatomy under surgeon John Hunter and others at St George's Hospital - <target>1770</target>
          </li>
          <li>
            Edward became a successful family doctor and surgeon -<target>1773</target>
          </li>
          Edward was elected fellow of the Royal Society and married Catherine Kingscote - <target>1788</target>
          <li>
            Edward earned his MD from the University of St Andrews - <target>1792</target>
          </li>
          <li>
            Edward tested his hypothesis of curing smallpox with cowpox - <target>14 May 1796</target>
          </li>
          <li>
            Became a master mason also got 10,000 euros to start full time work on vaccination and elected a foreign honorary member of the American Academy of Arts and Sciences - <target>1802</target>
          </li>
          <li>
            Became president of the Jennerian Society - <target>1803</target>
          </li>
          <li>
            Edward became a member of the Medical and Chirurgical Society -<target> 1805 </target>
          </li>
          <li>
            Elected a foreign member of the Royal Swedish Academy of Sciences - <target>1806</target>
          </li>
          <li>
            Got 20,000 euros for continuing work on vaccination - <target>1807</target>
          </li>
          <li>
            National Vaccine Establishment was founded - <target>1808</target>
          </li>
          <li>
            Jennerian ceased operations - <target>1809</target>
          </li>
          <li>
            Returned to London - <target>1811</target>
          </li>
          <li>
            Appointed physician extraordinary to King George IV - <target>1821</target>
          </li>
          <li>
            Presented his "Observations on the Migration of Birds" to the Royal Society - <target>1823</target>
          </li>
          <li>
            Found in the state of apoplexy - <target>25 January 1823</target>
          </li>
          <li>
            Died of stroke - <target>26 January 1823</target>
          </li>
      </div>

  </div>
  <!--interactive thing-->
  <h3 id="link"> More about <a href="https://en.wikipedia.org/wiki/Edward_Jenner">Edward Jenner</a></h3>
</div>
    <hr>
    <footer>
      <p id="me">Written and coded by <a href= "https://www.freecodecamp.com/rgatchel" target="_blank">Ryan Gatchel</a>
      </p>
      </footer>
              
            
!

CSS

              
                .background {
  background-color: #D7DBDD;
  border: solid, grey;
  border-radius: 1%;
  margin: 5%;
  padding: 5%;
}

#Edward {
  text-align: center;
  font-family: Courier New;
  color: red;
  font-size: 50px;
}

#the {
  text-align: center;
  color: red;
}

.img-responsive {
  margin: auto;
  border-radius: 5%;
}

.space {
  text-align:left;
  color:red;
  margin-top: 10%;
}

#link {
  text-align: center;
}

.img{
  color: red;
  display: block;
  font-style: Courier New;
  font-variant: small-caps;
  text-align: center;
}
target{
  font-weight:bold;
  color:black;
}
#me{
  display:block;
  text-align:center;
}
              
            
!

JS

              
                
              
            
!
999px

Console