Post on 11-Apr-2017
transcript
PRESENTATION OVERVIEW
JavaScript
Advantages of JavaScript
Data types and variables
Operators
If-else statement and while loop
Functions and events
Cookies
Page Redirection
Dialog Box: Page Printing
JavaScript objects
Boolean Object
Error Handling
Validation and Animation
JAVASCRIPT
JavaScript is dynamic computer programming
language most commonly used as the part of web
pages and allows the client side script to interact
with the user. The ECMA-262 is the specification
defined as the standard version of the core
JavaScript language, and it is mainly designed for
creating the network-centric applications, then has
the open and cross platform.
01
ADVANTAGES OF JAVASCRIPT
Less server interaction
you can validate the user input before
sending the page off to the server
Increased interactivity
It act as a interfaces
02
DATA TYPES ANDVARIABLES
Allow to work with the three primitive data type such as
1)Numbers
2)Strings and
3)Boolean
The variables have the two scopes such as
1)Global variable and
2)Local variable
Variable has the names and the reserved keywords like
abstract, keyword, enum, etc.
03
OPERATORS04Operators are the one used to calculate the expressions,
and then it supports the following types such as
Arithmetic Operators Comparison Operators Logical Operators Assignment Operators and Conditional Operators.
STATEMENT AND LOOPS
Statements javascript such as
1) if
2) if else and
3) nested if else
Loop Control in javascript such as
1) For loop
2) while loop
3) do-while loop
06
FUNCTIONS AND EVENTS07
Functions are the group of reusable code which can be
called anywhere in the program and it eliminates the
process of writing the code again and again. In JavaScript,
function keyword is followed by the unique function name
and a list of parameters. Events are the part of the
document object model and some examples of events like
pressing any key, closing a window, resizing a window, etc.
Then it has the types of click event type, onsubmit event
type, onmouseover, and onmouseout.
COOKIESIt is a most efficient method of remembering and tracking,
commissions and other information required for better
experience. It is the plain text data record with the five variable
lengths such as expires, domain, path, secure and name=value.
08
PAGE REDIRECTION
It is the situation of redirecting to the another page
of Y by clicking the page of X, there are various
reason to redirect the user they have many built-in
pages based on the browsers, or the search engine
may have already indexed your page.
09
DIALOG BOX JavaScript supports the three dialog box they
are an alert dialog box which is mostly used to
give a warning message to the user, then
confirmation dialog box used mainly to take the
user’s consent on any option. A prompt dialog
box is used when you want to pop-up a text box
to get user input.
10
JAVASCRIPT OBJECTS
It is a programming language which can be called
object-oriented if it provides the capabilities of
1) Encapsulation
2) Aggregation
3) Inheritance and
4) Polymorphism
It has the number properties like
1)MAX_VALUE
2)MIN_VALUE
2)NaN, etc.
11
BOOLEAN OBJECT
It represents the two values as true or false and has the
properties of constructor and prototype along with the
Boolean methods of tosource (), tostring () and valueof ().
In a similar way, the properties and methods are available in
the strings, arrays, date, math and RegExp.
12
ERROR HANDLING There are three types of the programming such
as syntax error which is also called parsing
error, that occurs at the compile time, then
runtime error called exceptions occurs during
execution. The logical error is the most difficult
type to track the error; they occur when there is
a mistake in the logic that drives your script.
13
VALIDATION AND ANIMATION
It usually performs the two functions such as
Basic validation and
data format validation.
JavaScript has the individual elements to create they are fireworks,
fade effect, roll-in or roll-out, page-in or page-out and object
elements.
Then it provides the two most important functions used in animation
programs they are setTimeout (function, duration), setInterval
(function, duration) and clearTimeout (setTimeout_variable).
14
Best Javascript Course 2017JavaScript Framework development Build a Real-World Project Complete Web Developer Course Advanced JavaScript Accelerated JavaScript Training
Best Javascript Course
linka
ble
link
Bestonlinecoursescoupon best_coursess bestcourse