Creating a Live Bitcoin Price Chart Using Binance API (No API Key!)

In this tutorial, we’ll learn how to create a simple live-updating Bitcoin price chart using the Binance API. This straightforward guide will cover all the necessary HTML, JavaScript, and CSS code required to get started with real-time cryptocurrency price tracking. You don’t need much for this tutorial: βœ… We’ll create a single HTML document that … Read more

Regex to Extract All Email Addresses from a String βœ… (Tutorial + Online Tool)

I have just created this small helper tool to extract all email addresses from a huge text file or string. Simply copy and paste your text into the field and click “Extract Emails“: πŸ‘‡ Email Extractor Enter Text: Extract Emails Copy to Clipboard Extracted Emails: JavaScript Regex In the online tool above, I used a … Read more

Play Rock Paper Scissors in Your Browser

I just created this fun little browser game that you can play right here in your browser. It’s based on HTML and JavaScript so you should be able to play it offline too. πŸ‘‡βœ‚οΈπŸ“ƒπŸͺ¨πŸ‘‡ πŸͺ¨ Rock πŸ“ƒ Paper βœ‚οΈ Scissors Reset Game πŸ‘©β€πŸ’» Player: 0, πŸ€– Computer: 0 In case you’re interested in the JavaScript … Read more

Check JavaScript Version

JavaScript lacks a version number due to its ECMAScript basis, with engines implementing features independently. Instead of version-checking, use feature detection, or transpile code with Babel for older environments. JavaScript, a powerful and versatile programming language, has undergone numerous changes and updates since its inception in 1995. Developers often need to consider which version their … Read more

Smart Contract to Store a Sentence on ETH

The following article is based on Adam’s CharmingData channel and GitHub repository. β™₯️ In this tutorial, we will create, test, and deploy a smart contract called SimpleStorage. This contract will allow your users to create their own sentence and store it on the blockchain. It will also allow users to retrieve the last sentence stored … Read more

I Created a React Decentralized App to Sell eBooks – Here’s How (4/4)

We completed a transaction in the last part, but the transaction data had yet to be seen. In this part, we will drive the smart contract data to the user interface. The user’s data and the transaction time will be displayed on the user interface. This is part 4 of our four-tutorial series on creating … Read more

I Created a React Decentralized App to Sell eBooks – Here’s How (3/4)

This is part 3 of our four-tutorial series on creating a decentralized web app to sell ebooks: πŸ‘‡ We will connect the front end with the smart contract in this part of the series. The interaction with the smart contract will be done using ether.js. Move to the app.js file inside the source folder. We … Read more

I Created a React Decentralized App to Sell eBooks – Here’s How (2/4)

This is part 2 of our four-tutorial series on creating a decentralized web app to sell ebooks: πŸ‘‡ In the previous part, we built the smart contract and deployed it on the hardhat node for testing. Now it’s time to deploy the contract on the testnet. But before that, let’s install the react app first. … Read more

I Created a Counter Smart Contract with Ether.js — Here’s How

One of the presiding JavaScript libraries for interacting with the Ethereum blockchain is ether.js. The ether.js library, only 88 KB compressed in size, is remarkably smaller than the web3.js library. Because of that, web apps load more quickly if you use the ether.js API. This constantly improving library has already been popular among developers for … Read more

How to Sell Coupons on ETH? Integrate Frontend with Smart Contract (4/4)

How to Sell Coupons on ETH? Creating your own sample dApp in four parts: Welcome to the last part of the series. πŸ›‘ Note: This is just a training “fun” dApp that shows you how to use React, Truffle, and Solidity. It is not a real dApp with real functionality! Imaginary Scenario: Finxter academy has … Read more