Pen Settings



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


Babel is required to process package imports. If you need a different preprocessor remove all packages first.

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


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.


                <script src=""></script>
<DOCTYPE html>
  <title>Tech Document</title>
  <nav id="navbar">
    <header>What is Web Development?</header>
      <li><a class="nav-link" href="#html">Html</a></li>
      <li><a class="nav-link" href="#css">Css</a></li>
      <li><a class="nav-link" href="#javascript">JavaScript</a></li>
      <li><a class="nav-link" href="#frontend">Frontend</a></li>
      <li><a class="nav-link" href="#backend">Backend</a></li>
      <li><a class="nav-link" href="#java">Java</a></li>
  <main id="main-doc">
    <section class="main-section" id="html">
      <code>Hello world</code>
      <p>Coming Soon</p>
    <section class="main-section" id="css">
      <p>Coming Soon</p>
    <section class="main-section" id="javascript">
      <code>console.log('hello world');</code>
      <p>Javascript is the behavior behind web development. It is used to add interactivity when a button is pressed and send data to a server.</p>
    <section class="main-section" id="frontend">
      <p>Frontend is what controls the general look of a page and how the user will interact with it. Most of the things we have here are like the interface that the user uses to read data from. Frontend is wonderful at displaying static data to a user and performing simple actions with javascript to give the appearance of behavior.</p>
      <p>Here are some of the frontend languages we use on a regular basis:</p>
      <p>When developing for frontend we also use frameworks to help improve our general work flow. Frameworks are optional tools that simplify development by having prebuilt functions or api that we implement to speed up development.</p>
      <p>Here are some of the frontend frameworks that we implement to add additional flexibility to our projects:</p>
    <section class="main-section" id="backend">
    <section class="main-section" id="java">
         <p>In this section we will cover some of the core concepts behind the java programming language. We will read line by line and explain the intricate details behind the language so that you can implement every feature it has to offer! But please be aware that it is simply impossible to cover everything that the language is comprised of, so we will instead show some of the major additions. Using these simple guides we will help you get comfortable working with the language as an absolute beginner!</p>
         <p>Lets look at the main method in java.</p>
         <code>public static void main(String[] args){ // content }</code>
         <p>So what does public do?</p>
         <code>public className</code>
         <p>public is an access modifier, which determines whether other classes can reference it. Programming languages tend to have several different access modifiers to suit the need of all developers. Other access modifiers are private, protected, and etc. </p>
         <p>what is so special about the main method?</p>
         <code>public static void main(String args){}</code>
         <p>the main method is the entry point to our applications and the JVM will automatically search for it to start an application.</p>


                body {
  margin: 0;
  font-size: 30px;
  text-align: justify;
#navbar {
  background-color: hsl(120, 50%, 80%);
  float: left;
  width: 20%;
  height: 100vh;
header {
  font-size: 1.5em;
  text-transform: capitalize;
  text-align: center;
  margin: 20px;
#main-doc {
  float: right;
  width: 70%;
  padding: 30px;
#navbar ul {
  padding: 0;
#navbar ul li {
  background-color: hsl(100, 50%, 60%);
  padding: 10px;
  margin: 20px auto;
  list-style: none;
#navbar ul li a {
  padding: 10px;
  text-decoration: none;
  color: black;
@media screen and (max-width: 700px){
  body {
    font-size: 28px;
  #navbar {
    float: none;
    width: 100%;
    margin: auto;
    height: auto;
  #navbar ul {
    display: flex;
    justify-content: space-between;
  #main-doc {
    float: none;
  header {
    max-size: 100%;
    padding-top: 25px;


                // !! 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. 

  - Select the project you would 
    like to complete from the dropdown 
  - Click the "RUN TESTS" button to
    run the tests against the blank 
  - 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.