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 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.


                <section class="container">
  <h1>Фильтр по ОКВЭД</h1>
  <label for="city">Подсказки по вузам:</label>
  <input id="party" name="party" type="text" />
  <p id="description"></p>
  <p>Чтобы настроить фильтр по конкретной отрасли, выберите подходящие коды <a href="" target="_blank">ОКВЭД</a> и укажите их при инициализации подсказок, как в этом примере.</p>



                .info p {
  background: #31b0d5;
  margin 0;
  padding: 5px;

.container {
  width: 40em;

input {
  font-size: 16px;
  padding: 4px;


                // Замените на свой API-ключ
var token = "7fd18aaabd7d53ffa4846e4521c1f736c13490eb";

// Ограничиваем подсказки вузами
// ОКВЭД 85.22 - "Образование высшее"
  token: token,
  type: "PARTY",
  params: {
    "okved": ["85.22"]
  onSelect: showParty,
  onSelectNothing: clearParty

function showParty(suggestion) {
  var description = + "<br>" + "ИНН: " + + "<br>" +;

function clearParty() {