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.

    <title id="mainTitle">
      Alexander Fleming
      <script src=""></script>
    <div id="body">
    <div class="insideBody" id="mainBody">
      <div class="center-text" id="header">
        <h1 id="htitle center-text">Alexander Fleming</h1>
      <div id="description">
        <h3 class="center-text" id="hdesc center-text">The man who saved millions</h3>
      <div class="image-box center-text" id="imagebox">
      <div id="image">
        <img src="" alt="alexanderFlemingPicture"></img>
    <div id"imgdesc">
      <p> The man who discovered the world's first antibiotic</p>
  <div id="awards">
    <h3 class="center-text" id="awardTitle center-text">Awards and Honours</h3>
    <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 class="pad-left" id="bullets">
        Fleming was a member of the Pontifical Academy of Sciences.
      <li class="pad-left" id="bullets">
        Fleming was elected a Fellow of the Royal Society (FRS) in 1943
      <li class="pad-left" id="bullets">
        Fleming was awarded the Hunterian Professorship by the Royal College of Surgeons of England.
  <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 id="credit">
      -Alexander Fleming
  <div class="center-text" id="wiki">
    <h4>If you have time, you should read more about this incredible human being on his <a href="">Wikipedia entry.</a></h4>
<footer class="center-text">
  <p id="footer">
  Written and coded by Lelouch Britatnia.
  margin: auto;
  border-radius: 25px;
  background-color: rgb(192,192,192);
  text-align: center;
  max-height: 400px;
  width: 400px;
  margin: auto;
  background-color: white;

ul li  {

  padding-left: 100 !important;
🕑 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.