Tuesday 3 July 2018

WEB DEVELOPMENT LANGUAGE JAVASCRIPT

WEB DEVELOPMENT (JAVASCRIPT)


About JAVASCRIPT

  • Javacsript is a high level,un typed and interpreted programming language.
  • Despite some naming,syntatic and standard library similarities, javascript and java are otherwise unrelated.
  • javascripts statements are separated b semicolons.
  • Javascript statements are composed of : value, operators Expressions, Keywords, and Comments.
  • Javascript used in web pages to add functionality, validate forms, communicating with server and read write HTML elements.
  • Javascript is a client side scripting language.

HISTORY OF JAVASCRIPT
  • Javascript was created in 10days in May 1995 by Brendan Eich, then working at Netscape and now on Mozilla.
  • The original name of javascript was Mocha(name chosen by founder of Netscape).
  • In September 1995, name changed to Livescript .
  • Again in December 1995, name changed to Javascript.
JAVASCRIPT INTERPRETER
  • As a browser goes through the javascript,it passes it to a special program called interpreter which convert the javascript to the machine code your computer understands.
  • Browsers equipped with javascript Interpreters.

JAVASCRIPT in  HTML File.
  • Javascript code must be inserted between <script>and </script> tags.
  • Script can be placed anywhere in HTML document.(body or head).
  • <script type="text/javascript"></script>
  • The type attribute is not required. Javascript is the default scripting language in HTML.
Where to Write Code.
  • In the same HTML file
  • In a separate file, which can be embedded into HTML file.
In External File
  •  In External File script cannot contain the <script></script>  tags.

Where We Can Write JS.
  • In head tag.
  • In body tag.
  • In external file.
  • In JS function.
  • In events attribute value.
Javascript syntax........

  <html >     
    <head>
     <script>        (javascript <script> tag open)
      document.write("ROHIT");         (In javascript document.write is a statement we wite it to print                                                                      anything on screen  in this ROHIT is printed on screen)
    </script> (closing tag)
  </head>
  <body>
   <h1>Home Page</h1>
  <script>
   document.write("YADAV");
 </script>
   <p>This is a javascript page</p>
  </body>
</html>
http://technolgydrift.blogspot.com/2018/07/web-development-html-introduction-to.html


http://technolgydrift.blogspot.com/2018/06/web-development-web-development.html

Friends if you cannot understand about is so firstly you will be know HTML and CSS and in a WEB DEVELOPMENT cousre you will need to understand all of these languages. So firstly start from HTML, CSS and then Javascript.
And i will provide you my best..


Javascript Variables

  • Variables are used to store data values.
  • The var keyword is used to declare variables. 
  •        var x=5;
  • JS varaiables are containers for storing constants.
  • The keyword var is used to declare variables.
               Example     var x=4;
                                  var y=3.5;
                                  var z="Hello";
                                  var a=3+x;

Javascript Keywords
var is a keyword.
As of now there are 63 keywords in JS.


Friends javascript is a very easy and basic conceptual language and easy to learn.
and remain all topics of javascript is coming soon in next blog.

http://technolgydrift.blogspot.com/2018/07/web-development-php-about-php.html
( Want to know About PHP click on this link )

https://chat.whatsapp.com/LQwOhM1jvx25uNG5LXxU2f
If you are interested in this and want to learn more about Internet Networking Programming Language and Technologies then join my whatsapp group by click on this link.
we buy cars for cash cash for car cash for cars cash cars we buy junk cars buy junk cars sell my junk car near me sell my car for cash sell car for cash sell my car for cash today cash 4 cars we buy cars for cash Car Removals Sydney https://unwantedcarremovalsydney.com.au Cash for Scrap Cars Service Unwanted Car removals Car Removal Sydney Car Removal Car Removals Car Removals Sydney Car Removals Sydney

4 comments:

( DIGITAL INDIA ) DIGITAL NETWORKING SERVICE

DATA COMMUNICATION AND NETWORKING With the advancement of Data Communication facilities the communication between computers has increa...