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="container">
  <div class="row">

    <div class="panel">

      <!--HEADING-->
      <div id="tribute_addressing" class="panel-heading text-center">
        <h1 class="fontB">Dennis MacAlistair Ritchie</h1>
        <h4 class="fontB">Father of C and Co-Developer of Unix</h4>
      </div>

      <!--TIMELINE-->
      <div class="panel-body">
        <div style="text-align: center">
          <div class="thumbnail">
            <img src="https://goo.gl/uC1Z1Y" style="width: 100%">
            <div class="caption captFont">Ken Thompson (sitting) and Dennis Ritchie working together at a PDP-11</div>
          </div>
        </div>
        <h2 class="text-center fontB">TIME LINE</h2>
        <hr class="cust_hr">
        <div class="slider"></div>
        <div class="well">
          <div class="row">
            <div class="thumbnail col-md-6">
              <img id="place_image" src="">
              <div id="place_caption" class="caption text-center captFont"></div>
            </div>
            <div class="row col-md-6">
              <div class="col-md-12">
                <p id="place_text" class="captEve"></p>
              </div>
            </div>

          </div>
        </div>
        <div class="well" style="background-color: black;">
          <h3 class="lime_font font_courier">
                        "UNIX is simple. It just takes a genius to understand the simplicity."
                    </h3>
          <hr>
          <h4 id="quote_auth" class="lime_font font_courier">~ Dennis Ritchie</h4><br>
        </div>
      </div>

      <!--FOOTER-->
      <div class="panel-footer">
        <p class="text-center">
          You can read more about <b>Dennis Ritchie</b> in<br>
          <a href="https://en.wikipedia.org/wiki/Dennis_Ritchie">Wikipedia </a> and/or
          <a href="http://www.notablebiographies.com/supp/Supplement-Mi-So/Ritchie-Dennis.html">Encyclopedia of World Biography</a>
        </p>
        <hr>
        <p class="text-center">
          Coded by
          <a href="https://www.freecodecamp.com/xindictus" target="_blank">
                        Konstantinos Vytiniotis
                    </a>
        </p>
      </div>

    </div>
  </div>
</div>
              
            
!

CSS

              
                body {
  background-image: url("https://s11.postimg.org/wrezhxemb/programming_source_code_digital_art_jpg_486126.jpg");
}

.fontB {
  font-family: 'Bell MT', sans-serif;
}

.captFont {
  font-family: 'Century Gothic', sans-serif;
}

.captEve {
  font-size: larger;
  font-family: 'Old Standard TT', sans-serif;
}

.lime_font {
  color: limegreen;
  font-family: 'Courier New', sans-serif;
}


/*PANEL CSS*/

.panel {
  border-radius: 3px;
  border-color: cornflowerblue;
}

.panel-heading {
  background-color: cornflowerblue;
}

.panel-body {
  padding: 20px 20px 20px 20px;
}

.slider {
  margin-top: 3em;
}

.slider .ui-slider-pip {
  top: -12px;
}

.slider .ui-slider-label {
  top: -18px;
  font-size: 120%;
  padding: 5px 0px 5px 0px;
}

.cust_hr {
  border-width: 5px;
  border-color: #2aabd2;
}

#place_image {
  width: 100%;
}

#quote_auth {
  float: right;
}
              
            
!

JS

              
                $(document).ready(function() {

  var dates = ["1941", "1968", "1972", "1983", "1990", "1997", "1999", "2005", "2007", "2011"];
  var images = [
    "https://goo.gl/8nstQm",
    "https://goo.gl/wGRfE2",
    "https://goo.gl/huY0P3",
    "https://goo.gl/bK4FUQ",
    "https://goo.gl/mwVjJ6",
    "https://goo.gl/c5Ho8o",
    "https://goo.gl/mFiJ0M",
    "https://goo.gl/o1A6IW",
    "https://goo.gl/ouA52m",
    "https://goo.gl/WJJuFx"
  ];
  var captions = [
    "",
    "",
    "Ken Thompson (L) and Dennis Ritchie (R)",
    "ACM A.M. Turing Award",
    "Ritchie in Bell Laboratories",
    "Computer History Museum, new building on Shoreline Boulevard in Mountain View, 2002",
    "Ken Thompson (left) and Dennis Ritchie receive the National Medal of Technology from President Clinton",
    "IRI Achievement Award",
    "Dennis Ritchie retired from Bell Laboratories (now part of Alcatel-Lucent)",
    "Dennis M. Richie, 2011 recipient of the Japan Prize in the category of Information and Communication. Courtesy, Japan Foundation"
  ];
  var life_events = [
    "Ritchie was born in Bronxville, New York.",

    "Acquired his Ph. D. in Physics and Applied Mathematics, Harvard.",

    "The C programming language is released. Dennis Ritchie and his team created C based on the earlier language BCPL (Basic Combined Programming Language) " +
    "and soon after re-wrote the source code for Unix in C. As such, Unix was easily ported to other computers and spread swiftly. C is still widely used today.",

    "Ritchie and Thompson received the Turing Award for their development of generic operating systems theory and specifically for the implementation of the UNIX operating system.",

    "Ritchie and Thompson received the IEEE Richard W. Hamming Medal from the Institute of Electrical and Electronics Engineers (IEEE), \"for the origination of the UNIX operating " +
    "system and the C programming language\". Ritchie also becomes head of the Bell Laboratories Computing Techniques Research Department.",

    "Ritchie and Thompson were made Fellows of the Computer History Museum, \"for co-creation of the UNIX operating system, and for development of the C programming language.\"",

    "Thompson and Ritchie jointly received the National Medal of Technology of 1998 from President Bill Clinton for co-inventing the UNIX operating system and the C programming " +
    "language which, according to the citation for the medal, \"led to enormous advances in computer hardware, software, and networking systems and stimulated growth of an " +
    "entire industry, thereby enhancing American leadership in the Information Age\".",

    "The Industrial Research Institute awarded Ritchie with its Achievement Award in recognition of his contribution to science and technology, " +
    "and to society generally, with his development of the Unix operating system.",

    "Retired as head of Lucent Technologies' System Software Research Department.",

    "Ritchie, along with Thompson, was awarded the Japan Prize for Information and Communications for his work in the development of the Unix operating system." +
    "It's also the same year that he dies at the age of 70."
  ];

  var image_place = $("#place_image");
  var text_place = $("#place_text");
  var caption_place = $("#place_caption");

  $(".slider")
    .slider({
      min: 0,
      max: dates.length - 1,
      value: dates.length - 1
    })
    .slider("pips", {
      rest: "label",
      labels: dates,
      prefix: "<strong>",
      suffix: "</strong>"
    })
    .on("slidechange", function(e, ui) {
      image_place.attr("src", images[ui.value]);
      caption_place.text(captions[ui.value]);
      text_place.text(life_events[ui.value]);

    });
  $(".slider").slider({
    value: 0
  });
});
              
            
!
999px

Console