Pen Settings

HTML

CSS

CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URLs 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 its URL and the proper URL extension.

+ 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

Auto Save

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

              
                 
<!-- 

Hello Camper!

Please read the README below in the JS Editor before beginning. Feel free to delete this message once you have read it. Good luck and Happy Coding! 

- The freeCodeCamp Team 

-->

<html>
 <head>
   
   <title>Tribute Page Zahard King of the Tower</title>
 </head>
 <body>
   <main id="main">
     <h1 id="title">King Zahard</h1>
     <p id="sub">The adventurer who changed the tower</p>
     <figure id="img-div">
      <img id="image" src="https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcSee-DYFSEQoEH7r4xOPD_taRogDj1F6eQ__w&usqp=CAU" alt="King Zahard in his youth">
      <figcaption id="img-caption">King Zahard in his youth</figcaption>
     </figure>
     <section id="tribute-info">
       <h2>The legend of the King</h2>
       <p>In ancient times, when there was no civilization in the Tower, Zahard came into the Tower and built his own empire. Zahard conquered the Tower with the Great Warriors and gained the control of the first 134 Floors from the Floor Guardians. It is said he was the first person to form a contract with a Guardian of the Tower. This conquest is known among the Tower's residents as "The Great Journey". He became king through contracts with the Guardians.</p>
       <p>On the day Zahard declared himself the King of the Tower he decided to stop climbing, thus hiding the Key of the Tower that would open the door leading to the higher Floors so that no one could go beyond the 134th Floor. It was later revealed that Zahard had split the Key of the Tower into two parts, the first part of which was turned into the 13 Month Series and the second part became melted rings given to Prince of the Red-light District.</p>
       <p>There were two forgotten individuals in the history that Zahard created however: Arlen Grace and V. Zahard had been in love with Arlen and asked her to marry him, and was enraged when she refused and, alongside V, rebelled against him. He engaged them and their organization along with others who opposed him in a long war that would be known as the Age of Genesis. Zahard forced Arlen and V into hiding, branding them as fugitives. When he learned Arlen had a child, Zahard furiously tracked them down and killed the child in front of Arlen in what was described as being the most resentful and brutal manner. He would do his best to erase all traces of Arlen and V's existence. In time, Zahard became tired with the long war and decided to give the nations and rebel groups a chance of coexistence by sealing away their own war heroes within massive walls. At some point during this war, learning of Khel Hellam and Hidden Grove's desire to attack him using Khel's power to see fate, Zahard, who could see fate to an even greater extent, already knew everything about Khel's plan. While Khun Hynd Luch betrayed and led Hidden Grove away in exchange for their survival, Zahard allowed Khel to easily push through and confront him, where instead of him being asleep in a floating castle with no guard, Zahard himself was waiting for them at the end of the path. As Khel Hellam's team questioned on his identity, Zahard merely asked what he is to them and after describing himself as the first one to climb the Tower, the greatest Fisherman in battle and the pioneer of a civilization of mutual understanding among the people of the Tower, he revealed his identity by stating that they would definitely know him as King. He ridiculed Khel Hellam's disbelief, contemptuously dismissing his arrogance over his power to just slightly look into destiny and becoming blind to the truth staring right in his face, before he exploded the cliff they were standing on and challenged them to fight him, stating that the moment they fight would allow Khel to see the truth that he is really the King. Although the flashback only showed little more, with Zahard summoning multiple giant golden needles while Khel Hellam was still intent on fighting Zahard only to learn that the Hidden Grove cannot be reached and express horror that it was not the destiny he saw, Zahard easily slaughtered Team Khel Hellam while Po Bidau Lyborick Khun defeated the Hidden Grove. The Hidden Grove was spared but captured while seemingly no one in Khel's team but Khel himself survived and escaped capture. With Zahard having effectively won the war, his Empire became the primary force in the Tower and the Age of Coexistence began.</p>       
       <p>At some point after this, Zahard was stated to go into some form of hibernation. Even later on, Phantaminum slaughtered his way into Zahard's inner sanctum and apparently encountered the dormant king directly. Nothing is known about this encounter, save that Phantaminum left right after, and was never seen since.</p>
     </section>
     <h3>If you want to know more about this amazing character you can read his <a id="tribute-link" href="https://towerofgod.fandom.com/wiki/Zahard" target="_blank">wiki entry</a></h3>
   </main> 
 </body>
 <footer>
 </footer>
</html>
              
            
!

CSS

              
                
main {
  background-color: #100000; 
}
h1 {
  padding-top: 3%;
  color: #ee0102;
  text-align: center;
   font-size: 5vw;
}
#sub {
  color: #900001;
  text-align: center;
  font-style: italic;
  font-size: 2.5vw;
}
section {
  margin: 2%;
  padding: 2%;
  background: #cf1910;
  text-align: justify;
  font-family: Lucida Sans Unicode;
}
#image {
  max-width: 100%;
  height: auto;
  display: block;
  margin-left: auto;
  margin-right: auto;
  border-radius: 2%;
}

#img-caption {
  text-align: center;
  padding: 0.5%;
}

h3 {
  text-align: center;
  padding-bottom: 2%;
  color:#900001;
}




              
            
!

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