Pen Settings

HTML

CSS

CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URLs added here will be added as <link>s in order, and before the CSS in the editor. You can use the CSS from another Pen by using its URL and the proper URL extension.

+ add another resource

JavaScript

Babel includes JSX processing.

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

Packages

Add Packages

Search for and use JavaScript packages from npm here. By selecting a package, an import statement will be added to the top of the JavaScript editor for this package.

Behavior

Auto Save

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.

HTML

              
                <ol>
  <li>TOM DOHNAL</li>
  <li>Faylove</li>
  <li>P S Phanindra Kumar</li>
  <li>isaias medina</li>
  <li>Salil Naik</li>
  <li>Paulo Guerreiro</li>
  <li>Nilesh Kumar Mishra</li>
  <li>Modibo Sissoko</li>
  <li>Icarusysuper</li>
  <li>marrodri</li>
  <li>Arpit Jain</li>
  <li>SaVaGeNeO</li>
  <li>Murat Dikici</li>
  <li>nastyox</li>
  <li>Amil-Gupta</li>
  <li>{wani}</li>
  <li>oneousmality</li>
  <li>Vishnu Baliga</li>
  <li>manhhungpm</li>
  <li>Emmanuel Oyibo</li>
  <li>chrishans15</li>
  <li>Bibek Joshi</li>
  <li>Rohan Sharma</li>
  <li>Danilo Augusto</li>
  <li>Jorge Fernando Damasio Leite</li>
  <li>Nocode</li>
  <li>thchayanut</li>
  <li>Dan Scott</li>
  <li>Usama Idris</li>
  <li>Aalliyakah</li>
  <li>vijaypatneedi</li>
  <li>Parag Rudani</li>
  <li>Jonathan Dunlap</li>
  <li>Victory Wekwa</li>
  <li>AseelAlbassam</li>
  <li>Daniel E Kling Jr</li>
  <li>abelive206</li>
  <li>Milan</li>
  <li>doniwirawan</li>
  <li>kamstezzogs710</li>
  <li>Rahul Bhatt</li>
  <li>Peter202014</li>
  <li>Neutron007</li>
  <li>Xherdi Lika</li>
  <li>Gian MIlani</li>
  <li>JakobDylan</li>
  <li>The Enlightenment</li>
  <li>suryansh44k</li>
  <li>Razvan M</li>
  <li>Said S. Juma</li>
  <li>Ashraf Alam</li>
  <li>Vidit Sarkar</li>
  <li>Martin J</li>
  <li>Nathan</li>
  <li>rohan kadam</li>
  <li>Himanshu Sharma</li>
  <li>herjeeboie</li>
  <li>sachinkgp</li>
  <li>ngwaneville00987</li>
  <li>Pranam K</li>
  <li>Sourabh Krishna</li>
  <li>serguei9090</li>
  <li>Mike Talbot</li>
  <li>Danton Ruthe</li>
  <li>Adam Rhodes</li>
  <li>Fernando da Costa Felício</li>
  <li>Adeb0la</li>
  <li>Bashu Naimi-Roy</li>
  <li>Andrei Olariu</li>
  <li>omarqui</li>
  <li>bevminnick1</li>
  <li>Trytan</li>
  <li>Fawumi Odunayo</li>
  <li>Blk🌊</li>
  <li>rscabrera0609</li>
  <li>vikers Junior</li>
  <li>Rashid Majeed</li>
  <li>hashtagdeveloper96</li>
  <li>Carl</li>
  <li>Rajat Raj</li>
  <li>Obioma chijindu Ezekiel</li>
  <li>Naman</li>
  <li>abhiseky93</li>
  <li>bhawiktanna</li>
  <li>Jhimy Michel</li>
  <li>Arty Starr</li>
  <li>Ricardo Pereira</li>
  <li>Bruno Costa</li>
  <li>Umar Kaboji</li>
  <li>Sergio Mota</li>
  <li>aljosakb24</li>
  <li>Sagar Dahal</li>
  <li>Debargha Saha</li>
  <li>Promxz</li>
  <li>Roshdyfarrag</li>
  <li>Rocio Jacob</li>
  <li>oajanabi</li>
  <li>ranveersequeira</li>
  <li>Shacayb xaret Axmad</li>
  <li>Rafael Ignacio</li>
</ol>
              
            
!

CSS

              
                ol {
  counter-reset: fizz-buzz-counter;
}
li {
  counter-increment: fizz-buzz-counter;
  list-style: none;
}
li::before {
  content: counter(fizz-buzz-counter, decimal) ". ";
  display: inline-block;
  min-width: 70px;
  margin-right: 20px;
  text-align: right;
}
li:nth-child(3n)::before {
  content: "Fizz. "
}
li:nth-child(5n)::before {
  content: "Buzz. "
}
li:nth-child(15n)::before {
  content: "FizzBuzz. "
}
              
            
!

JS

              
                
              
            
!
999px

Console