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

              
                <html>
 
<!-- Task 10 -->
<head>
  <title>Lorem Ipsum</title>
</head>
<!-- End Task 10 -->  

<body>
  
  <meta name="author" content="Kacie Bond">

<!-- Task 8 -->
<div class = "sidenavigation">
<!-- Task 6 -->
<!-- Task 3 -->
  <h2> Links </h2>
  <a href="https://www.justinmind.com/blog/awesome-lorem-ipsum-alternatives/"> Alternatives</a>
  <p><a href="https://www.google.com/">Google</a></p>
<!-- End Task 3 -->
<!-- End Task 6 -->
</div>
<!-- End Task 8 -->

<!-- Task 8 -->
<div class = "main">
  <h1 id = "myHeader">Lorem Ipsum</h1>
  
<!-- Task 9 --> 
<p><span id = "menuagain">Untitled</span>
<span id = "menuagain">Untitled</span>
<span id = "menuagain">Untitled</span>
<span id = "menuagain">Untitled</span></p>
<!-- End Task 9 --> 
  
<!-- Task 3 -->
  <img src="https://assets.justinmind.com/wp-content/uploads/2018/11/Lorem-Ipsum-alternatives.png" alt="placeholder" style="width:500px;height:300px;">
<!-- End Task 3 -->
 
<!-- Task 6 -->
<!-- Task 4 -->
  <img src="https://assets.justinmind.com/wp-content/uploads/2018/11/Lorem-Ipsum-alternatives.png" alt="placeholder" style="width:300px;height:200px;">

<!-- Task 6 -->
  <p><a href="https://www.w3schools.com"><img src="https://assets.justinmind.com/wp-content/uploads/2018/11/Lorem-Ipsum-alternatives.png" alt="placeholder" style="width:100px;height:60px;"></a></p>
<!-- End Task 4 -->
<!-- End Task 6 -->
  
<!-- Task 7 -->
  <h2 id = "myHeader">The standard Lorem Ipsum passage:</h2>
  <blockquote><p>Lorem ipsum dolor sit amet, illum definitiones no quo, maluisset concludaturque et eum, altera fabulas ut quo. Atqui causae gloriatur ius te, id agam omnis evertitur eum. Affert laboramus repudiandae nec et. Inciderint efficiantur his ad. Eum no molestiae voluptatibus. Lorem ipsum dolor sit amet, illum definitiones no quo, maluisset concludaturque et eum, altera fabulas ut quo. Atqui causae gloriatur ius te, id agam omnis evertitur eum. Affert laboramus repudiandae nec et. Inciderint efficiantur his ad. Eum no molestiae voluptatibus.</p></blockquote>
  <q><p class = "highlightwords">Lorem ipsum dolor sit amet, illum definitiones no quo, maluisset concludaturque et eum, altera fabulas ut quo. Atqui causae gloriatur ius te, id agam omnis evertitur eum. Affert laboramus repudiandae nec et. Inciderint efficiantur his ad. Eum no molestiae voluptatibus.</p></q>
  <blockquote><p>Lorem ipsum dolor sit amet, illum definitiones no quo, maluisset concludaturque et eum, altera fabulas ut quo. Atqui causae gloriatur ius te, id agam omnis evertitur eum. Affert laboramus repudiandae nec et. Inciderint efficiantur his ad. Eum no molestiae voluptatibus. Lorem ipsum dolor sit amet, illum definitiones no quo, maluisset concludaturque et eum, altera fabulas ut quo. Atqui causae gloriatur ius te, id agam omnis evertitur eum. Affert laboramus repudiandae nec et. Inciderint efficiantur his ad. Eum no molestiae voluptatibus.  Lorem ipsum dolor sit amet, illum definitiones no quo, maluisset concludaturque et eum, altera fabulas ut quo. Atqui causae gloriatur ius te, id agam omnis evertitur eum. Affert laboramus repudiandae nec et. Inciderint efficiantur his ad. Eum no molestiae voluptatibus. Lorem ipsum dolor sit amet, illum definitiones no quo, maluisset concludaturque et eum, altera fabulas ut quo. Atqui causae gloriatur ius te, id agam omnis evertitur eum. Affert laboramus repudiandae nec et. Inciderint efficiantur his ad. Eum no molestiae voluptatibus.</p></blockquote>
<!-- End Task 7 -->
<!-- Task 9 -->
<table style="width:100%">
  <tr>
    <th>Lorem ipsum</th>
    <th colspan="2">Inciderint efficiantur</th>
  </tr>
  <tr>
    <td>Atqui causae gloriatur ius te</td>
    <td>
      <ol>
        <li>Illum</li>
        <li>Quo</li>
        <li>Te</li>
      </ol>  
    </td>
    <td>Affert laboramus repudiandae nec et</td>
  </tr>
</table>
<!-- End Task 9 -->
  
  <q><p class = "highlightwords">Lorem ipsum dolor sit amet, illum definitiones no quo, maluisset concludaturque et eum, altera fabulas ut quo. Atqui causae gloriatur ius te, id agam omnis evertitur eum. Affert laboramus repudiandae nec et. Inciderint efficiantur his ad. Eum no molestiae voluptatibus.</p></q>
  
<!-- Task 10 -->
  <iframe src="https://jolineblais.net/nmd295/" height="500" width="1155" title="Iframe Example"></iframe>
<!-- End Task 10 -->
  
</div>
<!-- End Task 8 -->
   
</body>
</html> 

              
            
!

CSS

              
                

body {
  font-family: courier new;
  /*Task 7*/
  background-color: #bde0fe;
  /*End Task 7*/
}

.sidenavigation {
  height: 95%;
  width: 180px;
  position: fixed;
  background-color: #cdb4db;
  overflow-x: hidden;
  padding-top: 20px;
}

.sidenavigation a {
  padding: 15px 0px 0px 20px;
  text-decoration: none;
  font-size: 18px;
  /*Task 4*/
  font-style: italic;
  /*End Task 4*/
  color: #ffffff;
  display: block;
}

.main {
  margin-left: 180px;
  /*Task 4*/
  font-size: 15px;
  text-align: left;
  /*End Task 4*/
  padding: 10px 80px;
  line-height: 1.5;
}

/*Task 8*/
.highlightwords{
  color: #cdb4db;
  font-style: bold;
  background-color: #ffffff;
  padding: 30px 100px;
  display: blockquote;
}

#myHeader{
  background-color: #cdb4db;
  color: #ffffff;
  font-style: bold;
  padding: 30px 50px;
}

#myHeaderAgain{
  background-color: #ffc8dd;
  color: #ffffff;
  font-size: 25px;
  padding: 20px 90px;
}
/*End Task 8*/

/*Task 9*/
#menuagain{
  background-color: #ffc8dd;
  color: #ffffff;
  font-size: 25px;
  padding: 10px 82px;
}
/*End Task 9*/

h1 {
  /*Task 4*/
  background-color: #cdb4db;
  color: #ffffff;
  font-style: bold;
  /*End Task 4*/
  padding: 10px 50px;
}

h2 {
  background-color: #ffc8dd;
  color: #ffffff;
  font-size: 25px;
  padding: 10px 90px;
}

/*Task 4*/
mark {
  background-color: yellow;
  color: black;
}
/*End Task 4*/

/*Task 9*/
table, th, td {
  border: 3px solid #bde0fe;
  border-collapse: collapse;
  background-color: #cdb4db;
}

th, td {
  padding: 10px;
  text-align: left;  
  color: white;
}
/*End Task 9*/
              
            
!

JS

              
                
              
            
!
999px

Console