Magic exist by Marta Loveguard - presentation.pptx
Javascript - Today's trending script
1. Why JavaScript
JavaScript is a text-based programming language used both on the client-side and
server-side that allows you to make web pages interactive.
JavaScript improves the user experience of the web page by converting it from a static
page into an interactive one.
JavaScript is a scripting language that enables you to dynamically update content,
control multimedia, animate images, and pretty much everything else.
Who Created JavaScript?
The first ever JavaScript was created by Brendan Eich at Netscape, and has since been
updated to conform to ECMA-262 Edition 5 and later versions
JavaScript vs Java?
Key differences between Java and JavaScript: Java is an OOP programming language
while Javascript is an OOP scripting language. Java creates applications that run in a
virtual machine or browser while JavaScript code is run on a browser only.
NodeJS and ReactJs
NodeJs is the java script runtime for our reacts project
Nodejs is the framework. It has a built in package manager called npm (Node package
manager)
Each page has ReactJS renderer, script and data
With ReactJS, we can make interactive web pages easily. ReactJs is the librory and
Nodejs is the runtime
Nodejs executes the ReactJs library
ReactJS needs packages to work. We install them using npm
What code we write are called modules
Install ReactJs using rpm
Install optional theme , and required packages using rpm
Type main code in index.js
Size of blank ReactJS project is around 300mb
Npx is the nodeJS package script executer
Npx is the nodes package executer