A Pen By Captain Anonymous

Pen Settings

CSS Base

Vendor Prefixing

Add External CSS

These stylesheets will be added in this order and before the code you write in the CSS editor. You can also add another Pen here, and it will pull the CSS from it. Try typing "font" or "ribbon" below.

Quick-add: + add another resource
via CSS Lint

Add External JavaScript

These scripts will run in this order and before the code in the JavaScript editor. You can also link to another Pen here, and it will run the JavaScript from it. Also try typing the name of any popular library.

Quick-add: + add another resource
via JS Hint

Code Indentation


Save Automatically?

If active, Pens will autosave every 30 seconds after being saved once.

Want a Run Button?

If active, the preview will update automatically when you change code.


              <label for="github"># of Private Repos:</label>
<select id="github">
  <option value="25">0-10</option>
  <option value="50">11-20</option>
  <option value="100">21-50</option>
  <option value="200">51-125</option>
<label for="bitbucket"># of contributors:</label>
<select id="bitbucket">
  <option value="0">0-5</option>
  <option value="10">6-10</option>
  <option value="25">11-25</option>
  <option value="50">26-50</option>
  <option value="100">51-100</option>
  <option value="200">>100</option>

<p id="git">Cost at Github: $<span id="cost-github"></span>
<p id="bit">
Cost at Bitbucket: $<span id="cost-bitbucket"></span>



              .winner {
  color: green;
  font-weight: bold;


              $('#github, #bitbucket').on('change', function(){

function updateWinner(){
  var gitCost = $('#github').val();
  var bitCost = $('#bitbucket').val();

  $('#git, #bit').removeClass('winner');
  if(gitCost < bitCost){
  else {

Loading ..................