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

              
                <!DOCTYPE html>
<html>
  <head>
    <title>HTMLLabSamB</title>
    <h1>Sam B.</h1>
    <!-- Header sizes adjusted in CSS so number doesnt matter -->
  </head>
  <body>
    <b1>My name is Samuel Ballard. I was born in Asheville, North Carolina and I now live in Pisgah Forest. My dream job is to work as a scientist on the LHC (Large Hadron Collider) on the border of France and Switzerland. Im hoping that through this class I can get a job working for my best friend's dad's company. After High School I would like to go to MIT or another prestigious school to pursue a degree in Quantum mechanics. After I am out of school, I hope to work at the LHC as I previously stated and be on the team of scientists that discovers gravitons and hope that our reaserch leads to massive increases in the quality of life of future generations. </b1>
    </br>
  <h3>Favorite Songs</h3>
  <ol type="I"> <!-- Roman Numerals -->
    <li>Bohemian Rhapsody -Queen</li>
    <li>Lone Digger -Caravaan Palace</li>
    <li>Piano Man -Billy Joel</li>
  </ol>
  <h4>Schedule for this year</h4>
  <table>
  <table style="width:100%">
  <tr>
    <th>Period ↓</th>
    <th>First semester</th>
    <th>Second semester</th>
  </tr>
  <tr>
    <td><b>1st</b></td>
    <td>AH1</td>
    <td>Art 2</td>
  </tr>
  <tr>
    <td><b>2nd</b></td>
    <td>Word & Power point</td>
    <td>French</td>
  </tr>
  <tr>
    <td><b>3rd</b></td>
    <td>Computer Science</td>
    <td>French 1</td>
  </tr>
  <tr>
    <td><b>4th</b></td>
    <td>PreCalc</td>
    <td>Calc</td>
  </tr>
  </table>
   <img src="https://lh3.googleusercontent.com/hK63-BAG3R3tJtoynTS3QMURL0b15vNl1ahqasSuOXndNPYU7KeuaKCPuFVhND0N49QtVXWOeQf3W4l7aqNkEt4dqVDNR_c6D4F-EO6rJCpQATbFCMJX0aaaMEhkF2S93y_xQOPbS_0IY3coMn7w5-IOrKrM4RJox6qDGD7DKnf_tW0N3BgqhyCKDjBxmsVc-1gOoHN7_-pl6sLjCP52_vc7GSpzxUnAghyMw3ZvJ3LQU6dj6TWA5G-1Zyc_C87hpMNqw4U9xPkW2466hyQOR-9YwCHgyLQeHhUOD1kNS4-TFh5h6ruo7quY6dGyDAs-0fNKvoJ6Z9r8I0VnQch12onMBLelSUCCvYjCodL737KykMSgiS7nnqB1DSUZKRc96hzTrC57crWzVKJt0NQSghAqpSiuveNOFQkWOcUiR2At9dA2MlHplUoRR21U3Ato9jmeXL3UUAV1arHdbEhCvgxdxztKykzztt5upwMMYn6sp9pMGaAFKWwow8RX_6Prp4RXx1Spt25357YBt8aIQi4sZ8I26olsWz-EgJi75dq_wd58ViCw6ulI8F8VWOYr7wMdad_U042HYc_mMpFQj4GvRHvrhIyUGfDhAhPgYaFLAUtSrhfk=w1135-h638-no" ><!-- Massive Picture (Intentional, not on accident) of my face after getting hit by a pool ball -->
    </body>
</html>
              
            
!

CSS

              
                h1{
border-style: solid;
border-width: 5px;
border-color: #961600;
background-color: #ffffff;
color: #961600;
text-align: center;
font-family: Courier;
font-size: 350%;
}
b1{
background-color: #ffffff;
color: #000000;
text-align: left;
fon-size: 130%;
}
h3{
background-color: #ffffff;
color: #0b304f;
text-align: Left;
font-family: Vernanda;
font-size: 150%;
}
h4{
  font-size: 120%;
}
li{
background-color: #ffffff;
color: #0b304f;
  text-align: left;
font-family: Times;
font-size: 125%;
}
th{
  text-align: left;
  border-style: solid;
border-width: 1px;
border-color: #000000;
}
td{
  text-align: left;
  border-style: solid;
border-width: 1px;
border-color: #000000;
}
img{
  height: 650px;
}
              
            
!

JS

              
                
              
            
!
999px

Console