Pen Settings

HTML

CSS

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. You can use the CSS from another Pen by using it's URL and the proper URL extention.

+ 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

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.

HTML

              
                <p>Lorem ipsum dolor sit amet consectetur, adipisicing elit. Dignissimos distinctio dolorum architecto possimus
        doloremque quis, expedita iure omnis nesciunt, facilis quasi adipisci suscipit? Molestias nisi, qui officiis
        dolores iste eum.
        Soluta totam quasi beatae dolore esse delectus architecto, perferendis nobis velit necessitatibus nam quibusdam
        iste officiis repudiandae quas distinctio magni est ab fuga mollitia? Hic quam ab odit rerum animi?
        Neque aliquam magnam possimus enim accusantium molestias natus iusto ea recusandae ex laboriosam, quibusdam
        dolores distinctio accusamus, culpa ipsa voluptas maiores dicta non soluta autem illo. Dignissimos hic aliquid
        dolorum!
        Aliquid facilis doloremque tempore aliquam nesciunt commodi temporibus eligendi omnis officia numquam dolorum
        iure a itaque, distinctio sed vero natus sequi esse at dolorem cumque modi, veniam sint. Veritatis, deserunt.
        Eius, magnam nesciunt, atque inventore voluptatibus facere velit laudantium culpa sunt quo neque ratione
        repellendus? Magnam modi quia sit asperiores ullam possimus blanditiis? Animi harum, ipsum a recusandae ab ut.
    </p>
              
            
!

CSS

              
                
              
            
!

JS

              
                const p = document.querySelector('p');

for (let i = 0; i < p.textContent.length; i++) {
     if (p.textContent[i].toUpperCase().startsWith("t")) console.log(p.textContent[i])
}

              
            
!
999px

Console