123

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.

            
              <html>
  <head>
    <title id="mainTitle">
      Alexander Fleming
    </title>
      <script src="https://code.jquery.com/jquery-1.10.2.js"></script>
    <script>
      $document.ready(function(){
        
      })
    </script>
  </head>
  <body>
    <div id="body">
    <div class="insideBody" id="mainBody">
      <div class="center-text" id="header">
        <h1 id="htitle center-text">Alexander Fleming</h1>
      </div>
      <div id="description">
        <h3 class="center-text" id="hdesc center-text">The man who saved millions</h3>
      </div>
      <div class="image-box center-text" id="imagebox">
      <div id="image">
        <img src="https://upload.wikimedia.org/wikipedia/commons/thumb/b/bf/Synthetic_Production_of_Penicillin_TR1468.jpg/220px-Synthetic_Production_of_Penicillin_TR1468.jpg" alt="alexanderFlemingPicture"></img>
    </div>
    <div id"imgdesc">
      <p> The man who discovered the world's first antibiotic</p>
      </p>
    </div>
    </div>
  <div id="awards">
    <h3 class="center-text" id="awardTitle center-text">Awards and Honours</h3>
    <div>
    <ul id="list">
      <li class="pad-left" id="bullets">
        Fleming, Florey and Chain jointly received the Nobel Prize in Medicine in 1945. According to the rules of the Nobel committee a maximum of three people may share the prize. Fleming's Nobel Prize medal was acquired by the National Museums of Scotland in 1989 and is on display after the museum re-opened in 2011.
      </li>
      <li class="pad-left" id="bullets">
        Fleming was a member of the Pontifical Academy of Sciences.
      </li>
      <li class="pad-left" id="bullets">
        Fleming was elected a Fellow of the Royal Society (FRS) in 1943
      </li>
      <li class="pad-left" id="bullets">
        Fleming was awarded the Hunterian Professorship by the Royal College of Surgeons of England.
      </li>
      
      
    </ul>
    </div>
      </div>
  <div class="center-text" id="quotes">
    <p id="quote">  It is the lone worker who makes the first advance in a subject; the details may be worked out by a team, but the prime idea is due to enterprise, thought, and perception of an individual.
    </p>
    <p id="credit">
      -Alexander Fleming
    </p>
  </div>
  <div class="center-text" id="wiki">
    <h4>If you have time, you should read more about this incredible human being on his <a href="https://en.wikipedia.org/wiki/Alexander_Fleming">Wikipedia entry.</a></h4>
    <br>
  </div>
  
  </div>
  </div>
  </body>
<footer class="center-text">
  <hr>
  <p id="footer">
  Written and coded by Lelouch Britatnia.
  </p>
</footer>
</html>
            
          
!
            
              .insideBody{
  margin: auto;
  border-radius: 25px;
  background-color: rgb(192,192,192);
}
.center-text{
  text-align: center;
}
.image-box{
  max-height: 400px;
  width: 400px;
  margin: auto;
  background-color: white;
  border-radius:25px;
 
}

ul li  {
 list-style-position:inside
}

.pad-left{
  padding-left: 100 !important;
}
            
          
!
999px
🕑 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.

Console