Events in react js are similar to HTML events. Events are any user action that handles any type of functionalities. For example, in windows 10, double clicking opens the application or a file. Events in react js are of many…
What is Props in React JS?
As we know, the components in react js are simple javascript functions, which returns the JSX code. We can pass parameters to these component functions, which are called props. Props stands for properties. Props are the actual parameters passed to…
What is JSX in React Js?
JSX stands for JavaScript XML. JSX helps us to write HTML code inside the JavaScript code. JSX was introduced with ES6. Any component that we will use in React JS will use JSX. Example :- You can or can’t use…
What is Components in React JS?
What is component? Components in React JS are the basic building blocks, which are used to create the UI. Using components we can divide the whole website in multiple parts, which make the code debugging and maintenance a lot easier.…
Why we use Render in React?
React JS is made up of JSX (JavaScript XML). All the codes are written using JSX. But our browser doesn’t understand JSX. Browsers can only parse HTML, CSS and Vanilla JavaScript. Therefore, it becomes necessary to find a medium, which…
React ES6
ES6 ES6 stands for ECMAScript6. ES6 was released in 2015 and is also known as the ECMAScript 2015. It is basically a standard, which the scripting languages have to follow. As we know, Javascript is a scripting language. JS also…
Change margin of a view programmatically?
Let suppose view in a LinearLayout. First you have to get Layoutparams of the view and cast into to specific Layoutparams and modify the margins. As I remove margins by setting it all by 0. OR You can create a…
What is AI in simple language?
AI, which stands for Artificial Intelligence, is a technology that allows machines to learn and make decisions like humans do. It’s like teaching a computer to think and act on its own. AI uses a combination of data and algorithms…
How to Install Node Js in Windows
Follow the below steps for installation node Js in Windows First Download the .msi file from below website and install by doing next and install. https://nodejs.org/en/download/ When Install please open your command prompt window Short wayWindow + rIts comes up…
What is Node Js
Node.js is a JavaScript-based platform built on Google Chrome’s JavaScript V8 Engine. Node.js allows us to run JavaScript on the server. Create a file name app.js and paste below code like below screenshot After this run below commandnode app screenshot…