javascript | why we use javascript

 JavaScript (JS):-

  • HTML provides basic structure for web pages
  • CSS is used for styling
  • JS is used primarily by web browsers to create a dynamic and interactive experience for the users
  • JavaScript can be used in both client side & server side

JavaScript applications: -

  • button animations
  • live dashboards
  • games

companies using JavaScript :-

 google, Instagram, Microsoft, amazon, Netflix, Spotify, Uber, PayPal, Quora, and many more..

how to display message in JavaScript :-


  JS:- console.log("write text here");

 o/p:- write text here

possible mistakes that we make while writing display message in JavaScript:-

  • Missing . between              - consolelog("write text here");
  • uppercase "C" in console   - Console.log("write text here");
  • missing quotes                    - console.log(write text here);
  • missing parenthesis             - console.log("write text here" 




Comments