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

You're using npm packages, so we've auto-selected Babel for you here, which we require to process imports and make it all work. If you need to use a different JavaScript preprocessor, remove the packages in the npm tab.

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

Use npm Packages

We can make npm packages available for you to use in your JavaScript. We use webpack to prepare them and make them available to import. We'll also process your JavaScript with Babel.

⚠️ This feature can only be used by logged in users.

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.

HTML Settings

Here you can Sed posuere consectetur est at lobortis. Donec ullamcorper nulla non metus auctor fringilla. Maecenas sed diam eget risus varius blandit sit amet non magna. Donec id elit non mi porta gravida at eget metus. Praesent commodo cursus magna, vel scelerisque nisl consectetur et.

            
              <!-- Pricing -->
<!-- Edit this code on https://codepen.io/tekNorah/pen/WPwOXz -->
<img class="ogimage-hidden" src="//i.imgur.com/FpybtOr.jpg" />
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous">
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js" integrity="sha384-JZR6Spejh4U02d8jOt6vLEHfe/JQGiRRSQQxSfFWpi1MquVdAyjUar5+76PVCmYl" crossorigin="anonymous"></script>
<script>
  function getRetainerValues()
  {
      var retainerHours = 0;
      var discountPercent = 0;
      var discountAmount = 0;
      var retainerPrice = 0;
      var theForm = document.forms["retainerform"];
      var selectedRetainer = theForm.elements["retainerRadios"];
      for(var i = 0; i < selectedRetainer.length; i++)
      {
          if(selectedRetainer[i].checked)
          {
              retainerHours = selectedRetainer[i].value
              var retainerBeforeDiscount = (retainerHours * 100);
              discountPercent = (selectedRetainer[i].value / 100);
              discountAmount = retainerBeforeDiscount * discountPercent;
              retainerPrice = (retainerBeforeDiscount - discountAmount);
              break;
          }
      }
      return [retainerHours, discountPercent, discountAmount, retainerPrice];
  }

  function clearDiscountValues()
  {
      var discountPercents = document.getElementsByClassName("discountPercent");
      for(var i = 0; i < discountPercents.length; i++)
      {
          discountPercents[i].innerHTML = "";
      }

      var discPercentParen = document.getElementsByClassName("discPercentParen");
      for(var i = 0; i < discPercentParen.length; i++)
      {
          discPercentParen[i].innerHTML = "";
      }
  }

  function calculateTotal()
  {
      clearDiscountValues();
      var retainerValues = getRetainerValues();
      var retainerHours = retainerValues[0];
      var discountPercent = retainerValues[1]  * 100;
      var discountAmount = retainerValues[2];
      var retainerPrice = retainerValues[3];
      document.getElementById('discParen' + (retainerHours / 10) + 'beg').innerHTML = "(";
      document.getElementById('discParen' + (retainerHours / 10) + 'end').innerHTML = ")";
      document.getElementById('discountPercent' + (retainerHours / 10)).innerHTML = discountPercent + "% OFF";
      document.getElementById('discAmtParenBeg').innerHTML = "(";
      document.getElementById('discAmtParenEnd').innerHTML = ")";
      document.getElementById('discountAmount').innerHTML = "-$" + discountAmount;
      document.getElementById('totalPrice').innerHTML = "$" + retainerPrice;
      document.getElementById("retainerButton").href = "/retainer?size=" + retainerHours + "&discount=" + discountAmount + "&total=" + retainerPrice;
      document.getElementById("retainerButton").classList.remove("disabled");
      document.getElementById("retainerButton").setAttribute("aria-disabled", "false");
  }  
</script>
<div class="container text-center">
  <div class="row justify-content-center">
    <div class="col-md-3 mb-3 px-2">
      <div class="card mb-4" id="ama">
        <noscript class='optimizedimg card-img-top' data-alt='Card image cap' data-jpg='//i.imgur.com/qALn0wv.jpg' data-jpg-mobile='//i.imgur.com/qALn0wvm.jpg' data-webp='//a.webpurr.com/0J2o.webp'>
        <img class="card-img-top" src="//i.imgur.com/qALn0wv.jpg" alt="Card image cap"/>
      </noscript>
        <div class="card-header">
          <h4 class="my-0 font-weight-bold">Ask me anything</h4>
        </div>
        <h1 class="card-title pricing-card-title mt-3">$15 <small class="text-muted">/ mo</small></h1>
        <h5 class="card-text font-weight-bold text-success">40% OFF</h5>
        <h5 class="card-text font-weight-bold">REMOTE ASSISTANCE</h5>
        <h4 class="card-text font-weight-bold">15 MINS</h4>
        <ul class="list-group list-group-flush">
          <li class="list-group-item">Bug Squashing</li>
        </ul>
        <div class="card-body d-flex flex-column">
          <a href="//www.patreon.com/join/tekAura/checkout?rid=1834057" class="mt-auto btn btn-lg btn-block btn-dark" role="button">Select</a>
        </div>
      </div>
    </div>
    <div class="col-md-3 mb-3 px-2">
      <div class="card mb-4" id="puzzles">
        <noscript class='optimizedimg card-img-top' data-alt='Card image cap' data-jpg='//i.imgur.com/C2IKVlv.jpg' data-jpg-mobile='//i.imgur.com/C2IKVlvm.jpg' data-webp='//a.webpurr.com/PN0r.webp'>
        <img class="card-img-top" src="//i.imgur.com/C2IKVlv.jpg" alt="Card image cap"/>
      </noscript>
        <div class="card-header">
          <h4 class="my-0 font-weight-bold">I ♥ Puzzles!</h4>
        </div>
        <h1 class="card-title pricing-card-title mt-3">$50 <small class="text-muted">/ mo</small></h1>
        <h5 class="card-text font-weight-bold text-success">50% OFF</h5>
        <h5 class="card-text font-weight-bold">REMOTE ASSISTANCE</h5>
        <h4 class="card-text font-weight-bold">1 HOUR</h4>
        <ul class="list-group list-group-flush">
          <li class="list-group-item">Bug Squashing</li>
          <li class="list-group-item">Site Optimization</li>
        </ul>
        <div class="card-body d-flex flex-column">
          <a href="//www.patreon.com/join/tekAura/checkout?rid=1834056" class="mt-auto btn btn-lg btn-block btn-dark" role="button">Select</a>
        </div>
      </div>
    </div>
    <div class="col-md-3 mb-3 px-2">
      <div class="card mb-4" id="kir">
        <noscript class='optimizedimg card-img-top' data-alt='Card image cap' data-jpg='//i.imgur.com/NI5T2Wv.jpg' data-jpg-mobile='//i.imgur.com/NI5T2Wvm.jpg' data-webp='//a.webpurr.com/x29E.webp'>
        <img class="card-img-top" src="//i.imgur.com/NI5T2Wv.jpg" alt="Card image cap"/>
      </noscript>
        <div class="card-header">
          <h4 class="my-0 font-weight-bold">Keep IT Running</h4>
        </div>
        <h1 class="card-title pricing-card-title mt-3">$75 <small class="text-muted">/ mo</small></h1>
        <h5 class="card-text font-weight-bold text-success">62.5% OFF</h5>
        <h5 class="card-text font-weight-bold">REMOTE ASSISTANCE</h5>
        <h4 class="card-text font-weight-bold">2 HRS</h4>
        <ul class="list-group list-group-flush">
          <li class="list-group-item">Bug Squashing</li>
          <li class="list-group-item">Site Optimization</li>
          <li class="list-group-item">Backup</li>
          <li class="list-group-item">Upgrade</li>
          <li class="list-group-item">Restore</li>
        </ul>
        <div class="card-body d-flex flex-column">
          <a href="//www.patreon.com/join/tekAura/checkout?rid=1911012" class="mt-auto btn btn-lg btn-block btn-dark" role="button">Select</a>
        </div>
      </div>
    </div>
    <div class="col-md-3 mb-3 px-2">
      <div class="card mb-4" id="pp">
        <noscript class='optimizedimg card-img-top' data-alt='Card image cap' data-jpg='//i.imgur.com/ZLWjVjR.jpg' data-jpg-mobile='//i.imgur.com/ZLWjVjRm.jpg' data-webp='//a.webpurr.com/VALg.webp'>
        <img class="card-img-top" src="//i.imgur.com/ZLWjVjR.jpg" alt="Card image cap"/>
      </noscript>
        <div class="card-header">
          <h4 class="my-0 font-weight-bold">Planning Party</h4>
        </div>
        <h1 class="card-title pricing-card-title mt-3">$100 <small class="text-muted">/ mo</small></h1>
        <h5 class="card-text font-weight-bold text-success">66% OFF</h5>
        <h5 class="card-text font-weight-bold">REMOTE ASSISTANCE</h5>
        <h4 class="card-text font-weight-bold">3 HRS</h4>
        <ul class="list-group list-group-flush">
          <li class="list-group-item">Bug Squashing</li>
          <li class="list-group-item">Site Optimization</li>
          <li class="list-group-item">Backup</li>
          <li class="list-group-item">Upgrade</li>
          <li class="list-group-item">Restore</li>
          <li class="list-group-item">FULL Proposal</li>
          <li class="list-group-item">Access to tekAura Freelancers</li>
        </ul>
        <div class="card-body d-flex flex-column">
          <a href="//www.patreon.com/join/tekAura/checkout?rid=1834055" class="mt-auto btn btn-lg btn-block btn-dark" role="button">Select</a>
        </div>
      </div>
    </div>
  </div>
  <div class="row justify-content-center">
    <div class="col-md-4 mb-3 px-2">
      <div class="card mb-4" id="ods">
        <noscript class='optimizedimg card-img-top' data-alt='Card image cap' data-jpg='//i.imgur.com/DCrhzyq.jpg' data-jpg-mobile='//i.imgur.com/DCrhzyqm.jpg' data-webp='//a.webpurr.com/AKem.webp'>
        <img class="card-img-top" src="//i.imgur.com/DCrhzyq.jpg" alt="Card image cap"/>
      </noscript>
        <div class="card-header">
          <h4 class="my-0 font-weight-bold">On Demand Service</h4>
        </div>
        <h1 class="card-title pricing-card-title mt-3">$100 <small class="text-muted">/ hr</small></h1>
       <h5 class="card-text font-weight-bold">REMOTE ASSISTANCE</h5>
       <ul class="list-group list-group-flush">
          <li class="list-group-item">Bug Squashing</li>
          <li class="list-group-item">Site Optimization</li>
          <li class="list-group-item">Backup</li>
          <li class="list-group-item">Upgrade</li>
          <li class="list-group-item">Restore</li>
          <li class="list-group-item">FULL Proposals</li>
          <li class="list-group-item">Website Migration</li>
          <li class="list-group-item">Data Integration</li>
          <li class="list-group-item">Custom Plugin & Module Dev</li>
          <li class="list-group-item">Wordpress & Drupal Experts</li>
          <li class="list-group-item">DevOps</li>
          <li class="list-group-item">Access to tekAura Freelancers</li>
        </ul>
        <div class="card-body d-flex flex-column">
          <a href="/contact" class="mt-auto btn btn-lg btn-block btn-dark" role="button">Select</a>
        </div>
      </div>
    </div>
    <div class="col-md-4 mb-3 px-2">
      <div class="card mb-4" id="mentor">
        <noscript class='optimizedimg card-img-top' data-alt='Card image cap' data-jpg='//i.imgur.com/95oxa0Y.jpg' data-jpg-mobile='//i.imgur.com/95oxa0Ym.jpg' data-webp='//b.webpurr.com/EPjR.webp'>
        <img class="card-img-top" src="//i.imgur.com/95oxa0Y.jpg" alt="Card image cap"/>
      </noscript>
        <div class="card-header">
          <h4 class="my-0 font-weight-bold">Mentorship</h4>
        </div>
        <h1 class="card-title pricing-card-title mt-3">$40 <small class="text-muted">/ hr</small></h1>
        <h5 class="card-text font-weight-bold">REMOTE ASSISTANCE</h5>
        <ul class="list-group list-group-flush">
          <li class="list-group-item">Personal 1-on-1 Sessions</li>
          <li class="list-group-item">Cost Effective Training</li>
        </ul>
        <div class="card-body d-flex flex-column">
          <a href="//calendly.com/teknorah/session" class="mt-auto btn btn-lg btn-block btn-dark" role="button">Select</a>
        </div>
      </div>
    </div>
    <div class="col-md-4 mb-3 px-2">
      <div class="card mb-4" id="retain">
        <noscript class='optimizedimg card-img-top' data-alt='Card image cap' data-jpg='//i.imgur.com/CB7hMPQ.jpg' data-jpg-mobile='//i.imgur.com/CB7hMPQm.jpg' data-webp='//b.webpurr.com/lRrV.webp'>
          <img class="card-img-top" src="//i.imgur.com/CB7hMPQ.jpg" alt="Card image cap"/>
        </noscript>
        <div class="card-header text-center">
          <h4 class="my-0 font-weight-bold">Retainer</h4>
        </div>
        <h1 class="card-title pricing-card-title mt-3"><span id="totalPrice"></span>&nbsp;<small class="text-muted"><span id="discAmtParenBeg"></span><span class="text-success" id="discountAmount"></span><span id="discAmtParenEnd"></span></small></h1>

        <h5 class="card-text font-weight-bold">CHOOSE ONE:</h5>
        <div class="card-body mx-auto">
          <form action="" id="retainerform" onsubmit="return false;">
            <div class="form-group">
              <div class="form-check">
                <input class="form-check-input" type="radio" name="retainerRadios" id="retainerRadios1" value="10" onclick="calculateTotal()" />
                <label class="form-check-label" for="retainerRadios1">
                  10 HRS &nbsp;<span class="discPercentParen" id="discParen1beg"></span><span class=" discountPercent text-success" id="discountPercent1"></span><span class="discPercentParen" id="discParen1end"></span>
                </label>
              </div>
              <div class="form-check">
                <input class="form-check-input" type="radio" name="retainerRadios" id="retainerRadios2" value="20" onclick="calculateTotal()" />
                <label class="form-check-label" for="retainerRadios2">
                  20 HRS &nbsp;<span class="discPercentParen" id="discParen2beg"></span><span class="discountPercent text-success" id="discountPercent2"></span><span class="discPercentParen" id="discParen2end"></span>
                </label>
              </div>
              <div class="form-check">
                <input class="form-check-input" type="radio" name="retainerRadios" id="retainerRadios3" value="30" onclick="calculateTotal()" />
                <label class="form-check-label" for="retainerRadios3">
                  30 HRS &nbsp;<span class="discPercentParen" id="discParen3beg"></span><span class="discountPercent text-success" id="discountPercent3"></span><span class="discPercentParen" id="discParen3end"></span>
                </label>
              </div>
              <div class="form-check">
                <input class="form-check-input" type="radio" name="retainerRadios" id="retainerRadios4" value="40" onclick="calculateTotal()" />
                <label class="form-check-label" for="retainerRadios4">
                  40 HRS &nbsp;<span class="discPercentParen" id="discParen4beg"></span><span class="discountPercent text-success" id="discountPercent4"></span><span class="discPercentParen" id="discParen4end"></span>
                </label>
              </div>
            </div>
          </form>
        </div>
        <div class="card-body d-flex flex-column">
          <a href="#" class="mt-auto btn btn-lg btn-block btn-dark disabled" id="retainerButton" role="button" aria-disabled="true">Select</a>
        </div>
      </div>
    </div>
  </div>
</div>
<style>
  .post-title.entry-title,
  .mobile-post-title.entry-title,
  .ogimage-hidden,
  .navbar {
    display: none !important;
  }

  .breadcrumbs {
    line-height: normal;
    box-sizing: unset;
  }
  li.list-group-item {
    margin-top: 0;
  }
  input.form-check-input {
    margin-top: .3rem;
    margin-left: -1.25rem;
  }
  form#retainerform {
    margin: unset;
  }
</style>
            
          
!
            
              Modernizr.on("webp", function(result) {
  var nscript = document.getElementsByClassName("optimizedimg");
  var i;
  for (i = 0; i < nscript.length; i++) {
    var img = document.createElement("img");
    img.alt = nscript[i].getAttribute("data-alt");
    var classList = nscript[i].className.split(/\s+/);
    if (result) {
      img.src = nscript[i].getAttribute("data-webp");
    } else {
      if ($.browser.mobile) {
        img.src = nscript[i].getAttribute("data-jpg-mobile");
      } else {
        img.src = nscript[i].getAttribute("data-jpg");
      }
    }
    for (var j = 0; j < classList.length; j++) {
      if (classList[j] !== 'optimizedimg') {
          img.className = classList[j];
      }
    }
    nscript[i].parentNode.insertBefore(img, nscript[i].nextSibling);
  }
});

            
          
!
999px
🕑 One or more of the npm packages you are using needs to be built. You're the first person to ever need it! We're building it right now and your preview will start updating again when it's ready.

Console