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

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

              
                Необходимо указать свой ip-key<!DOCTYPE html>
<html>
<head>
    <title>Расчет стоимости поездки</title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <!--
        Укажите свой API-ключ. Тестовый ключ НЕ БУДЕТ работать на других сайтах.
        Получить ключ можно в Кабинете разработчика: https://developer.tech.yandex.ru/keys/
    -->
	<script src="http://code.jquery.com/jquery-1.9.1.js"></script>
    <script src="api-key" type="text/javascript"></script>
    <script src="deliveryCalculator.js" type="text/javascript"></script>
	
    <style>
        html, body {
            width: 100%;
            height: 100%;
            padding: 0;
            margin: 0;
        }
    </style>
</head>
<body>
  Необходимо указать свой ip-key
    <div>выберите транспортное средство: 
	<select id="sel">
		<option value="4">легковой автомобиль</option>
		<option value="3">легковой автомобиль business</option>
		<option value="8">минивэн</option>
		<option value="14">микроавтобус 12-14 мест</option>
		<option value="20">микроавтобус 16-20 мест</option>
		<option value="25">автобус 25 мест</option>
		<option value="35">автобус 35 мест</option>
		<option selected value="55">автобус 40-55 мест</option>
	</select></div>
	<div>укажите, сколько часов ожидания будет на маршруте: <input id="inp" min="0" max="24" type="number" value="0"></div>
	<div><input id="deti" type="checkbox"> <label for="deti" title="поездка считается детской, при наличии более 7 пассажиров, не достигших 18 летнего возвраста, без законных представителей">поездка является детской</label></div>
	<div id="map" style="width:90%; height:80%; margin: 1% 5%"></div>
	<div><input id="legth" value="" disabled type="hidden"></div>
	<div id="ff"></div>
</body>
</html>
              
            
!

CSS

              
                
              
            
!

JS

              
                
              
            
!
999px

Console