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. If you link to another Pen, it will include the CSS from that Pen. If the preprocessor matches, it will attempt to combine them before processing.

+ 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

              
                <!DOCTYPEhtml>
<body>
 <link href="https://fonts.googleapis.com/css2?family=Alata&display=swap" rel="stylesheet">
          <link
      rel="stylesheet"
      href="https://cdnjs.cloudflare.com/ajax/libs/animate.css/4.0.0/animate.min.css"
    />
</body>
<html>
 
  <center>
    <div class="container">

      <h1>TheFilePartition</h1>
      <p>Tech News Delivered.</p>

      <div class="subcontainer">

        <img
          class="animate__animated animate__zoomIn"
          src="https://thefilepartition.tk/assets/My%20Post%20(21).png"
          width="200"
          alt="amongus "
          class="header-title-avatar"
        />
 
      </div> <!-- subcontainer -->

      <div class="subcontainer">

        <img
          class="animate__animated animate__zoomIn"
          src="https://thefilepartition.tk/assets/My%20Post%20(24).png"
          width="200"
          alt="amongus "
          class="header-title-avatar"
        />
 
      </div> <!-- subcontainer -->
    
          <div class="subcontainer1">

        <img
          class="animate__animated animate__zoomIn"
          src="https://thefilepartition.tk/assets/My%20Post%20(28).png"
          center="100"
          width="200"
          alt="amongus "
          class="header-title-avatar"
        />
 
      </div> <!-- subcontainer -->
<h2>We are the FilePartition. We are a technology journalism group on YouTube, Our Mission is to entertain,teach and have a bit of fun whilst doing that. We like to code (Mostly Jac) We like to experiment with a veeerry low budget around £20. Basically we are a low budget youtube channel using their adobe student accounts to edit videos.</h2>
    </div>
<div class="w3-row-padding w3-grayscale" style="margin-bottom:128px">
  <div class="w3-half">
    <img src="https://thefilepartition.tk/assets/480px-Microsoft_logo.svg.png" style="width:10%">
    <img src="https://thefilepartition.tk/assets/applelogo1.png" style="width:10%">
    <img src="https://thefilepartition.tk/assets/ArmLogo.png" style="width:10%">
    <img src="https://thefilepartition.tk/assets/Google_logo.jpg" style="width:10%">
    <img src="https://thefilepartition.tk/assets/IntelLogo.jpg" style="width:10%">
    <img src="https://thefilepartition.tk/assets/download%20(6).png" style="width:10%">
        <img src="https://thefilepartition.tk/assets/Amd.png" style="width:10%">
            <img src="https://thefilepartition.tk/assets/Dell.png" style="width:10%">

   
  </div>
<h3>Hey, You've Just read that bit i assume, why not check out our  <a href="https://www.youtube.com/channel/UCf9ngdyJus3gYXTh8qDX0_A">YouTube Channel</a> click "YouTube Channel" to see it,if not why did i try?</h3>
  <div class="w3-half">

    <img src="https://thefilepartition.tk/assets/D4K5_2EF28195-2C90-4202-813E-7752A8B7A7F1_large.jpg" style="width:30%">
    <img src="https://thefilepartition.tk/assets/u_10205557.jpg" style="width:25%">
    <img src="https://thefilepartition.tk/assets/aypqk769eMH864ziakjaAG.jpg" style="width:40%">
  </div>
</div>
    <p>Code ALL Done by Jac</p>
    <p>Microsoft © Arm © Apple © Google © Intel © Nvidia © Currys Pc World ©

</footer>
 
  </center>

  </center>
        
  <div id="mySidebar" class="sidebar">
  <a href="javascript:void(0)" class="closebtn" onclick="closeNav()">×</a>
  <body style="background-color:#919395;">
    <a href="i am idiot">Please help</a>
    <a href="example">example</a>
    <a href="stuff">stuff</a>
<div id="main">
  <button class="openbtn" onclick="openNav()">☰ </button>

  </html>
              
            
!

CSS

              
                
body {
  font-family: 'Alata', sans-serif;
  background-color: #919395;
  color:white;
}
* { color:#fff; text-decoration: none;}
.sidebar {
  height: 100%;
  width: 0;
  position: fixed;
  z-index: 1;
  top: 0;
  left: 0;
  background-color: #696969;
  overflow-x: hidden;
  transition: 0.5s;
  padding-top: 60px;
}

.sidebar a {
  padding: 8px 8px 8px 32px;
  text-decoration: none;
  font-size: 25px;
  color: #919395;
  display: block;
  transition: 0.3s;
}

.sidebar a:hover {
  color: #f1f1f1;
}

.sidebar .closebtn {
  position: absolute;
  top: 0;
  right: 25px;
  font-size: 36px;
  margin-left: 50px;
}

.openbtn {
  font-size: 20px;
  cursor: pointer;
  background-color: #919395;
  color: white;
  padding: 10px 15px;
  border: none;
  position: fixed;
  top: 0;
  left: 0;
}

.openbtn:hover {
  background-color: #919395;
}

#main {
  transition: margin-left .5s;
  padding: 16px;

}
 
 
  .container{
    width:100%;
    float:right;
  }
 
  .subcontainer{
    width:50%;
    float:left;
  }
  .subcontainer{
    width:33.33%;
    float:left;
  }
              
            
!

JS

              
                 var TxtType = function(el, toRotate, period) {
        this.toRotate = toRotate;
        this.el = el;
        this.loopNum = 0;
        this.period = parseInt(period, 10) || 2000;
        this.txt = '';
        this.tick();
        this.isDeleting = false;
    };

    TxtType.prototype.tick = function() {
        var i = this.loopNum % this.toRotate.length;
        var fullTxt = this.toRotate[i];

        if (this.isDeleting) {
        this.txt = fullTxt.substring(0, this.txt.length - 1);
        } else {
        this.txt = fullTxt.substring(0, this.txt.length + 1);
        }

        this.el.innerHTML = '<span class="wrap">'+this.txt+'</span>';

        var that = this;
        var delta = 200 - Math.random() * 100;

        if (this.isDeleting) { delta /= 2; }

        if (!this.isDeleting && this.txt === fullTxt) {
        delta = this.period;
        this.isDeleting = true;
        } else if (this.isDeleting && this.txt === '') {
        this.isDeleting = false;
        this.loopNum++;
        delta = 500;
        }

        setTimeout(function() {
        that.tick();
        }, delta);
    };

    window.onload = function() {
        var elements = document.getElementsByClassName('typewrite');
        for (var i=0; i<elements.length; i++) {
            var toRotate = elements[i].getAttribute('data-type');
            var period = elements[i].getAttribute('data-period');
            if (toRotate) {
              new TxtType(elements[i], JSON.parse(toRotate), period);
            }
        }
        // INJECT CSS
        var css = document.createElement("style");
        css.type = "text/css";
        css.innerHTML = ".typewrite > .wrap { border-right: 0.08em solid #fff}";
        document.body.appendChild(css);
    };
function openNav() {
  document.getElementById("mySidebar").style.width = "250px";
  document.getElementById("main").style.marginLeft = "250px";
}

function closeNav() {
  document.getElementById("mySidebar").style.width = "0";
  document.getElementById("main").style.marginLeft= "0";
}

              
            
!
999px

Console