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

How to Sell Coupons on ETH? Web3.js and Connect Frontend with Metamask (3/4)

How to Sell Coupons on ETH? Creating your own sample dApp in four parts: Welcome to the front-end journey for the Finxter coupon Dapp. πŸ›‘ 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 … Read more

Python Scrapy – Scraping Dynamic Website with API-Generated Content

Scrapy is an excellent tool for extracting data from static and dynamic websites. In this article, we are going to discuss the solution to the following problems: Extract all details of Offices from the website https:/directory.ntschools.net/#/offices Instead of using a whole scrapy framework, use a typical Python script for extracting the data. For each office, … Read more