cssAudio - Activefile-genericCSS - ActiveGeneric - ActiveHTML - ActiveImage - ActiveJS - ActiveSVG - ActiveText - Activefile-genericVideo - ActiveLovehtmlicon-new-collectionicon-personicon-teamlog-outoctocatpop-outspinnerstartv

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.

Quick-add: + add another resource

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.

Quick-add: + add another resource

Code Indentation

     

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.

            
              <h3>Learn coding!</h3>
<ul>
  <li><a href=https://codepen.io/ajostel/pen/NdXqvO target=_blank>Maths Playground</a></li>
  <li><a href=https://codepen.io/ajostel/pen/KzOVgW target=_blank>Adding 1..100</a> (for-loop, button, getElementById)</li>
  <li><a href=https://codepen.io/ajostel/pen/EKqPmR target=_blank>How many pupils?</a> (if/else)</li>
  <li><a href="https://codepen.io/ajostel/pen/pbbdgv" target=_blank>What is the 75th Fibonacci number?</a></li>
  <li><a href=https://codepen.io/ajostel/pen/vGoLJo target=_blank>Estimate &pi;</a></li>
  <li><a href=https://codepen.io/ajostel/pen/GMKZdr target=_blank>100 chickens</a></li>
  <li><a href="https://codepen.io/ajostel/pen/JKoXye" target=_blank>Throw 3 dice</a>: what are the likely sums?</li>
  <li><a href="https://codepen.io/ajostel/pen/AXoWgg" target=_blank>Tiles puzzle</a>  
  <li><a href="https://codepen.io/ajostel/pen/mEPePo"
 target=_blank>Guess my Number Game</a></li>
  <li><a href=https://codepen.io/ajostel/pen/BzjrLy target=_blank>Rock Paper Scissor Game</a> (Math.rand, arrays, display:none, "&&" "||" )</li>
  <li><a href="https://codepen.io/ajostel/pen/yJexJq" target=_blank>Drawing on Canvas</a></li>
  <li><a href="https://codepen.io/ajostel/pen/mEVGxm" target=_blank>SVG Animation</a></li>
  <li><a href="https://codepen.io/ajostel/pen/zBNEqa" target=_blank>Kuler clone</a></li>  
  <li><a href="https://codepen.io/ajostel/pen/JKyAwr" target=_blank>Central Limit Theorem</a></li>
  <li><a href="https://codepen.io/ajostel/full/wWAmqB" target=_blank>Maths Trainer</a></li>
  <li><a href="https://codepen.io/ajostel/pen/VjrOJX" target=_blank>Music Theory</a></li>
  <li><a href="https://codepen.io/ajostel/pen/akExrP" target=_blank>Audio</a></li>
  <li><a href="https://codepen.io/ajostel/pen/JKpjbE" target=_blank>Ramanujan</a></li>
  <li><a href="https://codepen.io/ajostel/pen/AXaRvQ" target=_blank>Bouncy Ball</a> [<a href="https://codepen.io/ajostel/pen/BpvzZX" target=_blank>2</a>]</li>
  <li><a href="https://codepen.io/ajostel/pen/dXLwLj" target=_blank>Red or Green</a></li>
  <li><a href="https://codepen.io/ajostel/pen/BLAVrG" target=_blank>Ping pong puzzle</a></li>
  <li><a href="https://codepen.io/ajostel/pen/NbYPYm" target=_blank>Linear Algebra</a></li>
  <li><a href="https://codepen.io/ajostel/pen/PORRGV" target=_blank>Puzzles</a></li>
</ul>

<h3>Statistics</h3>
<ul>
  <li><a href="https://codepen.io/ajostel/pen/NREKZR" target=_blank >Statistics</a>
</ul>

<h3>Design</h3>
<ul>
  <li><a href="https://codepen.io/ajostel/pen/EyJzdd" target=_blank >Tabbed view</a>
  <li><a href="https://codepen.io/ajostel/pen/dpqgoQ" target=_blank >ECMA-6</a>
  <li><a href="https://codepen.io/ajostel/pen/KNxarg" target=_blank >Robin</a>
  <li><a href="https://codepen.io/ajostel/pen/KvjGze" target=_blank >HGJFC</a>
  <li><a href="https://codepen.io/ajostel/pen/OxJByP" target=_blank >Font</a>
  <li><a href="https://codepen.io/ajostel/pen/MEYeMM" target=_blank >Kaleidoscope</a>
  <li><a href="https://codepen.io/ajostel/pen/gXoeQP" target=_blank >Life In Weeks</a>
  <li><a href="https://codepen.io/ajostel/pen/deMwXw" target=_blank >Fullscreen</a>
</ul>

<h3>Utilities</h3>
<ul>
  <li><a href="https://codepen.io/ajostel/full/LRVGXa" target=_blank>Timer</a></li>
  <li><a href="https://codepen.io/ajostel/pen/dXpxKL" target=_blank>Color Utils</li>
  <li><a href="https://codepen.io/ajostel/pen/OXYjzB" target=_blank>Relative Luminance</a></li>
  <li><a href="https://codepen.io/ajostel/pen/jrAapk" target=_blank>Luminance Perception</a></li>
  <li><a href="https://codepen.io/ajostel/pen/ZBjMZw" target=_blank>MathML</a></li>
  <li><a href="https://codepen.io/ajostel/pen/eejZmV" target=_blank>Markdown</a></li>
</ul>
<h3>Reference</h3>
<ul>
<li><a href="https://codepen.io/ajostel/pen/vXoxpV" target=_blank>Composers</li>
</ul>
            
          
!
999px
Loading ..................

Console