Posts

HTML vs. PHP: What’s the difference and Which one should I choose?

Image
  What they are meant for? HTML and PHP are two different things meant for two different task. As far as HTML (Hypertext Markup Language) is concerned, HTML (along with CSS) is a backbone of all the web-development and used as a front end development whereas PHP (Hypertext Preprocessor) is a server side scripting language which execute as a back-end. PHP can be used to manipulate data on the server and output the data according to the user’s input. Behavior: HTML creates static web pages whereas PHP creates dynamic website. What is HTML? HTML is a markup language   and render the page into something pretty  ( along with CSS ). HTML files use “tags” to tell a browser how to display specific pieces of text or image. It’s sole purpose is defining the layout of a web page. What is PHP? PHP is a server side programming language.  When a browser asks for a webpage PHP is capable of processing the request and generating the HTML to display to the client (i.e. web brows...

Basics of React and Event Handling:-

Image
Setting Up Your Development Environment: Install Node.js: Node.js is a JavaScript runtime environment that allows you to run JavaScript code outside of a web browser. Visit the Node.js website (https://nodejs.org/) and download the latest version of Node.js for your operating system. Follow the installation instructions to install Node.js on your computer. Create a New React App: Once Node.js is installed, open your terminal or command prompt and run the following command to create a new React app: npx create-react-app my-react-app Replace  my-react-app  with the name of your project. This command will create a new directory with all the necessary files and dependencies for a React app. Start the Development Server: Navigate to the directory of your newly created React app and run the following command to start the development server: cd my-react-app npm start This command will start the development server and open your default web browser to http://localhost:3000, where you c...

How Blockchain Technology Works ?

Image
  Problem Statement:- Unless you have been living under a rock, you may most possibly have heard about “Blockchain”. It appears to become one of the buzzwords of the year. Yet, numerous individuals cease to recognize what blockchain is or how can works. Imagine you and a companion of yours are transacting/transferring money from one account to another. You go to your bank and ask the banker to transfer a certain amount from your account to that of your companion’s. The bank registers this in their internal servers. This record needs to be updated on both, receivers’ and senders’, accounts. The procedure may seems simple but a problem, which cannot be disregarded is that this data may get hacked. Records of transactions can be manipulated easily or changed. To resolve this issue,  Blockchain  comes in. What is Blockchain? A block in a blockchain is a group or collection of information. The information is added to the block in a blockchain, by connecting it with other block...