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

              
                <!DOCTYPE html>

<main id="main-doc">

 <nav id="navbar">
 <header> Table Of Contents </header> 
  <ul>
    <li> <a class= "nav-link" href="#Introduction"> Introduction </a> </li>
    <li> <a class="nav-link" href="#The_Basics"> The Basics </a> </li>
    <li> <a class="nav-link" href="#Difference_Between_Rolls"> Difference Between Rolls </a> </li>
    <li> <a class="nav-link" href="#Weapon_Types"> Weapon Types </a> </li>
    <li> <a class="nav-link" href="#Classes"> Classes </a> </li>
  </ul>
</nav>



<section class="main-section" id="Introduction">
  <header> Introduction </header> <div id="intro"> 
  </div>
    <p> So you want to <code> "git gud" </code> at Dark Souls 1? Well, thankfully it's a lot easier than it sounds, and as long as you're willing to learn you can easily manage such a feat. 
  </p>
  <p> First thing's first, we'll go over the basics of the game, and game mechanics to get you familiarized with how it all works.

</p>
 
  </section>

   <section class="main-section" id="The_Basics">
     <header> The Basics </header> 
    <p> One thing you're going to want to know, is that you NEED to manage your stamina bar in order to succeed, do not spam rolls or attacks needlessly and always look for an opening! However, we won't be going over how to do that effectively this time around.
  </p>

   <p> Instead, with this basic tutorial, we'll be going over the following and their <code>functions</code>:
   </p>
    <ul class="basiclist">
     <li> The difference between light, medium, and heavy rolling. 
     <li> The different types of weapons in the game. 
     <li> The specific weapon damage types within the game
     <li> The different starting classes. 
     <li> The starting items you can take with you and their effects. 

      </li>
</ul>

  </section>

<section class="main-section" id="Difference_Between_Rolls">
<header> Difference Between Rolls </header>
  <p> Next, let's go over the basics of each type of roll and their effects.
  </p>
  <ol class="basiclist">
  <li> Fast Rolling: Players have a fast roll if their equipment weight is 25% or less of their maximum equipment load. Fast rolls have nearly no ending lag and grant the greatest amount of invincibility frames. 

<li> Medium Rolling: Players have a medium roll if their equipment weight is 25% ~ 50% of their maximum equipment load. Medium rolls possess almost as many invincibility frames as fast rolling, per roll.
    

<li> Heavy Rolls: Players have a heavy roll if their equipment weight is 50%~100% of their maximum equipment load. Heavy rolls feature moderate ending lag and have almost no invincibility frames. <code> USE AT YOUR OWN PERIL. </code> 
    </li>
  </ol>

 
 <p>  Lastly, if 100% equipment load is exceeded, the player simply cannot roll and staggers if attempting to do so.
</p>
  </section>

<section class="main-section" id="Weapon_Types">

<header> Weapon Types </header>
 <p> Dark Souls features a variety of weapon types and it might be a lot to take in. There a lot to choose from, swords, axes, hammers, catalysts, bows <code>(don't)</code>, daggers, and even gauntlets. For a comprehensive list, I'd suggest using <a href="https://darksouls.fandom.com/wiki/Weapon_Types_(Dark_Souls)"> this </a> as a resource. 
</p>

<p> Weapons can also have specific damage type to go along with them. See more <a href="https://darksouls.wiki.fextralife.com/Damage+Types"> here </a>


  </section>

<section class="main-section" id="Classes">
<header> Classes </header>
  <p> Finally, here is a <a href="https://darksouls.wiki.fextralife.com/Classes"> link </a> to all of the varying classes in the first game as well as the <a href=" https://darksouls.fandom.com/wiki/Starting_Gifts">starting gifts </a>you can choose. I would write them all out for you but there are already better resources out there than what I can provide. 
  </p>

  <p> If you have a problem with it, <code>go eat pants.</code> </p>
  </section>

</main>
              
            
!

CSS

              
                /* Global */
* {
 background: #000;
 color: white;
 font-family: Georgia, serif
}



 /* Media Query */

@media screen(min-width: 768px) {

header
header nav,
header nav li,
#Introduction
#The_Basics
#Difference_Between_Rolls
#Weapon_Types
#Classes
#navbar
}



/* Main Content */

#navbar {
  position: fixed;
  min-width: 260px;
  top: 0px;
  left: 0px;
  width: 260px;
  height: 100%;
  border-right: solid;
  border-color: red;
  box-shadow: 0 0 10px 1px orange;
  
}

header {

font-size: 18px;
font-weight: bold;

}

.main-section {
  text-align: center;
  display: flex;
  justify-content: space-evenly;
  flex-direction: column;
}

#Introduction {
border-top: 2px inset black;
border-bottom: 1px inset black;
box-shadow: 0 0 10px 1px orange;
padding: 6px;

}

#intro { 

background: #000;
color: #fff;
padding: 0;
font-weight: bold;
margin-top: 10px;
text-align: center;
font-size: 20px;

}


#The_Basics {
display: flex;
background: #000;
color: #fff;
text-align: center;
padding-right: 20px;
margin-top: 40px;
font-size: 17px;
line-height: 1.6;
border-bottom: 2px inset black;
box-shadow:  0 1px 0px orange;
}



#Difference_Between_Rolls {

padding-right: 20px;
margin-top: 30px;
border-bottom: 2px inset black;
box-shadow:  0 1px 0px orange;
line-height: 2;
padding-bottom: 20px;
}


#Weapon_Types {

padding-right: 20px;
margin-top: 20px;
border-bottom: 2px inset black;
box-shadow:  0 1px 0px orange;
line-height: 2;
padding-bottom: 15px;
}

#Classes {

padding: 10px;
margin-top: 20px;

}

/* Misc */

.basiclist {
line-height: 1.8;
list-style: inside;
}

a {

text-decoration: none;
font-weight: bolder;
font-style: italic;

}

a:hover {
  background-color: darkred;
}


              
            
!

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