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">
  <h1 id="title">Hayao Miyazaki</h1>
    <p>One of the Greatest Animators of All Time</p>
  <figure id="img-div">
    <img class="smaller-image" id="image" src=""  alt="Miyazaki working by hand in water color"> 
    <figcaption id="img-caption">Miyazaki at work on one of his films</figcaption>
  <section id="tribute-info">
  <h3 id="headline">A Brief Summary of Miyazaki's Works and Accomplishments</h3>
    <li><b>1941</b> : Hayao Miyazaki was born in Tokyo, Japan.  </li>
    <li><b>1963</b> : Miyazaki's animation career began, where he joined Toei Animation. He worked as an in-between artist and later a contributer on prodjects; <i>Gulliver's Travels to the Moon</i> & <i>Doggie March</i></li>
      <li><b>1979</b> : He worked on his first feature film at Telecom Animation Film, later to be known as Tokyo Movie Shinsha</li>
    <li><b>1984</b> : He directed <>Nausicaa of the Valley of the Wind</i></li>
      <li><b>1985</b> : Miyazaki co-founded Studio Ghibli with Isao Takahata and Toshio Suzuki</li>
      <li><b>1986</b> : Directed <i>Castle in the Sky</i></li>
      <li><b>1988</b> : Direcrted <i>My Neighbor Totoro</i></li>
        <li><b>1989</b> : Directed <i> Kiki's Delivery Service</i></li>
        <li><b>1992</b> : Directed <i>Porco Rosso</i></li>
        <li><b>1998</b> : He won the Japan Academy Prize for Picture of the Year for his film <i>Princess Mononoke</i>.</li>
        <li><b>2003</b> : <i>Spirited Away</i> won the Academy Award for Best Animated Feature at the 75th Academy Awards in the United States. </li>
        <li><b>2012</b> : He was named Person of Cultural Merit for outstanding cultributions, he is the first anime director to recieve this high honor in Japan. </li>
        <p> Presently, Miyazaki if finishing his project: <i> How Do You Live?</i> , slated to open in 2020. </p>
    <p id="footer"> Miyazaki has worked on many other films and projects as a contributer, animator , director, and artist. He has also won many awards for his film contributions. He is well reknown for his works all over the world. He is an icon and an influencer to many. </p>
  <cite><a href="" 
      <p> "The world isn't simple enough to explain in words."</p>
      <cite>- Hayao Miyazaki</cite>
    For more information about Miyazaki or Studio Ghibli check out 
       target="_blank"> Ghibli Wiki</a>.


                html {
  font-size: 15px;

body {
  font-family: arial narrow;
  font-size: 1.4rem;
  line-height: 1.5rem;
  text-align: center;
  background: linear-gradient(25deg, cyan, hsl(120, 50%, 50%), cyan);
  margin: 0;

h1{font-size: 3.5rem;
  line-height: .8;

@media( max-width: 460px){
  h1 {
     font-size: 3rem;
  margin-bottom: 0;}

  h3 {
    font-size: 1.8rem;

  a {
    color: blue;

  a:visited { 
  color: gray;
  #main {
   margin: 30px 8px;
    padding: 15px;
    boder-radius: 5px;
    background: linear-gradient(25deg, cyan, hsl(120, 50%, 50%),cyan);
  @media(max-width: 460px){
      margin: 0;
.smaller-image {
  width: 325px;
    max-width: 100%;
    display: block;
    height: auto;
    margin: 0 auto;
    border-color: cyan;
    border-style: solid;
    border-width: 5px;

    background: green;
    padding: 10px 10px 10px 10px;
    margin: 10px 10px 10px 10px;

  #img-caption {
    margin: 15px 0 5px 0;
  @media (max-width: 460px){
    font-size: 1rem;
    margin: 50px 0;
    text-align: center;
    max-width: 550px;
    text-align: left;
    margin: 0 auto 50px auto;
    line-height: 1.6;

  margin: 16px 0;

text-align: left;

  font-style: italic;
  max-width: 545px;
  margin:0 auto 50px auto;
  text-align: left;