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.

                <div id="main">
    <h1 id="title">Gichin Funakoshi</h1>
      The Father of Modern Karate
    <div id="img-div">
      <img id="image"
           src="https://49.media.tumblr.com/tumblr_mefibiYojS1qfkvlso1_400.gif"> <!--  <img src="images/GichinFunakoshi.jpg" alt="Gichin Funakoshi" style="width:249px;height:257px;"> -->
      <div id="img-caption">
        Think of everyday life as karate training
    <div id="tribute-info">
        <h3 id="headline">Timeline of Gichin Funakoshi's life:</h3>
        <li><strong>1868</strong> - born in Shuri, Okinawa</li>
        <li><strong>1888</strong> - took a job as an assistant schoolteacher at the age of 21</li>
        <li><strong>1917</strong> - gave the first public demonstration of karate</li>
        <li><strong>1901</strong> - karate practice was legalized in Okinawa, and its study became mandatory in middle schools. Securing permission from Azato and Itosu, Funakoshi announced that he would begin formally teaching karate.</li>
        <li><strong>1921</strong> - had the honour of demonstrating the art of "Okinawan te" to then Crown Prince Hirohito during a visit he made to Okinawa.</li>
        <li><strong>1922</strong> - traveled to Tokyo where he had been invited to present his art of Tode at the First National Athletic Exhibition in Tokyo, which had been organized by the Ministry of Education. After the demonstration he was
        strongly urged by several eminent groups and individuals to remain in Japan, and indeed he never did return to live in Okinawa.</li>
        <li><strong>1924</strong> - had started to introduce karate to several of the local universities, first at Keio, followed by Chuo, Tokyo, and Waseda to name but a few. It was through these universities that he was able to reach a much larger
        audience and this contributed greatly to the growing popularity of karate.</li>
        <li><strong>1936</strong> - Master Funakoshi was finally able to establish the Shoto-kan dojo in 1936, a great landmark in the history of karate. Funakoshi sensei was not only a genius in martial arts, but he was also a literary talent, and
        he signed all of his works "Shoto" which was his pen name. Hence, the dojo where he taught came to be known as "Shoto's school" or "Shoto's kan" which was ultimately adopted as the official name for his style of karate. Funakoshi sensei had
        combined the techniques and katas of the two major Okinawan styles to form his own style of karate, as a result, today Shotokan karate-do includes the powerful techniques of the Shorei style of karate, as well as the lighter more flexible
        movements of the Shorin style of karate.</li>
        <li><strong>1957</strong> - passed away the age of 88</li>
      <div id="tribute-quote">
        <a href="http://www.azquotes.com/quote/1426476"
             title="Gichin Funakoshi quote"><img alt="In battle, do not think that you have to win. Think rather that you do not have to lose. - Gichin Funakoshi"
        <a class="btn btn-info"
             target="_blank">More Quotes from Gichin Funakoshi</a>
        <h3>To learn more about Master Gichin Funakoshi visit his <a href="https://en.wikipedia.org/wiki/Gichin_Funakoshi"
           target="_blank">Wikipedia entry</a></h3>
    font-family:"Trebuchet MS", Helvetica, sans-serif;
    margin:30px auto;
    border:0px solid;
    max-width: 100%; 
    display: block; 
    height: auto;
    margin: auto;
    border:5px solid white;
    margin:0 auto;
    margin: 10px;
    font-style: italic;
              // coded by @ChaituVR
const projectName = 'tribute-page';
localStorage.setItem('example_project', 'Tribute Page');
🕑 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.