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.

  <link rel="stylesheet" type="text/css"
          href=" Daughter">
   <link rel="stylesheet" type="text/css"
          href=" Sans">
    h1 {
      font-size: 92px;
    img {
      display: block;
      margin: 0 auto;
    li {
      font-size: 16px;
    .main {
      margin: 50px 100px 0px 100px;
      border-radius: 15px;
      background-color: #ececec;
    .headlines {
      font-family: Architects Daughter, sans-serif;
      text-align: center;
    .body-text {
      font-family: Josefin-sans, sans-serif;
    .summary {
      padding: 7px;
      margin: 0px 50px 10px 50px;
    .image-container {
      text-align: center;
    .image-container figure {
      padding: 6px;
      box-shadow: 0 10px 12px #777;
      display: inline-block;   
      border: 1px solid black;
      text-align: center;
      margin: 3% 27%;  
      background-color: white;
      border-radius: 5px;
      color: red;
      font-style: italic;
  <div class="well main container-fluid">
    <h1 class="headlines"><strong>Hachiko</strong></h1>
    <h3 class="headlines">THE WORLD'S MOST INSPIRING DOG</h3>
    <div class="image-container">    
        <img class="img-responsive" src="" target="_blank">
        <figcaption class="body-text" style="text-align:center">One of the few known images of Hachiko</figcaption>
    <div class="timeline body-text">
      <p class="summary"><h4><strong><em>Remembered for remarkable loyalty to his owner &mdash; which continued for ten years after his owner's death &mdash; Hachiko has been held up in Japanese culture as an example of loyalty and fidelity. 
      <h3><strong>Hachiko's Remarkable Life</strong></h3>
        <li><strong>1922 </strong> - Born November, 23 1923</li>
        <li><strong>1924 </strong> - Dr. Hidesaburo Ueno, a professor in the agriculture deparment at the University of Tokyo, takes Hachiko as a pet</li>
          <li id="wow">Remarkably, during Professor Ueno's life, Hachiko greeted him at the end of each day at the nearby Shibuya Train Station!</li>
        <li><strong>1925 </strong> - The pair continued their daily routine until May, 1925, when Professor Ueno did not return: He suffered a cerebral hemorrhage at work and died</li>
          <li id="wow"><em>For the next nine years, Hachiko waited at the Shibuya Train Station for his master's return!</em></li>
        <li><strong>1932 </strong> - One of Professor Ueno's students, Hirokichi Saito, frequently visits Hachiko and publishes several articles about Hachiko's loyalty, placing Hachiko in the national spotlight</li>
        <li><strong>1932 </strong> - After an article about Hachiko appears in the newspaper <em>Asahi Shimbun</em>, people start to bring Hachiko treats while he was on his vigil of waiting for Professor Ueno</li>
        <li><strong>1934 </strong> - A bronze statue of Hachiko is erected at Shibuya station &mdash; <em>Hachiko is present at its unveiling </em></li>
        <li><strong>1935 </strong> - Hachiko passes away at age 12 on March 8, 1935 and is buried beside Professor Ueno in Aoyama Cemetary, Tokyo</li>
        <li><strong>1948 </strong> - Hachiko's statue, which was recycled for the war effort, is recreated by the son of the original artist</li>       
        <li><strong>1987 </strong> - The story of Hachiko's life is told in the Japanese movie Hachiko Monogatari (literally "The Tale of Hachiko") and was considered a blockbuster success</li>        
        <li><strong>2004 </strong> - Two books about Hachiko are published, "Hachiko: The True Story of a Loyal Dog" and "Hachiko Waits"</li>
        <li><strong>2009 </strong> - Hachi: A Dog's Tale, starring actor Richard Gere, is released</li>        
        <li><strong>2011 </strong> - Scientists settle the cause of Hachiko's death: terminal cancer and a filaria infection</li>
        <li><strong>2015 </strong> - The Faculty of Agriculture of the University of Tokyo constructed a bronze statue, depicting Professor Ueno returning to meet Hachikō.</li>        
    <blockquote class="shadow">Famous quotation:<br/><em><strong>
      "Woof, woof !  Woof, woof, woof !"
    <div style="text-align: center">
    <p>To learn more about Hachiko, please visit this link: 
      <a href="" target="_blank">Learn more</a>
              blockquote {
  background: #FCFCFC;
  border-left: 10px solid #ccc;
  margin: 1.5em 30px;
  padding: 0.5em 10px;
  quotes: "\201C""\201D""\2018""\2019";
  box-shadow: 0 10px 12px #777;

🕑 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.