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>

<!DOCTYPE html>
<html>
  <head> <title>Tribute for Luffy</title></head>
<body id="main">
  <header>
    <h1 id="title" class="box1">
      History of Monkey D Luffy
    </h1>

    <h2>
      <em> The man who will become Pirate King. </em>

    </h2>
  </header>

  <div id="img-div">
    <img id="image" src="http://1.bp.blogspot.com/-Pz1OeixqIr4/U4K1Do5sMaI/AAAAAAAABEw/bMDXpsMeTkw/s1600/monkey+d+luffy+after+2+year+lets+go.jpg" alt="Gon freecss">
    
      <h2 id="img-caption"> After two years of absence </h2>
    
  </div>
  <h2> Who is Monkey D Luffy? </h2> 
  <p id="tribute-info">
    Monkey D. Luffy is the captain of the Straw hat pirates. He is the one who brought together the band of misfits we know today. Sporting his signature red and blue attire with his iconic strawhat, this pirate has made waves in both Paradise and the New
    World. </p>
  <p> With his gomu gomu no mi and his exceptional haki, he has attained power most did not think he could even scratch. His journey has been a great one, and his grandest feats have been recorded.
  </p>

  <div id="main_info">

    <h2>
      <b> pre-marineford war feats of Luffy and his crew </b>
    </h2>

    <ul>
      <li> Set sail on a tiny row boat all on his own. </li>
      <li> Recruited the pirate hunter Zoro (the swordsman) of the east blue. </li>
      <li> Him and Zoro defeated the Captain Clown Buggy. Cat burglar Nami begins to accompany them. </li>
      <li> With the aid of "Captain Usopp", defeats Kuro and his crews and foils their plans in Syrup Village. Also recruits Usopp and acquires the going merry </li>
      <li> Defeats Krieg on the Baratie and recruits Sanji (the cook) </li>
      <li> His crew defeats the Arlong fishman pirates. He personally defeats Arlong and officially recruits Nami (the cat Burglar) </li>
      <li> Miraclously escaped execution from the hands of Captain Buggy and capture by Marine Captain Smoker. </li>
      <li> Recruited the reindeer Chopper (the doctor) on Drum island after defeating King Wapol</li>
      <li> Escorted Princess Vivi to Alabasta from whisky Peak relatively safely </li>
      <li> His crew took down the Baroque works organization in Alabasta and helped princess Vivi stop a rebellion in Alabasta. Also defeated the leader of Baroque, the Shichibukai Crocodile pretty much singlehandedly. </li>
      <li> Punched Bellamy in the face (felt so good). </li>
      <li> His crew went to the sky island of Jaya and Luffy defeated god. (Yeah pretty much beat god) </li>
      <li> Survived an encounter with one of the marine Admirals, Admiral Aokiji </li>
      <li> His crew defeated the Cp9, with him defeating the strongest one. Saved Robin from Enies lobby and also managed to escape it. Evaded the buster call. Robin officially becomes a strawhat (the architect) </li>
      <li> Recruited the perveted cyporg Franky (the shipwright) </li>
      <li> Defeated another Shichibukai Gecko Moria and got his shadow back within 12 hours of it being stolen. Recruited the human skeleton Brook (the musician)</li>
      <li> Somehow, evaded capture from the shichibukai Kuma, Marine Admiru Kizaru, and the pacifista, but his crew got separated. </li>
      <li> Singlehandedly and unintentionally made the Kuja princess Boa Hancock (the most beautiful human woman in the world, and does not give a damn.) </li>
      <li> With Hancock's help, infiltrated Impel down (which he was the first to do). </li>
      <li> Survived being poisoned by the Warden of Impel Down and Escaped awith a handful of prisoners</li>
      <li> Survived the war at marineford </li>
    </ul>
  </div>

  <footer> For more descriptive info on luffy and see where his journey has lead him, <a id="tribute-link" href="https://onepiece.fandom.com/wiki/Monkey_D._Luffy" target="_blank"> "Get a detailed autobiography of luffy's life so far here" </a> </footer>

</body>

</html>
              
            
!

CSS

              
                @import url(https://fonts.googleapis.com/css?family=Norican);
@import
url(https://fonts.googleapis.com/css?family=Dosis);


h1 {
  text-align: center;
  font-size: 3rem;
  font-family: Norican;
  color:rgb(0,0,210);
}


h2 {
  font-size: 2.1rem;
  font-family: Dosis;
  color:rgb(0,0,210);
  text-align: center;
}

.box1 {
  display: block;
  margin: auto;
  border-radius: 20%;
  padding: 0.1rem 2rem 0.1rem 2rem;
  width: 70%;
  background-image: linear-gradient(rgba(255,215,0,0.9),rgba(255,166,77,0.1) 50%);

}

#main {
  background-image: linear-gradient( rgba(255,166,77,0.75) 10%, rgba(255,166,77,0.68));

}



#image {
  display:block;
  border-radius: 5%;
  max-width: 100%;
  width: 20rem;
  height: auto;
  margin: auto;
}

#img-div {
  display:block;
  margin: auto;
  max-width: 60%;
  border-radius: 5%;
  padding: 1em 2em 1em 2em;
  background-image: linear-gradient(225deg, rgba(255,166,77,0.1) 40%, rgba(0, 50, 255, 0.99));
}

#img-caption {
  font-family: Dosis; 
  font-size: 1.4em;
  color: rgb(255,140,25);
}



p {
  font-family: Dosis;
  font-size: 1.45em;
  line-height: 1.25em;
  margin: 2% 0% 5% 0%;
  padding: 0em 1.5em 0em 0.8em;
  text-indent: 1.5em;
  color:rgb(0,0,200);
}

ul {
  line-height: 1.55em;
  text-indent: 0.4em;
  margin: 2em 0em 2em 2.5em;
  padding: 0em 1.5em 0em 0em;
  font-family: Dosis;
  font-size: 1.45em;
  color:rgb(0,0,200);
}

footer
{
  font-family: Dosis;
  font-size: 1em;
  color:rgb(0,0,100);
}

#tribute-link {
  font-family: Dosis;
  font-size: 150%;
  color: black;
}

              
            
!

JS

              
                
              
            
!
999px

Console