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. You can use the CSS from another Pen by using it's URL and the proper URL extention.

+ add another resource


Babel includes JSX processing.

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


Add Packages

Search for and use JavaScript packages from npm here. By selecting a package, an import statement will be added to the top of the JavaScript editor for this package.


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.


                <script src=""></script>

<main id="main">
  <div class="pageGrid">
    <!-- TITLE BAR -->
    <header id="title" class="cinzel-font text-center">
      <h2>A Tribute To</h2>
      <h1>Lewis Latimer</h1>
    <section id="intro-section">
      <div id="img-div">
          <!-- PHOTO -->
          <img id="image" src="" />
          <!-- CAPTION -->
          <figcaption id="img-caption" class="scopeOne-font text-center">
            <small><em>&#40;Painting of Lewis Latimer. Artist unknown.&#41;</em></small>
      <!-- INTRODUCTION -->
      <article id="introArticle" class="text-center cinzel-font">
        He was an inventor and draftsman best known for his contributions to the patenting of the light bulb and the telephone.
    <section id="tribute-info">
      <!-- MAIN BODY OF INFO -->
      <article class="scopeOne-font">
          Lewis Howard Latimer was born in Chelsea, Massachusetts, on September 4, 1848, to parents who had fled slavery. Latimer learned the art of mechanical drawing while working at a patent firm. Over the course of his career as a draftsman, Latimer worked closely with Thomas Edison and Alexander Graham Bell, in addition to designing his own inventions. He died in Flushing, Queens, New York, on December 11, 1928.
      <article id="timeArticle">
        <h2 class="cinzel-font text-center">
          Timeline of Accomplishments
        <ul class="scopeOne-font">
            Light bulb with improved filament patented by Lewis Latimer, 1883 In 1874, he co-patented (with Charles W. Brown) an improved toilet system for railroad cars called the Water Closet for Railroad Cars (U.S. Patent 147,363).
            In 1876, Alexander Graham Bell employed Latimer, then a draftsman at Bell's patent law firm, to draft the necessary drawings required to receive a patent for Bell's telephone.
            In 1879, he moved to Bridgeport, Connecticut where he was hired as assistant manager and draftsman for the U.S. Electric Lighting Company, a company owned by Hiram Maxim, a rival of Thomas A. Edison.
            Latimer received a patent on January 17th 1882 for the "Process of Manufacturing Carbons", an improved method for the production of carbon filaments used in lightbulbs.
            The Edison Electric Light Company in New York City hired Latimer in 1884, as a draftsman and an expert witness in patent litigation on electric lights. Latimer is credited with an improved process for creating a carbon filament at this time, which was an improvement on Thomas Edison's original paper filament, which would burn out quickly. When that company was combined in 1892 with the Thomson-Houston Electric Company to form General Electric, he continued to work in the legal department. In 1911 he became a patent consultant to law firms.
        <!-- LINK TO EXTERNAL PAGE -->
        <p class="link-frame scopeOne-font">
          <a id="tribute-link" href="" target="_blank">Click here</a> if you'd like to learn more about Lewis Latimer.


                *{ padding: 0; margin: 0; }

body{ font-size: var(--default-font-size); }

:root {
  --title-bottom-margin: 0;
  --default-font-size: 12pt;
  --tribute-text-align: justify;
  --intro-article-size: 1.1em;
  --intro-article-align: center;
  --timeArticle-text-align: center;
  --dark-brown: #513b33;
  --burnt-orange: #a15227;
  --tan: #b8865f;
  --intro-grid-rows: auto;
  --intro-grid-columns: 1fr;
  --intro-grid-flow: rows;
  --fig-size: 308px;

.cinzel-font{ font-family: 'Cinzel', serif; }
.scopeOne-font{ font-family: 'Scope One', serif; }
.text-center{ text-align: center; }

  display: grid;
  grid-template-columns: 1fr;
  grid-auto-rows: minmax(auto, auto);
  grid-auto-flow: rows;
  background-color: var(--tan);

  margin-bottom: var(--title-bottom-margin);

#title h2{ font-size: 1.2em; margin-top: 2em; color: var(--dark-brown); }

#title h1{ font-size: 2em; color: var(--dark-brown); }

  display: grid;
  grid-template-columns: var(--intro-grid-columns);
  grid-template-rows: var(--intro-grid-rows);
  grid-auto-flow: var(--intro-grid-flow);

figure{ max-width: var(--fig-size); margin: auto; }

#image { max-width: 100%; display: block; height: auto; }

#img-caption{ font-size: 0.88em; color: var(--dark-brown); }

  align-self: center;
  max-width: 666px;
  color: var(--burnt-orange);
  margin: 22px 6px;
  text-align: var(--intro-article-align);
  font-size: var(--intro-article-size); }

#tribute-info p{
  padding: 0 8px;
  margin-top: 4em;
  color: var(--dark-brown);
  font-size: .88em;
  text-align: var(--tribute-text-align);

#tribute-info article{max-width: 777px; margin: 3em auto; }

  max-width: 666px;
  margin: 3em auto;

#timeArticle h2{ font-size: 1.2em; color: var(--dark-brown); }

#timeArticle ul { font-size: 0.88em; }

#timeArticle ul li{
  padding: 0 8px;
  color: var(--burnt-orange);
  text-align: var(--timeArticle-text-align);
  list-style: none;

  display: block;
  padding: 0;
  margin: 2em auto;
  width: 77%;
  max-height: 0;
  clear: both;
  border: 0.5px solid #513b33;

  margin: 5em 0 9em 0;
  color: var(--dark-brown);

@media screen and (min-width: 700px){
    --title-bottom-margin: 3em;
    --intro-grid-rows: 1fr;
    --intro-grid-columns: 30% 1fr;
    --intro-grid-flow: columns;
    --intro-article-size: 1.3em;
    --intro-article-align: left;
    --default-font-size: 16pt;
    --timeArticle-text-align: left;