Posts

Introduction To React JS

Image
  React JS React js is a JavaScript library that we use to create the user interface of single page application. A single page application is a web application that dynamically rewrites the current page with new data without loading a new page. React JS is developed by the Facebook company. The top 3 main companies that use React JS are Facebook, Instagram, and WhatsApp. When developing an app using react js, the app is separated into parts called “component”. Props Props are properties/arguments passed into React component. Props are send into a component as HTML attributes. Ex:- < Person name =" John " />   State A state is an object that stores props values that belongs to the component. State is used to keep props data that can be updated. Ex:-   class Person extends React . Component {   constructor ( props ) {     super ( props );     this . state = { name : "John" };   } We can use...

Introduction To MongoDB

  What is MongoDB? MongoDB is a NoSQL document-oriented database. MongoDB is written by using C++ language. NoSQL databases are much different than relational databases. In a real database, you have to map out everything. You need to figure out the exact schema what table you use and what field you use and all that stuff. But with NoSQL, there is not like that. You should plan out the structure of your database and your collections. But you don’t have to do any free structuring before you build your application. An advantage is MongoDB is easy to scale. MongoDB uses documents containing key-value pairs to store data. A collection is a group of MongoDB documents. MongoDB uses collections instead of tables and uses documents instead of rows and uses fields instead of columns.   MongoDB Syntax MongoDB uses use database_name syntax to create a database   Create a collection Collections hold documents or record...

INTRODUCTION TO JAVASCRIPT

       JavaScript is a lightweight and server-side language. JavaScript can execute on a device that has a special program called the JavaScript engine. JavaScript is used to design dynamic web pages with HTML and CSS. JavaScript Frameworks   Angular   React   Node.js   Vue   Ember   Polymer   BackBone Function In JavaScript   Function Declaration when declaring a function we use the function keyword. function add(number1 ,number2) { return number1 + number2; } In the above example add is the function name and number1, number2 are the arguments that we pass to the function. Function Invocation add(number1, number2); when we declare an anonymous function, let see how to call an anonymous function call var func = function (){     alter("This is an anonymous function"); } func(); 🔷Named Function function add(number1 ,number2) { return number1 + number2; } 🔷Anonymous Function var addNumbers = function () { return ...

WHATSAPP MESSAGES/MEDIA FILES SAVING PROCESS (NEW UPDATES)

Image

SIMPLE SNAKE GAME

GAMING WORLD SCORE Download Game Source Code Use W, A, S, D to move