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>


Hello Camper!

For now, the test suite only works in Chrome! Please read the README below in the JS Editor before beginning. Feel free to delete this message once you have read it. Good luck and Happy Coding! 

- The freeCodeCamp Team 

<!DOCTYPE html>
  <meta charset = "UTF-8">
  <title>Documentation page</title>
    <main id = "main-doc">
<section class = "main-section" id = "what_is_sass?">
  <header>What is Sass?</header>
  <p>Sass is a front-end framework that facilitates the making of CSS files</p>
  <p>Sass makes the process of creating CSS files easier</p>
      <p>Sass saves developers precious time when creating webpages</p>
<section class = "main-section" id = "what_does_sass_need_to_work?">
  <header>What does Sass need to work?</header>
  <p>Sass requires a preprocessor to function properly</p>
  <p>You may use Ruby on Rails for Sass, however it is not necessary</p>
      <p>Many preprocessors are free-to-use</p>
      <section class = "main-section" id ="what_does_a_sass_variable_do?">
        <header>What does a Sass variable do?</header>
        <p>Values such as colors can be stored in Sass variables</p>
      <p>If you have too many variables, you can place them all in one file and import them</p>
        <p>CSS values are stored in Sass variables</p>
        <code>$primary-color: #4D5D53</code>
        <code>$font-stack: Times-New-Roman</code>
      <section class = "main-section" id = "what_is_nesting?">
        <header>What is nesting?</header>
        <p>Nesting makes it easier to create CSS files</p>
      <p>However, too much nesting is bad practice</p>
        <p>Sass allows you to nest your CSS selectors in order to put it in a clear hierarchy</p>
          color: pink;
<section class = "main-section" id = "what_are_sass_operators?"><header>What are Sass operators?</header>
  <p>In Sass, you can perform addition, subtraction, division, and multiplication operations</p>
      <p>There are other mathematical operations you can perform in Sass as well</p>
  <p>There are operators in Sass which allow you to do math</p>
  <code>width: 500px/250px</code>
  <code>width: 500px + 250px</code>
  <p>The main mathematical operations you can perform in Sass include:</p>
    <li>Basic algebra</li>
<nav id = "navbar">
  <header id = "basicsofsass">The Basics of Sass</header>
  <ul id = "sass-basics">
    <li><a class = "nav-link" href = "#what_is_sass?">What is Sass?</a></li>
    <li><a class = "nav-link" href = "#what_does_sass_need_to_work?">What does Sass need to work?</a></li>
    <li><a class = "nav-link" href = "#what_does_a_sass_variable_do?">What does a Sass variable do?</a></li>
    <li><a class = "nav-link" href ="#what_is_nesting?">What is nesting?</a></li>
    <li><a class = "nav-link" href = "#what_are_sass_operators?">What are Sass operators?</a></li>


                @media only screen and (min-width:100px){
  list-style-type: none;
  margin: 0;
  padding: 0;
  background-color: #f1f1f1;
  height: 100%;
  position: absolute;
  overflow: auto;
  z-index: 1;
  top: 0;
  left: 0;
li a{
  display: block;
  width: 200px;


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