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.

Editor Settings

Code Indentation

Want to change your Syntax Highlighting theme, Fonts and more?

Visit your global Editor Settings.

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.

HTML

              
                <script src="https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js"></script>

<body>
<main id="main">
  <header>
    <h1 id="title">Thich Nhat Hanh</h1>
    <figure id="img-div">
      <img id="image" src="https://upload.wikimedia.org/wikipedia/commons/f/fc/Thai_plum_village_01.jpg" alt="Thich Nhat Hanh in Thailand" >
      <figcaption id="img-caption">Thich Nhat Hanh in Plum Village in Thailand shown in the middle wearing dark brown.</figcaption>
    </figure>
  </header>
  <section id="tribute-info">
    <h2>Timeline</h2>
    <ul>
      <li>1926 - Born in Central Vietnam on October 11th</li>
      <li>1942 - Joined monastery at Tu Hieu Temple</li>
      <li>1949 - Became an ordained monk</li>
      <li>1956 - Named editor-in-chief of a periodical titled <em>Vietnamese Buddhism</em></li>
      <li>1961 - Went to the US to teach comparative religion at Princeton University</li>
      <li>1963 - Returned to Vietnam to help with peach efforts</li>
      <li>1966 - Returned to US and met with Martin Luther King, Jr urging him to denounce the Vietnam War</li>
      <li>1967 - Dr. King nominated Nhat Hanh for a Nobel Peace Prize, Nhat Hanh is exiled from Vietnam, and Naht Hanh gains right of asylum in France</li>
      <li>1982 - Plum Village Buddhist Center in France is establish by Nhat Hanh and Chan Khong</li>
      <li>2005 - Allowed to return to Vietnam</li>
      <li>2007 - Visits Vietnam to support new monastics, to organize chanting ceremonies to heal wounds from Vietnam War and to lead retreats</li>
      <li>2014 - Experienced a brain hemorrhage and went through rehabilitation in France</li>
      <li>2018 - Returns to Vietnam at age 92 to reside at Tu Hieu Temple for the rest of his life</li>
    </ul>
    <h2>Interesting Facts</h2>
    <ul>
      <li>Fluent in French, Chinese, Sanskrit, Pali, Japanese, English and Vietnamese.</li>
      <li>Wrote over 100 books, 40 were in English.</li>
      <li>Thich is a name all Buddhist manastics in East Asian Buddhism adopt. Nhat Hanh means One Action. The name he was born with was Nguyen Xuan Bao.</li>
    </ul>
    </section>
    <p>Information came from <a id="tribute-link" href="https://en.wikipedia.org/wiki/Th%C3%ADch_Nhất_Hạnh" target="_blank">Wikipedia on Thich Nhat Hanh</a> and <a href="https://en.wikipedia.org/wiki/Order_of_Interbeing" target="_blank">Wikipedia on Order of Interbeing</a>.</p>
</main>
</body>
              
            
!

CSS

              
                @import url('https://fonts.googleapis.com/css?family=Raleway');
* {
  margin: 0;
  padding: 0;
}
#main {
  font-family: 'Raleway', sans-serif;
  background: linear-gradient(
         to bottom,
         #e99744,
         #f9d023
  );
}
h2 {
  font-size: 20px;
  padding: 10px 0;
}
ul {
  position: relative;
  left: 15px;
}
li {
    padding: 4px 0;
}
#title {
  font-size: 34px;
  text-align: center;
  padding: 5px;
}
#img-div {
  padding: 20px;
}   
#image {
  max-width: 90%;
  display: block;
  height: auto;
  margin: auto;
}
/* image is CC Attribution Share Alike: https://commons.wikimedia.org/wiki/File:Thai_plum_village_01.jpg */
#img-caption {
  text-align: center;
  font-size: 14px;
  padding: 0 5%;
}
#tribute-info {
  display: block;
  background: #fbf3e5;
  margin: 0 5%;
  padding: 5px 5%; 
}
@media screen and (min-width: 850px) {
  #tribute-info {
    max-width: 700px;
    margin: auto;
  }
}
p {
  text-align: center;
  padding: 10px;
}
              
            
!

JS

              
                
              
            
!
999px

Console