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

Quick-add: + add another resource

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.

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