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.


                <div id="logo"><img src="" /></div>

  <form class="searchform">
    <input type="text" placeholder="search users" class="searchbox">

<div id="container">
  <div class="list">
    <ul class="tabs">
      <li class="all active">All</li>
      <li class="online notactive">Online</li>
      <li class="offline notactive">Offline</li>
    <div class="tab-content">
      <!-- jQuery will fill with list data -->
  </div> <!-- end list -->
</div> <!-- end container -->


                body {
  font-family: 'Roboto', sans-serif;
#logo {
  text-align: center;
.searchform {
  text-align: center;
.searchbox {
  width: 300px;
  height: 30px;
  margin-top: 10px;
  margin-bottom: 10px;
  border-radius: 5px;
  outline: none;
  padding: 5px;
  font-size: 18px;
.row {
  height: 80px;
  width: 500px;
  margin-left: auto;
  margin-right: auto;
  background: white;
  border-bottom: #6495ED 1px dashed;
  padding: 10px;
.logo {
  width: 80px;
  height: 80px;
  float: left;
  margin-right: 10px;
  border-radius: 10px;
.name {
  font-size: 20px;
  clear: left;
  position: relative;
  top: 10px;
a {
  font-family: 'Source Sans Pro', sans-serif;
  text-decoration: none;
  height: 100%;
  width: 100%;
  font-size: 20px;
  color: #4B0082;
  color: #191970;
  display: block;
.led {    
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.25);
    box-shadow: #000 0 -1px 6px 1px;
    float: right;
    margin-right: 10px;
    font-size: 30px;
    position: relative;
    top: 30px;
    right: 10px;
.led-red {
    background-color: #F00;
    box-shadow: #000 0 0px 3px 0px inset,  #600 0 -1px 8px, #F00 0 3px 11px;
.led-green {
    background-color: #80FF00;
    box-shadow: #000 0 0px 3px 0px inset, #460 0 -1px 8px, #80FF00 0 3px 11px;
.desc {
  width: 400px;
  font-size: 15px;
  position: relative;
  bottom: 3px;
.list {
  margin: auto;
  width: 500px;
ul.tabs {
  margin: 0;
.tabs li {
  display: inline-block;
  width: 115px;
  height: 20px;  
  border-radius: 10px 10px 0 0;
  padding: 10px;
  text-align: center;
  cursor: pointer;
  margin-bottom: 0;
  color: white;
  font-size: 17px;
.tabs {
  height: 25px;
  position: relative;
  bottom: 0px;
  background-color: #6495ED;
.tabs li.notactive {  
  background-color: #483D8B;
  position: relative;
  bottom: -5px;
.tab-content {
  width: 510px;
  border-top: #6495ED 4px solid;


  var users = ["krzjn", "splinti98", "juaniszombie", "v0iddd", "averagebrownie", "freecodecamp", "medrybw", "noobs2ninjas", "RobotCaleb"];
  function getInfo(user) {
    var streamLink = "" + user + "?callback=?";
    var channelLink = "" + user + "?callback=?";
    $.getJSON(streamLink, function(streamData) {
      if ( !== null) {
        $('.tab-content').append('<div class="row online"><a target="_blank" href="' + + '"><img class="logo" src="' + + '" /><span class="name">' + + '</span><span class="led led-green" title="online"></span><p class="desc">' + + '</p></a></div>');
      }  // end if
      else {
        $.getJSON(channelLink, function(channelData) {
          $('.tab-content').append('<div class="row offline"><a href="' + channelData.url + '"><img class="logo" src="' + channelData.logo + '" /><span class="name">' + channelData.display_name + '</span><span class="led led-red" title="offline"></span></a></div>');
        }); // end getJSON channelLink
      }  // end else statement
    });  // end getJSON streamLink
  }  // end getInfo function

    for (var i=0; i< users.length; i++){

  });  // .all click function
  });  // end click function
  $('li.offline').click(function() {
  });  // end li.offline click function
    var search = $(this).val();
      if ($(this).text().search(new RegExp(search, "i")) < 0){
      else { $(this).show(); }
}); // end document ready function