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


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.


                <div id="main">
  <h1 id="title">Prof. Yohanes Surya, Ph.D.</h1>
  <div>The Father of Phisics in Indonesia</div>
  <div id="img-div">
    <img src="" alt "pic from pembaharublog">
    <div id="img-caption">
     Yohanes Surya is an Indonesian physicist and coach of Indonesian Physics Team for the Olympiad (TOFI) since 1993. Under his guidance, the Indonesian team has won 54 gold medals, 33 silver medals, and 42 bronze medals at various international science and physics competitions.
  <div id="tribute-info">
      <h3 id="headline">Here's a time line of Prof. Surya's life:</h3>
      <li><strong>1963</strong> - Born in Jakarta, Indonesia</li>
      <li><strong>1986</strong> - Completed Bachelor Degree in Physic from University of Indonesia</li>
      <li><strong>1990</strong> - Completed Master Degree from College of William and Mary, United States</li>
      <li><strong>1994</strong> - Completed Doctoral Degree from College of William and Mary, United States</li>
      <li><strong>1994</strong> - Started being consultant of Theoretical Physics di TJNAF/CEBAF (Continous Electron Beam Accelerator Facility) Virginia, nited States</li>
      <li><strong>1995</strong> - Professor at University of Indonesia</li>
      <li><strong>2006</strong> - He founded Surya Institute, with the vision with the vision of transforming Indonesia through 30 thousand PhD's in science and technology, supported by the mission to reform Science and Math education in Indonesia.</li>
      <li><strong>2013</strong> - He founded Surya University in 2013, the first research-based private university in Indonesia, with its vision being "Prosperous Indonesia 2030".</li>
      <p><strong>"Yohanes Surya: A physicist with many dreams."</strong></br>
      — Gunawan, T Sima</p>
    <p><h3>If you have time, you should read more about this incredible human being in his <a id="tribute-link" href="" target="_blank">Wikipedia entry</a>.</h3></p>



                html, body {
  font-family: "Trebuchet MS",  Helvetica, sans-serif;
  text-align: center;
  min-width: 260px;
  color: #333;

#main {
  margin: 30px auto;
  padding: 15px;
  border: 0px solid;
  border-radius: 5px;
  background: #eee;

img {
  max-width: 100%;
  display: block;
  height: auto;
  margin: auto;

#img-div {
  margin: -5px;
  margin-top: 20px;
  width: 100%;
  border: 5px solid white;
  background: white;

#img-caption {
  margin: 15px;

#headline {
  margin-top: 50px;
  text-align: left;

ul {
  max-width: 550px;
  margin: 0 auto;
  text-align: left;
li {
  margin: 10px;

blackquote {
  font-style: italic;


                // coded by @enjelhutasoit
const projectName = 'tribute-page';
localStorage.setItem('example_project', 'Tribute Page');