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

+ add another resource


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


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.


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.


                <p>We believe that a genuine programmer must understand how a computer works and have a computational mindset. He should see a problem, not an assignment. He must be able to analyze and reason at the problem level and above, not just at the code level.</p>

<div class="images-block"></div>

<p>Given how many study materials, courses, and books are available, the main question a beginner faces nowadays is not “where do I study?” but “what should I study and in what order?” There are many opinions on this subject. Some advise starting with mathematics, others advise specific languages and technologies.</p>

<p>Hexlet is a ready-made path from absolute beginner to the first job. Each lesson on Hexlet includes up to three steps:</p>
    A short lecture in the form of text or video. It's task-based, so unlike traditional academic theory, we focus on a specific problem that has already been addressed by skilled engineers and programmers, and then follow their steps to understand the solution.
    A test of your understanding. We aren't concerned about memorizing facts, so test questions are aimed at understanding the concept, not exercising your memory.
    Programming exercises in a real development environment that is accessible through your browser. Not in the form of a simulation or a toy, but on a real machine with databases, frameworks, servers, and other tools.


                body {
  font: 18px/1.5 sans-serif;

.images-block {
  height: 100px;
  width: 150px;
  float: left;
  background: #673AB7;
  margin-right: 10px;
  margin-bottom: 10px;