Preview

Zxczxc

Good Essays
Open Document
Open Document
3003 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
Zxczxc
What is JavaScript?
JavaScript is a scripting language, that is, lightweight, dynamic, loosely typed, prototype-based programming language which is used in many different environments. * A lightweight programming language that is interpreted by the browser engine when the web page is loaded.

* Dynamic programming languages execute at runtime; they are not compiled. Because of this, JavaScript is sometimes considered a scripting language as opposed to a true programming language (obviously a misconception). When you have JavaScript within an HTML document it will be parsed as the page loads within the browser, hence at "runtime".

* Loosely typed languages do not insist upon any strong typing system. If you’ve programmed in C or Java (not the same as JavaScript) you’ll know that when declaring a variable you have to specify a type such as ‘int’ (integer). JavaScript is different in that you don’t need to specify the type.

* To perform inheritance within JavaScript you have to use something called prototypes. JavaScript does not support classes.

Features of Java Script. *

* JavaScript is Browser Side Scripting Language. * Script that executes on local Browser is called browser side scripting. * Usually Client / web surfer’s PC is called local PC. * JS Script is embedded in the HTML page, * When user requests particular page containing script, script executes in local browser.

* JavaScript is designed to add interactivity to HTML pages.
Adding JavaScript to your HTML code allows you to change completely the document appearance, from changing text, to changing colors, or changing the options available in a drop-down list, or switching one image with another when you roll your mouse over it and much more. JavaScript can be used to make HTML pages more dynamic. All plain HTML files are static.

* JavaScript is Lightweight Programming Language. * JS adds programming facility to HTML page. * JS

You May Also Find These Documents Helpful

  • Satisfactory Essays

    Devs010 Unit 3 Assignment

    • 261 Words
    • 2 Pages

    Lab practical will be used to carry out these tasks, students will be prompted to develop programs in JavaScript.…

    • 261 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    HTML is currently in its fifth revision or HTML53. With HTML5 a standard is set for how to display the web page; where pictures are displayed, fonts used for text and total layout of the page. XML (extensible markup language) is used for web documents. CCS (cascading style sheet) is written into the HTML document or attached as a file to define the appearance of the displayed page.…

    • 897 Words
    • 4 Pages
    Good Essays
  • Good Essays

    Pt1420 Unit 7 Analysis

    • 737 Words
    • 3 Pages

    Each of these components is programmed in a specific language, for example, Perl, java. PHP, Python, Ruby, or Erlang. Almost every language supports web programming, Different syntax, and same semantics. Consequently, severer side developers have a tendency to solve every problem in her/his desired…

    • 737 Words
    • 3 Pages
    Good Essays
  • Good Essays

    Compter Science

    • 819 Words
    • 4 Pages

    Programming statements in a low-level language will be close to natural language and will use standard mathematical notation.…

    • 819 Words
    • 4 Pages
    Good Essays
  • Good Essays

    Week 5

    • 585 Words
    • 3 Pages

    What issues can arise with the use of JavaScript® language along with server-side programming, such as .NET? What issues does the programmer need to be aware of when developing in both languages?…

    • 585 Words
    • 3 Pages
    Good Essays
  • Good Essays

    It is a tool that you can use to eliminate repetitive types of information on your web pages. It is a file the server includes in a web page before sending it out to a browser. It uses headers, navigation panels, and footers. It’s useful because you only need to change one file and every web page using that element picks up the update.…

    • 411 Words
    • 2 Pages
    Good Essays
  • Powerful Essays

    The following information will introduce general knowledge in basic programming concepts. It shall discuss basic types of computer programming languages as-well-as program development. There are three basic types of computer programming languages that will be discussed in a simple and easy to understand manner. We shall also describe the program development cycle and discuss why it is important to use a structured and organized process to create a computer programming language.…

    • 1318 Words
    • 6 Pages
    Powerful Essays
  • Satisfactory Essays

    Web Browser

    • 463 Words
    • 2 Pages

    Various versions of browsers require specific scripts because the older browsers will need to use the older scripts as they are not designed to run on the later browsers however, all scripts will run on all browsers so there is not a problem with the type of script but more the version. To help try to counter this problem the developer can include varied versions of the scripts in comments so that the webpage will load on both old and new browsers. The comments will provide a way to hide the code so that there is less confusion. The comments will need to be removed though if the user updates their browser to a newer version as they will need to read what is in the comments rather than what isn’t. This is an effective way of providing support for multiple versions of browsers without having to rewrite the code repeatedly as you can just change the comments to change the version of the script to what the browser supports.…

    • 463 Words
    • 2 Pages
    Satisfactory Essays
  • Powerful Essays

    Web browser-is software that allows a user to get and display a copy of a web page from a web server.…

    • 483 Words
    • 2 Pages
    Powerful Essays
  • Satisfactory Essays

    Document Object Model

    • 455 Words
    • 2 Pages

    The Document Object Model or DOM is the interface that allows manipulation and access of a web page or a document. It is a structured, object-oriented representation of individual elements and contents of a web page, and it provides methods of retrieval and property settings of those objects. The Document Object Model also provides an interface allowing for the capture and response of user and browser actions.…

    • 455 Words
    • 2 Pages
    Satisfactory Essays
  • Powerful Essays

    Browsers are installed on a user’s computer and convert the data received via the modem into a visual web page.…

    • 1587 Words
    • 7 Pages
    Powerful Essays
  • Satisfactory Essays

    Perform research 3

    • 335 Words
    • 1 Page

    Answer 4: Active Server Pages (ASP) is a server-side scripting environment that you can use to create and run dynamic, interactive Web server applications. Microsoft owned…

    • 335 Words
    • 1 Page
    Satisfactory Essays
  • Satisfactory Essays

    COMPILER – takes all of the code and translates it into something a computer can understand.…

    • 168 Words
    • 1 Page
    Satisfactory Essays
  • Satisfactory Essays

    Java Applet Checkpoint

    • 263 Words
    • 2 Pages

    The difference between Java applets and JavaScript is that applets can stand on their own while JavaScript must be used in conjunction with HTML documents. Java applets are also set programs that are set when the developer compiles the code. JavaScript can be modified on the fly and modified to customize certain points on a website.…

    • 263 Words
    • 2 Pages
    Satisfactory Essays
  • Better Essays

    Javascript Tutorial

    • 8574 Words
    • 35 Pages

    language: This attribute specifies what scripting language you are using. Typically, its value will be javascript. Although recent versions of HTML (and XHTML, its successor) have phased out the use of this attribute. type: This attribute is what is now recommended to indicate the scripting language in use and its value should be set to "text/javascript".…

    • 8574 Words
    • 35 Pages
    Better Essays

Related Topics