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

              
                <main id="main-doc"> <!-- The main content -->  
  
   
      <nav id="navbar"> <!-- Beginning nav elements -->
      <header>Technical Documentation Page about HTML
      <a class="nav-link" href="#About_HTML">About HTML</a>
      <br>
      <a class="nav-link" href="#Examples_of_HTML_tags">Examples of HTML tags &nbsp</a>
       
      <a class="nav-link" href="#Examples_of_HTML_attributes">Examples of HTML attributes</a>
     
      <a class="nav-link" href="#Review">Review</a>
    
      <a class="nav-link" href="#For_further_learning">For further learning</a>       
      </header></nav> <!-- End of nav elements -->
  
         <!-- Additional things -->
 <a class="Link-profile" href="https://www.sololearn.com/Profile/11067490" target="_blank">Check my profile in Sololearn</a>  
  <center><img src="https://i.postimg.cc/BQQTzyJ8/Logo-Makr-3-MH7ss.png" alt="Logo"></center>
         <!-- Additional things -->
      
  <section class="main-section" id="About_HTML"> <!-- Beginning of the first section -->     
    <header>About HTML</header>
    <div class="div-1"><p>HTML is a HyperTextMarkUp language unlike JS, C#, C++, etc. which are programming languages.</p>
    <p>HTML was founded by Tim Berners-Lee.</p>
    <p>Learning HTML is fundamental for creating webpages</p>
  </section></div> <!-- End of the first section -->
    
  
  
  <section class="main-section" id="Examples_of_HTML_tags"> <!-- Beginning of the second section -->
    <header>Examples of HTML tags</header>
    <p><code>< strong ></code> is used to make text bolder, its similar to <code>< b ></code>, but is recommended because its semantically emphasizes the text is important, and indicates that the text is meaningful word.</p>
    <p><code>< em ></code> is used to emphasize text its similar to the <code>< i ></code> tag, but like     <code>< strong ></code> its more recommended.</p>
    <p><code>< img ></code> tag is used to display an image, the <code>src=""</code> attribute is necessary which is there the image's URL is placed.</p>
  </section> <!-- End of the second section -->
  
  
  
  <section class="main-section" id="Examples_of_HTML_attributes"> <!-- Beginning of the third section -->
    <header>Examples of HTML attributes</header>
    <p><code>< placeholder ></code> is an attribute that displays text in a box, like an email, password, username, text area, etc.       </p>
    <p><code>< required ></code> this attribute makes entering info a requirement before the user can move on into the program.</p>
    <p><code>< title ></code> is used to create tooltips, to show extra information to help the user.</p>  
  </section> <!-- End of the thrid section -->
  
  
  
  <section class="main-section" id="Review"> <!-- Beginning of the fourth section -->
    <header>Review</header>
    <p>This technical documentation page is has shown y'all</p>
    <p><code>< strong ></code>, <code>< em ></code>, and <code>< img ></code> are tag elements that are used in HTML to display effects</p>
    <p><code>< placeholder ></code>, <code>< required ></code>, and <code>< title ></code> are attributes that are used with elements to create more effects.
  </section> <!-- End of the fourth section -->
  
  
  <section class="main-section" id="For_further_learning"> <!-- Beginning of the fifth section -->
    <header>For further learning</header>
    <ul><li><p>Here are a few places to learn more about HTML and more!</p></li>
    <p><li>freeCodeCamp - is a website that teaches mostly front-end web development and has a great community.</li></p>
    <p><li>Sololearn - is a website with pleathora of interesting coureses, in programming langauges. It also has a great and helpful     community, with many features.</li>
    <p><li>w3Schools - its a good place to learn, and a helpful place to get quick info.</li>
    <p><li>MDN - is also a another great place to learn programming</p></li></ul>
  </section> <!-- End of the fifth section -->
</main> <!-- The end of the main content -->
              
            
!

CSS

              
                body {
  font-family:roboto;
}

.main-section {
  padding-left:10%;
}

header {
  color:white;
  text-shadow:1px 1px 3px gray;
  border:1px #E18600 solid;
  background-color:#E18600;
  border-radius:5px;
  margin-right:85%;
  padding:5px;
}

code {
  background-color:#3C3B3C;
  color:white;
  padding:5px;
}

code::selection {
  background-color:black;
}

#navbar {
  position:fixed; 
  padding-top:6.34%;
}

.nav-link {
  text-decoration:none;
}

.nav-link:hover {
  color:yellow;
}

@media (max-width: 600px) {
  header {
    padding:10px;
    margin-right:100px
  }
  p {
    word-spacing:5px;
  }
  code {
    color:yellow;
  }
}

.Link-profile {
  position:relative;
  top:100px
}

.Link-profile:hover {
  color:lime;
}
              
            
!

JS

              
                
              
            
!
999px

Console