Posts

Showing posts from January, 2024

Java_Script

Image
  Chapter 1 Introduction Client-side scripting language for web pages. Client-side (runs on users computer not web server) Scripting languages are easier than programming languages. Browser interprets JS statements. Its embedded (add a block of code(JS)in html page from outside) in html page. Its integrated with html. Quick development and easy maintenance. Well perform repetitive and event-invoked task(each time change data) Platform independent because of WWW. Its object-based language not object-oriented. Each web page as collection of several individual elements which are called objects( e.g.   image, link  etc) JS is not compiled like java. Variable data types not declared(loose typing). ------------------------------------------------------------------------------------------------------------------------ Chapter 2 Ways to put JS code in html Between the body tag of html Between the head tag of html External .js file   Between the body tag of html    ...

React_JS

Image
  STEPS TO CREATE REACT APPLICATION :     * Open VS code      * Create a new folder (practice)     * Open terminal and check the node version by the cmd node -v     * To create a react app by the cmd npx create-react-app practicedemo      * Then change the directory by the cmd cd model in terminal.     * Now we can see the above packages in our application.     * To run your react application by the cmd npm start       * Then you can the default application of react like the above one.     * Do you what to stop running application by press ctrl+c     * Then go to Apps.js file and App.css delete the default code and your own. -----------------------------------------------------------------------------------------------------------------------------