Comments and Syntax Programming

JavaScript – Comments and Syntax

  • September 30, 2020
  • 0 Comments

Comments in JavaScript Normally in JavaScript, the comments are treated as text between //. Multiple line comments are treated as the text between /* and */ Comments are required to make code understandable, we don’t have to think we are not only the coder, programmer & expert. If another engineer or developer check any part […]

Variables, Naming Rules, and Syntax Programming

JavaScript – Variables, Naming Rules, and Syntax

  • September 30, 2020
  • 0 Comments

Variables and Naming Rules Variables can be used to hold values [e.g.: (x=10) or expression (a=b+c)].  Can have short names (like x and y) or more descriptive names (age, sum total volume)  Declared using the keyword var.  Rule For Naming Variables Names must begin with a letter.  Names can also begin with $ and _.  […]

JavaScript in Head and Body Programming

JavaScript – JavaScript in Head and Body Tag

  • September 30, 2020
  • 0 Comments

JavaScript can be written inside both the <head> section and <body> section. Sometimes we need to write the JavaScript code in both sections to better understand or calling the different functions. While writing JavaScript code <head> and <body> sections we have to use <script> tag for both. Here you can see an example where I […]

JavaScript inside Body Tag Programming

JavaScript – Put JavaScript inside Body Tag

  • September 30, 2020
  • 0 Comments

JavaScript code can be placed inside the <body> and </body> tag of the HTML document. Using JavaScript code in the body section will be better for the loading of the web page or HTML document. We can put JavaScript code in the <head> section also but that will take more time to load the webpage. […]

JavaScript Tag, Attribute & Syntax Programming

JavaScript – Script Tag, Attributes, and Syntax

  • September 22, 2020
  • 0 Comments

The <script> tag is used to define the JavaScript code. It identifies the block of the script on the page. The <script> tag loads the script file which has extensions [eg. .js, script.js], or the script code written inside the <script> tag. Attributes of <script> Tag Attribute Value Description type media_type It specifies the media […]

JavaScript vs Java Programming

JavaScript – Java Programming Vs JavaScript

  • September 22, 2020
  • 0 Comments

Java & java-script: Java & javascript have the only a name in common and nothing else. They are poles apart. Java is basically a programming language that is an enhancement of C++ having a distinctive feature of being able to run on various machines and operating systems like Windows NT, Mac Os, Unix. Javascript is […]

javascript print hello world Programming

JavaScript – Write First Scripting Program

  • September 19, 2020
  • 0 Comments

JavaScript has it’s own style of writing codes. It requires the <script> </script> tag. The JavaScript code can be written inside the <script> and </script> tag. We will talk more about it later. So here is our first JavaScript example to print “Hello World!“. Here i am writing inside <body></body>. You can write JavaScript code […]

javascript Programming

JavaScript – Write Program to Print Hello World!!!

  • September 17, 2020
  • 0 Comments

JavaScript is scripting language which is similar to C. It is syntax and logic are similar to C, C++ and Java. But Java is completely different then JavaScript Keep in mind. JavaScript has fewer features than the C, C++ like we don’t have a specialized pointer in JavaScript because it is a client-side scripting programming […]

javascript Programming

JavaScript – Introduction, History, and Syntax

  • September 17, 2020
  • 0 Comments

What is “JavaScript”? The first appearance of JavaScript was made in Netscape 2.0 in 1995 with a name Live Script. JavaScript is a client-side scripting language with the object-oriented capabilities that allows us to build interactive web pages. It is open and cross-platform. For our simple understanding, we can say that JavaScript code is executed […]

First Program on PHP Programming

PHP – Write First Program on PHP

  • September 11, 2020
  • 0 Comments

As you know PHP is server side scripting language. Let me explain few lines on how PHP works with Apache server?  First of all, the user will send a request through the application layer or web browser to the server via the protocol. And the server will respond to the request by sending an HTML file back […]