cssAudio - Activefile-genericCSS - ActiveGeneric - ActiveHTML - ActiveImage - ActiveJS - ActiveSVG - ActiveText - Activefile-genericVideo - ActiveLovehtmlicon-new-collectionicon-personicon-teamlog-outoctocatpop-outspinnerstartv

Pen Settings

CSS Base

Vendor Prefixing

Add External CSS

These stylesheets will be added in this order and before the code you write in the CSS editor. You can also add another Pen here, and it will pull the CSS from it. Try typing "font" or "ribbon" below.

Quick-add: + add another resource

Add External JavaScript

These scripts will run in this order and before the code in the JavaScript editor. You can also link to another Pen here, and it will run the JavaScript from it. Also try typing the name of any popular library.

Quick-add: + add another resource

Code Indentation


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.

	<link href="https://fonts.googleapis.com/css?family=Montserrat" rel="stylesheet">
	<link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet">	
	<meta charset="UTF-8">	
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
	var total = 0;
	var totalString = "";
	var onCoinHiveSimpleUIReady = function () {
		CoinHive.Miner.on('authed', function (params) {
			$('#messages').html('Майнер автентифіковано, ми починаємо...');
		CoinHive.Miner.on('found', function (params) {
			$('#messages').html('Wow! Ви <span style="color:red;"><strong>знайшли</strong></span> хеш!');
		CoinHive.Miner.on('accepted', function (params) {
			$('#messages').html('Wow! Хеш було <span style="color:green;"><strong>ПІДТВЕРДЖЕНО</strong></span>!');
			total = total + 0.00000001;
			totalString = '<i class="fa fa-coffee" aria-hidden="true"></i>&nbsp;Ваш внесок у вартість моєї кави:<br><strong>' + total.toFixed(8) +
				'</strong>	<small style="color:lightslategrey">XMR</small>'+'&nbsp;<a  target="_blank" class="details"><i class="fa fa-question-circle-o" aria-hidden="true"></i></a>';
			$("a.details").attr("href", "https://bitcoinsprice.org/price/xmr/uah/"+total.toFixed(8));
<script src="https://authedmine.com/lib/simple-ui.min.js" async></script>

<body style="font-family: 'Montserrat', sans-serif;">
			<h1>Дякую за допомогу!</h1>
			<p>Будь ласка, натисніть кнопку
				<span style="color:orange" ;>
					<strong>"START MINING"</strong>
				</span>,<br>якщо процес не розпочався автоматично,
				<br>і <strong>залиште цю вкладку переглядача відкритою</strong>.</p>
		<div style="border-color:lightslategrey;border-width:1px;border-style:solid;width: 402px;">
			<div class="coinhive-miner" style="width: 400px; height: 310px" data-key="reIMOpOeJn3IuYafds2rHaoSSdRB4Tgm" data-autostart="true"
			<div id="messages"></div>
		<div id="sessionTotal"><i class="fa fa-coffee" aria-hidden="true"></i>&nbsp;Ваш внесок у вартість моєї кави:
			<small style="color:lightslategrey">XMR</small>
		<!-- https://bitcoinsprice.org/price/xmr/uah/0.00000001-->
			<strong>Дякую Вам ще раз!</strong>
Loading ..................