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>
  
<title id= "title">Tribute to Hayao Miyazaki</title>
 
  <main id="main">
    <h1>Tribute to Hayao Miyazaki</h1>
    <h3> An Animation Legend</h3>
  <figure id="img-div">
    <img id="image" src= "https://www3.nhk.or.jp/nhkworld/en/ondemand/video/3004569/images/GXm0EzpKeE5yFHEiUxzc61SNW0WvqQetcby8fiom.jpeg" 
         alt= "Hayao Miyazaki working at his desk"/>
 <figcaption id="img-caption"><strong>
   Hayao Miyazaki, aged 79, is considered on par with animation pioneers like Walt Disney and Chuck Jones.</strong>
    </figcaption>
  </figure>
  <section id="tribute-info">
    <p>Born in 1941 at the onset of World War II, Miyazaki's early life was shaped by the desolation of the war and the rebuilding period thereafter. Miyazaki's early childhood would shape a lot of the enviromentalist and anti-war themes that would define Miyazaki's work. In 1963 Miyazaki began working at Toei Animation and would bounce around various studios, working on early animation projects like <i>Wolf Boy Ken</i> and <i>The Great Adventure of Horus, Prince of the Sun</i>. <br> <br> 
     However Miyazaki's star would truly start to rise when he directed a few episodes of the series <i>Lupin III</i>; which would lead to his first film director credit with <i>Lupin III: Castle of Cagliostro</i> in 1979. In 1984 Miyazaki would create his first truly original movie, <i>Nausicaä  of the Valley of Wind</i>, widely considered on of the greatest animated films of the 80's. One year later Miyazaki would take much of that team that worked on <i>Nausicaä </i> and created Studio Ghibli, considered a powerhouse of animation to this day. For 28 years Miyazaki led Studio Ghibli and worked on 13 films, all of which are considered classic's.</p>
      
      <h3><strong> List of all Studio Ghibli Films Miyazaki was involved in:</strong></h3>
     <ul>
       <li><strong>1986</strong>: <i>Castle in the Sky</i> - Director/Writer</li>
       <li><strong>1988</strong>: <i>My Neighbor Toroto</i> - Dircetor/Writer</li>
       <li><strong>1989</strong>: <i>Kiki's Delivery Service</i> - Director/Writer/Producer</li>
       <li><strong>1992</strong>: <i>Porco Rosso</i> - Director/Writer</li>
       <li><strong>1995</strong>: <i>Whisper of the Heart</i> - Writer</li>
       <li><strong>1995</strong>: <i>On Your Mark - Director</i> </li> 
       <li><strong>1997</strong>: <i>Princess Mononoke</i> - Director/Writer</li>
       <li><strong>2001</strong>: <i>Spirited Away</i> - Director/Writer</li>
       <li><strong>2004</strong>: <i>Howl's Moving Castle</i> - Director/Writer</li>
       <li><strong>2008</strong>: <i>Ponyo</i> - Director/Writer</li>
       <li><strong>2010</strong>: <i>Arriety</i> - Writer</li>
       <li><strong>2011</strong>: <i>From Up on Poppy Hill</i> - Writer</li>
       <li><strong>2013</strong>: <i>The Wind Rises</i> - Director/Writer</li></ul><br/>
    <figure>
    <img id="image-2" src="https://studioghiblimovies.com/wp-content/uploads/2014/11/image0032.jpg" alt="screenshot from Nausicaa of the Valley of the Wind">
    <figcaption><strong>While not the first movie made under their banner, <i>Nausicaa</i> is considered Studio Ghibli's first film.</strong></figcaption>
      </figure>
    <p>Miyazaki would choose to retire after the release of <i>The Wind Rises</i>, citing his age and the increased time it took him to make movies. However in 2016 Miyazaki came out of retirement for one last film, <i>How Do You Live?</i>, which as of 2020 had 36 minutes worth of animation finished. In this same timeframe Miyazaki also created his first full CG production, the short film <i>Boro the Caterpillar</i>, in 2018. Given his other flirtation with retirement in 1999, it would appear that Miyazaki's passion for art supercedes his plans to quit anytime soon.<br><br>
      For more information on Hayao Miyazaki and his various achievements you can read up on his
        <a id="tribute-link"
           href="https://en.wikipedia.org/wiki/Hayao_Miyazaki"
           target="_blank"
           >Wikipedia entry</a
          >. 
      </p><br>
    
    <p id="quote"><i> "Of course if, as artists, we say that life is worth living and the world is worth living in then something good might come of it."</i> - Hayao Miyazaki</p>
      </section>
    </main>
              
            
!

CSS

              
                html {
  font-size: 10px;
}

body {
  font-size:1.5rem;
  text-align: center;
  line-height: 1.5;
  margin: auto;
  padding: 2em;
  font-family: sans-serif;
 
}
h1 {
  font-size: 4rem;
  margin: auto;
}
#image {
  max-width: 600px;
  display: block;
  height: auto;
  margin: auto;
  width: 100%;
}
p {
  text-align: justify;
  max-width: 900px;
  margin: auto;
  font-size: 1.7rem;
}
h3{
  font-size: 2rem;
  text-align: center;
}
  ul {
  max-width: 550px;
  margin: 10px auto;
  text-align: justify;
  line-height: 1.6;
}
#quote{
  text-align: justify;
  max-width: 400px;
  margin: auto;
  font-size: 1.5rem;
}
#image-2 {
  max-width: 600px;
  display: block;
  height: auto;
  margin: auto;
  width: 100%;
}





              
            
!

JS

              
                // !! IMPORTANT README:

// You may add additional external JS and CSS as needed to complete the project, however the current external resource MUST remain in place for the tests to work. BABEL must also be left in place. 

/***********
INSTRUCTIONS:
  - Select the project you would 
    like to complete from the dropdown 
    menu.
  - Click the "RUN TESTS" button to
    run the tests against the blank 
    pen.
  - Click the "TESTS" button to see 
    the individual test cases. 
    (should all be failing at first)
  - Start coding! As you fulfill each
    test case, you will see them go   
    from red to green.
  - As you start to build out your 
    project, when tests are failing, 
    you should get helpful errors 
    along the way!
    ************/

// PLEASE NOTE: Adding global style rules using the * selector, or by adding rules to body {..} or html {..}, or to all elements within body or html, i.e. h1 {..}, has the potential to pollute the test suite's CSS. Try adding: * { color: red }, for a quick example!

// Once you have read the above messages, you can delete all comments. 

              
            
!
999px

Console