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.






                // For configuration
// Set next line to true if you are blocking a single ip
single_ip = false;
// Fill next line always with single address you want to block or starting address of the range
start_ip = '';
// Fill if you are blockin a range of addresses with ending address of the range
end_ip = ''; 
geoipdata = null;
show_experiences = false;
convert.$.getJSON('', function(data) {
  geoipdata = data;
  if (geoipdata.ip == start_ip && show_experiences == true) {
		show_experiences = true;
	else if (( IPtoNum(start_ip) < IPtoNum(geoipdata.ip) && IPtoNum(end_ip) > IPtoNum(geoipdata.ip) )) {
    show_experiences = true; 

// Function converts IPs to Numbers
// which are easier to compare.
function IPtoNum(ip){
  return Number(
      .map(d => ("000"+d).substr(-3) )