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. You can use the CSS from another Pen by using it's URL and the proper URL extention.

+ add another resource

JavaScript

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

Packages

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.

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.

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.

HTML

              
                <script src="https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js"></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="https://qph.fs.quoracdn.net/main-qimg-fb16d5cf43a4ec9c179042ce2ba7c7b2.webp"  alt="Miyazaki working by hand in water color"> 
    <figcaption id="img-caption">Miyazaki at work on one of his films</figcaption>
  </figure>
  <section id="tribute-info">
  <h3 id="headline">A Brief Summary of Miyazaki's Works and Accomplishments</h3>
  <ul>
    <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>
    </ul>
    
    <br>
    
        <p> Presently, Miyazaki if finishing his project: <i> How Do You Live?</i> , slated to open in 2020. </p>
    
    <br>
    
    <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>
    
    <br>
    
    <blockquote>
                 
  <cite><a href="https://www.imdb.com/name/nm0594503/bio" 
                 "https://www.crunchyroll.com/anime-news/2012/10/29/hayao-miyazaki-named-person-of-cultural-merit-by-japanese-government" 
                 "https://en.wikipedia.org/wiki/List_of_accolades_received_by_Hayao_Miyazaki#cite_note-FOOTNOTEKomatsu2012-101" 
           "https://en.wikipedia.org/wiki/Hayao_Miyazaki"</a></cite>
      <br>
      <p> "The world isn't simple enough to explain in words."</p>
      
      <cite>- Hayao Miyazaki</cite>
      </blockquote>
      
    <br>
      <br>
  <h3>
    For more information about Miyazaki or Studio Ghibli check out 
    <a  
       id="tribute-link" 
       href="https://ghibli.fandom.com/wiki/Hayao_Miyazaki"
       target="_blank"> Ghibli Wiki</a>.
    </h3>
    
    </section>
    </main>
    
              
            
!

CSS

              
                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){
    #main{
      margin: 0;
    }
  }
.smaller-image {
  width: 325px;
}
  img{
    max-width: 100%;
    display: block;
    height: auto;
    margin: 0 auto;
    border-color: cyan;
    border-style: solid;
    border-width: 5px;
  }

  #img-div{
    background: green;
    padding: 10px 10px 10px 10px;
    margin: 10px 10px 10px 10px;
  }

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

li{
  margin: 16px 0;
}

#footer{ 
text-align: left;
}

block-quote{
  font-style: italic;
  max-width: 545px;
  margin:0 auto 50px auto;
  text-align: left;
}
              
            
!

JS

              
                
              
            
!
999px

Console