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.

            
              <script>
  $(document).ready(function() {});
</script>

<style>

  body {
    background-color: #dfe3ee;
  }

  #fblogo {
    height: 20px;
    width: 20px;
    margin-top: 8px;

    margin-left: 3%;
    float: left;

  }

  #me {
    float: right;
    height: 24px;
    width: 29px;
    text-align: right;
    margin-top: 8px;
    margin-right: 0;

  }

  .border {
    border-color: black;
    border-width: 1px;
    border-style: solid;
    border-radius: 50%;
  }

  #h1 {
    font-size: 75px;
    text-align: center;
    color: #3b5998;
    font-weight: bold;
    padding: 0;

  }

  #p {
    font-size: 12px;
    vertical-align: bottom;
    padding: 0;
    margin: 0;

  }

  #MZtitle {
    font-style: italic;
    text-align: center;
    padding-top: 0;
    margin-top: 0;
  }

  #spacer {
    margin: 0;
    padding: 0;
    height: 40px;
    background-color: #3b5998;
    width: calc(100% - 0px);

  }

  #everythingcontainer {

    width: 1250px;
    background-color: #f7f7f7;
    margin: 50px;

  }

  #imagecontainer {
    padding: 2px 2px 1px 2px;
    background-color: white;
    align: center;
    display: in-line block;
    text-align: center;
    width: 80%;
    margin-left: auto;
    margin-right: auto;
  }

  #description {
    width: 25%;
    text-align: center;
  }

  #centerdiv {
    width: 100%;
    margin: 0 auto;
    text-align: center;
  }

  #ulcenter {
    display: inline-block;
    text-align: left;
    padding: 0;

  }

  #largeContent {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 55%;
    text-align: justify;
  }

  #photo {
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 0;
    paddig-bottom: 0;
  }

  #MZ {
    color: grey;
    font-style: italic;
  }

  #footer {
    text-align: center;
    color: grey;
  }

  #hr {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 1150px;
    border-color: #3b5998;
  }

  #quote {
    color: #3b5998;
  }
</style>

<body>

  <div id="spacer" class="container-fluid">
    <div class="container">
      <a href="  https://www.facebook.com" target="_blank"><img id="fblogo"src="https://i.pinimg.com/736x/3f/40/7d/3f407dc965335257705ea112bb3a32ce--energy-use-a-program.jpg"></a>
      <a href="  https://www.linkedin.com/in/sarahphlai/" target="_blank"><img id="me" class="smaller-image border" src="https://thelifeofamillennial.com/wp-content/uploads/2017/10/IMG_2936.jpg" alt="Sarah PHL" ></a>

    </div>
    &nbsp;&nbsp;
    <div class="container-fluid">
      <div class="container">
        <div class="row">
          <div class="col-xs-12 jumbotron">

            <h1 id="h1">Mark Zuckerberg</h1>
            <h3 id="MZtitle">Computer programmer, Internet entrepreneur, and co-founder of Facebook</h3>

            <div class="well" id="imagecontainer">
              <img id="photo" class="img-responsive" src="https://c1.staticflickr.com/2/1655/24602714914_b486124c99_b.jpg">

              <p id="p">Facebook CEO Mark Zuckerberg speaks at his company&apos;s annual F8 developer conference in San Jose, CA. </p>
            </div>
            &nbsp;&nbsp;&nbsp;
            <div class id="largeContent">
              <h2 id="quote">“The biggest risk is not taking any risk. In a world that is changing really quickly, the only strategy that is guaranteed to fail is not taking risks.” </h2>
              <p id="MZ">-Mark Zuckerberg</p>
            </div>
            &nbsp;&nbsp;&nbsp;
            <div id=centerdiv>
              <h3>Time line of Mark Zuckerberg's life:</h3>

              <ul id="ulcenter">
                <li><strong>1984 </strong>Born in White Plains, NY.</li>
                <li><strong>1995 </strong>Tries computer programming for the first time in middle school.</li>
                <li><strong>1999 </strong>Found his own company in high school.</li>
                <li><strong>2002 </strong>Attends Harvard.</li>
                <li><strong>2004 </strong>Creates Facebook in his dorm. Also dropped out of Harvard that same year.</li>
                <li><strong>2007 </strong>Named the world's youngest billionaire by Forbes Magazine.</li>

                <li><strong>2010 </strong>Zuckerberg's life was made into a movie caled "The Social Network." </li>
                <li><strong>2016 </strong>Zuckerberg was ranked 10th on Forbes list of The World's Most Powerful People.</li>
                &nbsp;&nbsp;&nbsp;
            </div>
            <h3 id="largeContent">If you have time, you should read more about this inspiring human being on his <a href="https://en.wikipedia.org/wiki/Mark_Zuckerberg" target="_blank">Wikipedia entry.</a> </h3>
          </div>
        </div>
      </div>
      <hr id="hr">
      <p id="footer">Written and coded by <a href="  https://www.linkedin.com/in/sarahphlai/" target="_blank">Sarah PHL</a>.</p>
      &nbsp;
    </div>
</body>
            
          
!
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