Icc Javascript
Icc Javascript
What is JavaScript?
PAGE 2
— Ranked the most commonly used programming
History of language, with 67.8% of developers employing it
in 2019.
JavaScript
— World’s most popular programming language is
synonymous with the rise of the internet itself.
PAGE 3
HISTORY
Early Releases ECMAScript
Origins (1995) & Adoption Standardization
(1995-1997) (1997-1999)
PAGE 4
HISTORY
DOM and Dynamic
Web Pages
AJAX and Web 2.0 ECMAScript 5 & 6
(Late 1990s) (Early 2000s) (2009-2015)
Asynchronous JavaScript and XML (AJAX)
emerged, revolutionizing web development.
The Document Object Model ECMAScript 5 (2009)
(DOM) was introduced, AJAX allowed for asynchronous data introduced features like strict
retrieval from the server without requiring
allowing dynamic manipulation a page refresh. mode, JSON support, and new
of HTML documents. Played a crucial role in the development of
array methods.
Web 2.0 applications with enhanced user
interactivity.
PAGE 5
HISTORY
Node.js and Server-
Modern JavaScript JavaScript in the
Side JavaScript
(2015 Onward) 2020s
(2009 Onward)
Marked a shift from Prominent features include Plays a key role in emerging
JavaScript's traditional role as async/await for better technologies such as Progressive
a client-side language to a asynchronous programming Web Apps (PWAs), serverless
versatile, full-stack language. and enhanced support for computing, and Internet of
modules. Things (IoT) applications.
PAGE 6
FUNCTIONS
AESTHETIC
STRUCTURE
PAGE 7
The Building Blocks of the Used to control presentation, Used to control the behavior
Internet formatting, and layout. of different elements.
PAGE 8
HTML + CSS + JAVASCRIPT
PAGE 8
PROCESS
HTML produces and arranges
the website's information
PAGE 9
Example:
Bejeweled
Puzzle
Game
PAGE 10
Core JavaScript
Client-side Server-side
JavaScript JavaScript
Extends the core language by Extends the core language
supplying objects to control a by supplying objects
browser and its Document Object relevant to running
Model (DOM). JavaScript on a server
Example: Example:
Communicate with a database, provide
Place elements on an HTML form and
continuity of information from one
respond to user events such as mouse
invocation to another of the application,
clicks, form input, and page navigation.
or perform file manipulations on a server.
PAGE 11
javascript and java
PAGE 12
JavaScript
Java
Object-oriented programming language and has a virtual machine
platform that allows you to create compiled programs that run on
nearly every platform. Java promised, “Write Once, Run Anywhere”.
PAGE 13
JavaScript Java
loosely typed language and has a strongly typed language & variables must
more relaxed syntax and rules be declared first to use in the program
wide variety of libraries and frameworks rich set of libraries and frameworks for
for building web applications, such as building enterprise applications, such as
React, Angular, and Vue Spring, Hibernate, and Struts.
PAGE 14
Basics
of
JavaScript
PAGE 15
DOCUMENT OBJECT MODEL
( DOM )
Programming interface for web documents.
PAGE 16
DOM Tree Analogy
PAGE 17
Root of The
Branches Tree
PAGE 18
Selecting Elements in the DOM
1) getElementById
Selects an element based on its unique ID.
CODE:
PAGE 19
Selecting Elements in the DOM
2) getElementsByClassName
Selects elements based on their class name. It
returns a collection (HTMLCollection).
CODE:
var elements =
document.getElementsByClassName("myClassName");
PAGE 20
Selecting Elements in the DOM
3) getElementsByTagName
Selects elements based on their tag name. It returns
a collection (HTMLCollection).
CODE:
PAGE 21
Selecting Elements in the DOM
4) getElementsByName
Selects elements based on their name attribute. It
returns a collection (NodeList).
CODE:
PAGE 22
Selecting Elements in the DOM
5) querySelector
Selects the first element that matches a CSS selector.
CODE:
PAGE 23
Selecting Elements in the DOM
6) querySelectorAll
CODE:
var elements =
document.querySelectorAll(".myClassName");
PAGE 24
basic JS PROPERTIES
.innerHTML .style .value
The Style object represents Sets or returns the value of the
The innerHTML property sets
an individual style statement. value attribute of a text field.
or returns the HTML content
list of properties: Contains the default value OR
(inner HTML) of an element.
HTTPS://WWW.W3SCHOOLS.COM/JSREF/DOM_OBJ
_STYLE.ASP
the value a user types in.
Return the innerHTML property: Return the style property: Return the value property:
PAGE 25
element
selector use
=EXAMPLES=
PAGE 26
Styling an Element
CODE:
INITIAL OUTPUT
FINAL OUTPUT
PAGE 27
Creating Elements (destructive)
CODE:
FINAL OUTPUT:
PAGE 28
Creating Elements (non-destructive)
CODE:
FINAL OUTPUT:
PAGE 29
Creating Elements (non-destructive)
CODE:
FINAL OUTPUT:
PAGE 30
Modify Text
CODE:
FINAL OUTPUT:
PAGE 31
Modify Text
CODE:
FINAL OUTPUT:
PAGE 32
Modifying Element Attributes
CODE:
INFLUENCES:
FINAL OUTPUT:
PAGE 33
Modifying Element Attributes
CODE:
INFLUENCES:
FINAL OUTPUT:
PAGE 34
Modifying Element Attributes
CODE:
INFLUENCES:
FINAL OUTPUT:
PAGE 35
Modifying Element Attributes
CODE:
INFLUENCES:
FINAL OUTPUT:
PAGE 36
ACTIVITY 1
(ELEMENT SELECTORS)
PAGE 37
VARIABLES
Variables are used to store and manipulate data
PAGE 38
LET VS. VAR
LET
VAR
PAGE 39
IDENTIFIERS
Every JavaScript variable needs to have a unique name
3) No RESERVE KEYWORDS
5) No SPECIAL CHARACTERS
PAGE 40
ASSIGNMENT OPERATOR
In JavaScript is a "assignment"
operator, not a "equal to" operator.
= equal symbol
ARITHMETIC OPERATORS
ADDITION + DIVISION /
Carry out
arithmetic on SUBTRACTION - MODULUS %
numbers
MULTIPLICATION * EXPONENTIATION **
PAGE 41
Order of Increment &
Precedence Decrement
explains the sequence in INCREMENT (++)
which operations execute in
an arithmetic expression. is used to increase a
variable's value by one.
1) Parenthesis ( )
2) Exponents DECREMENT (--)
3) Multiplication / Division is used to decrease a
4) Addition / Subtraction variable’s value by one.
PAGE 42
DATA TYPES
The type of data that the variable presently holds
3) BOOLEAN The only possible values for booleans are true and false.
5) ARRAY An array is a special variable, which can hold more than one value
PAGE 43
Display String
Variables Concatenation
The console.log() method is Strings can be combined by
commonly used to display using the + operator between
variables. them.
EXAMPLES:
“Hello “ + “World”
We can display the
value of a variable by “100” + “200”
putting its identifier ‘abc’ + “def”
inside the parentheses.
2 + “5”
PAGE 44
CONDITIONAL STATEMENTS
These are statements that execute actions depending on different
conditions. They work with both logical and comparison operators.
Comparison Logical
Operators Operators
PAGE 45
Comparison Operators
These are used to compare two values.
GREATER THAN OR
NOT EQUAL != EQUAL TO
>=
PAGE 46
LOGICAL oPERATORS
These are combined with conditional statements to construct more
complex conditions. It enables programmers to combine multiple
conditions in a single expression.
PAGE 47
IF STATEMENT ELSE IF STATEMENT
Use the IF keyword and { } to check for a Use the EVEN IF keyword along with { } in
certain condition. combination with the IF keyword if you
want additional specific conditions. You
can add as many as you want.
NOTE: The code inside { }
will only be run if the
comparison is TRUE. Java has the NOTE: ELSE executes when IF
comparison is FALSE.
Following
NOTE: ELSE executes when IF
Conditional
comparison is FALSE. Statements: It refers to an if
statement within
The ELSE keyword and { } is used in
combination with the IF keyword. an if statement.
PAGE 48
CONDITIONAL
STATEMENTS
=EXAMPLES=
PAGE 49
IF ELSE
STATEMENT STATEMENT
ELSE IF
STATEMENT NESTED
CONDITIONAL
STATEMENT
PAGE 50
ACTIVITY 2
(IF STATEMENTS)
PAGE 51
SWITCH STATEMENTS
The switch statement chooses one of several code blocks
to execute.
PAGE 52
SWITCH
STATEMENTS
=eXAMPLE=
PAGE 53
ACTIVITY 3
(SWITCH STATEMENT)
2 - EASY 5 - EXTREME
3 - NORMAL 6 - INSANE
PAGE 54
syntax
PAGE 55
‘For’ Loop
PAGE 56
‘While’ Loop
The while loop loops through a block of code as long as
a specified condition is true.
PAGE 57
ACTIVITY 4
(FOR AND WHILE LOOPS)
PAGE 58
Functions
The code to be executed, by the Defined with the function
function, is placed inside curly keyword, followed by a name,
brackets: {} followed by parentheses ().
PAGE 59
ARROW Functions
JavaScript Arrow functions provide us with a more precise
approach to writing Javascript Functions. The arrow functions
are introduced in the ES6 version. Arrow functions enable us
to write functions with simpler and shorter syntax and make
our code more readable and organized.
Ordinary JS Function
Sample:
PAGE 59
ARROW Function sample
PAGE 59
Arrays
PAGE 60
Arrays (visual Diagram)
PAGE 60
2 standard ways in
Declaring of an Array
1. Creating an array using array literal notation:
Output:
[ 'HTML', 'CSS', 'Javascript', 'React' ]
PAGE 61
2 standard ways in
Declaring of an Array
1. Creating an array using array constructor:
Output:
[ 'HTML', 'CSS' ]
PAGE 62
Declaration // Initializing while declaring // Creates an array of 5
of an Array
let arr1 = new Array(3) undefined elements
arr1[0] = 10 let arr3 = new Array(5);
2. Creating an arr1[1] = 20 console.log("Array 3: ", arr3)
array using the arr1[2] = 30
JavaScript new console.log("Array 1: ", arr1)
// Creates an array with one
keyword: element
let arr4 = new Array("1BHK");
// Creates an array having
Let Array Name elements 10, 20, 30, 40, 50
console.log("Array 4: ", arr4)
= new Array();
let arr2 = new Array(10, 20, 30, Output:
40, 50); Array 1: [ 10, 20, 30 ]
Array 2: [ 10, 20, 30, 40, 50 ]
console.log("Array 2: ", arr2) Array 3: [ <5 empty items> ]
Array 4: [ '1BHK' ]
PAGE 63
Recognizing a JavaScript Array
There are two methods by which we can recognize a
JavaScript array:
By using Array.isArray() method
By using instanceof method
PAGE 64
Array.isArray()
method
In JavaScript, Array.isArray() checks whether the provided argument is an
array or not. Array.isArray() checks if the passed value is an Array. It does
not check the value's prototype chain, nor does it rely on the Array
constructor it is attached to. It returns true for any value that was created
using the array literal syntax or the Array constructor. This makes it safe to
use with cross-realm objects, where the identity of the Array constructor is
different and would therefore cause instanceof Array to fail.
Syntax:
arr.every(callback(element[, index[, array]])[, thisArg])
PAGE 65
Array.instanceof
() method
Syntax:
object instanceof constructor
PAGE 66
Array.prototype.
every()
This function is used when you need to validate each element of a given
array. It accepts a callback function as an argument which is called for
each element of the array. The callback function has to return either true
or false. If all elements of the array satisfy the validation function and thus
the callback function returns true on all elements of the array, then it
returns true. Otherwise, it returns false, as soon as it encounters the first
element which does not satisfy the validator function.
Syntax:
arr.every(callback(element[, index[, array]])[, thisArg])
PAGE 67
Array.prototype.
some()
This is in a way opposite to Array.every(). This function is used when
you need to check if at least one element of a given array passes the test
implemented by the callback function. Array.some() accepts a callback
function as an argument which has to return either a true or false. The
callback function is called for each element of the array until it returns true
for at least one element of the array. If neither of the elements in the array
passes the test of the callback function, it returns false.
Syntax:
arr.some(callback(element[, index[, array]])[, thisArg])
PAGE 68
2 array methods
Array.Prototype.filter()
that modify the array and
return the modified array. It is used to get a new array that has
only those array elements which pass
the test implemented by the callback
Array.Prototype.filter() function. It accepts a callback function
Array.Prototype.map() as an argument. This callback function
has to return a true or false. Elements
for which the callback function
returned true are added to the newly
Syntax:
returned array.
array.filter(callback(element,
index, arr), thisValue)
PAGE 69
Array.prototype.
map()
The map() method of Array instances creates a new array populated with the
results of calling a provided function on every element in the calling array.
Iterates over each element of an array: map() goes through each item in
the array one by one.
Applies a function to each element: For each element in the array, you can
apply a function that defines what you want to do with that element.
Creates a new array: It creates a new array based on the results of applying
the function to each element of the original array, without changing the
original array.
Syntax:
map(callbackFn) AND map(callbackFn, thisArg)
PAGE 70
callback: This parameter holds the function
to be called for each element of the array.
currentValue: The parameter holds the
value of the elements being processed
Parameters currently.
index: This parameter is optional, it holds the
index of the currentValue element in the
This function accepts five array starting from 0.
array: This parameter is optional, it holds the
parameters as mentioned complete array on which Array.every is
above and described called.
below: thisArg: This parameter is optional, it holds
the context to be passed as this is to be used
while executing the callback function. If the
context is passed, it will be used as this for
each invocation of the callback function,
otherwise undefined is used as default.
PAGE 71
Additional Info
PAGE 72
ACTIVITY 5
(ARRAYS)
PAGE 73
Objects
Objects in JavaScript, like objects in many other programming
languages, may be compared to real-world items. An object in
JavaScript is a self-contained entity having attributes and a
type. Consider a cup as an example. A cup is a physical item
having qualities. A cup has a color, a pattern, a weight, a
material made of, and so on. JavaScript objects, too, may have
attributes that determine their qualities. You can specify your
own objects in addition to those that are preset in the browser.
PAGE 74
Objects
Objects in JavaScript are collections of key/value
pairs. The values can consist of properties and
methods, and may contain all other JavaScript data
types, such as strings, numbers, and Booleans.
Documentation if
needed:
https://developer.mozilla.org/en-
US/docs/Web/JavaScript/Referen
ce/Global_Objects/Object/assign
PAGE 75
Objects vs Arrays
Arrays whenever we want to In objects, instead of just
create and store an ordered the item inside a list, they
list of multiple items in a consist of a key and a value.
single variable.
PAGE 76
Object
property
PAGE 77
Syntax: properties:
addition: It can
add new objects by
objectName.property simply giving
values to those
objectName["property"]
new objects.
objectName[expression] deletion: It uses
delete keyword, to
delete a property
from an object.
PAGE 78
Object
METHOD
1. Object.create() method
PAGE 79
Object
METHOD
2. Object.keys()
PAGE 80
Object
METHOD
3. Object.values()
PAGE 81
Object
METHOD
4. Object.entries()
PAGE 82
Object
METHOD
5. Object.assign()
PAGE 83
Object
METHOD
6. Object.freeze()
PAGE 84
Object
METHOD
7. Object.seal()
PAGE 85
OBJECT
METHODS
=EXAMPLE=
PAGE 87
OBJECT.freeze()
PAGE 88
ACTIVITY 6
(OBJECTS)
PAGE 89
Events
- An event is an action that occurs as per the user's
instruction as input and gives the output in response.
PAGE 90
Events
ESSENTIALLY, an event handler is a section of code that
can be considered as a user-defined JavaScript function
that operates when a particular event fires. We can define
it as the registration of an event handler and can consider
it as an event listener that performs and listens as an event
and returns the result.
SYNTAX:
PAGE 91
For example:
PAGE 92
Common Event Listeners
PAGE 93
event
listeners
=EXAMPLE=
PAGE 94
event Listener
CODE:
FINAL OUTPUT:
PAGE 95
ACTIVITY 7
(EVENTS LISTENER)
PAGE 96
Asynchronous JavaScript
PAGE 97
1. Callbacks:
2. Promises:
PAGE 98
3. Async/Await:
PAGE 99
libraries
PAGE 100
ARRAY
Can hold many values under a Enables storing a collection of
single name, and you can access multiple items under a single variable
the values by referring to an name, and has members for
index number performing common array operations.
ARRAY CONSTANT
DEMO:
SYNTAX: const cars = ["Saab", "Volvo", "BMW"];
const array_name = [item1, item2, ...]; document.getElementById("demo").i
nnerHTML = cars
PAGE 101
ARRAY CONSTANT
PAGE 102
ARRAY methods
METHOD DESCRIPTION SYNTAX
PAGE 102
ARRAY methods
METHOD DESCRIPTION SYNTAX
push()
Adds the specified elements to push(element1)
Array the end of an array and returns push(element1,element2)
push() the new length of the array. push(element1, element2,
/* …, */ elementN)
PAGE 102
ARRAY methods
METHOD DESCRIPTION SYNTAX
PAGE 102
ARRAY methods
METHOD DESCRIPTION SYNTAX
concat()
concat(value1)
Array The concat method creates a
concat(value1, value2)
concat() new array
concat(value1, value2, /* …,
*/ valueN)
PAGE 102
ARRAY methods
METHOD DESCRIPTION SYNTAX
PAGE 102
ARRAY
Methods
=EXAMPLES=
PAGE 109
array Length
CODE:
FINAL OUTPUT:
PAGE 110
ARRAY SORT
CODE: FINAL OUTPUT:
<script>
// Create and display an array: The reverse() method reverses
const fruits = ["Banana", "Orange", "Apple", "Mango"]; the elements in an array.
document.getElementById("demo1").innerHTML = fruits; By combining sort() and
// First sort the array reverse() you can sort an array
fruits.sort(); in descending order:
// Then reverse it:
fruits.reverse(); Banana,Orange,Apple,Mango
document.getElementById("demo2").innerHTML = fruits; Orange,Mango,Banana,Apple
</script>
PAGE 110
ARRAY SORT
FINAL OUTPUT:
CODE:
<script>
const numbers = [45, 4, 9, 16, 25]; 45
let txt = ""; 4
numbers.forEach(myFunction);
9
document.getElementById("demo").innerHTML = txt;
function myFunction(value, index, array) { 16
txt += value + "<br>"; 25
}
</script>
PAGE 110
ARRAY Slice pt.1
(GETTING A LIST OF ELEMENTS WITH A GIVEN INDEX)
CODE:
FINAL OUTPUT:
PAGE 110
ARRAY Slice pt.2
(GETTING A LIST OF SPECIFIC ELEMENTS OF THE ARRAY)
CODE:
FINAL OUTPUT:
PAGE 110
ARRAY Slice pt.3
(GETTING A SPECIFIC ELEMENT AT THE END OF THE ARRAY)
CODE:
FINAL OUTPUT:
PAGE 110
ACTIVITY 8
(ARRAY METHODS)
PAGE 117
DATE
Let us work with dates:
new Date()
PAGE 118
DATE GET METHODS
Method Description
getFullYear() Get year as a four digit number (yyyy)
getMonth() Get month as a number (0-11)
getDate() Get day as a number (1-31)
getDay() Get weekday as a number (0-6)
getHours() Get hour (0-23)
getMinutes() Get minute (0-59)
getSeconds() Get second (0-59)
getMilliseconds() Get millisecond (0-999)
getTime() Get time (milliseconds since January 1, 1970)
PAGE 119
SET DATE METHODS
let you set date values (years, months, days, hours, minutes,
seconds, milliseconds) for a Date Object.
Method Description
setDate() Set the day as a number (1-31)
setFullYear() Set the year (optionally month and day)
setHours() Set the hour (0-23)
setMilliseconds() Set the milliseconds (0-999)
setMinutes() Set the minutes (0-59)
setMonth() Set the month (0-11)
setSeconds() Set the seconds (0-59)
setTime() Set the time (milliseconds since January 1, 1970)
PAGE 120
DATE
Methods
=EXAMPLE=
PAGE 121
DATE methods
CODE:
FINAL OUTPUT:
PAGE 122
ACTIVITY 9
(Date Method)
PAGE 123
MATH
allows you to perform mathematical tasks on numbers.
Syntax: Math.property
Demo:
<p>Math.PI returns the ratio of a circle's circumference to its diameter:</p>
<p id="demo"></p>
<script>
document.getElementById("demo").innerHTML = Math.PI;
</script>
Result:
Math.PI returns the ratio of a circle's circumference to its diameter:
3.141592653589793
PAGE 124
MATHEMATICAL CONSTANTS
(Math properties)
PAGE 125
NUMBER TO INTEGER
PAGE 126
JS MATH METHOD
abs(x) Returns the absolute value of x
acos(x) Returns the arccosine of x, in radians
acosh(x) Returns the hyperbolic arccosine of x
asin(x) Returns the arcsine of x, in radians
asinh(x) Returns the hyperbolic arcsine of x
atan(x) Returns the arctangent of x as a numeric value between -
PI/2 and PI/2 radians
atan2(y, x) Returns the arctangent of the quotient of its arguments
atanh(x) Returns the hyperbolic arctangent of x
cbrt(x) Returns the cubic root of
PAGE 127
JS MATH METHOD
ceil(x) Returns x, rounded upwards to the nearest integer
cos(x) Returns the cosine of x (x is in radians)
cosh(x) Returns the hyperbolic cosine of x
exp(x) Returns the value of Ex
floor(x) Returns x, rounded downwards to the nearest integer
log(x) Returns the natural logarithm (base E) of x
max(x, y, z, ..., n) Returns the number with the highest value
min(x, y, z, ..., n) Returns the number with the lowest value
pow(x, y) Returns the value of x to the power of y
PAGE 128
JS MATH METHOD
random() Returns a random number between 0 and 1
round(x) Rounds x to the nearest integer
sign(x) Returns if x is negative, null or positive (-1, 0, 1)
sin(x) Returns the sine of x (x is in radians)
sinh(x) Returns the hyperbolic sine of x
sqrt(x) Returns the square root of x
tan(x) Returns the tangent of an angle
tanh(x) Returns the hyperbolic tangent of a number
trunc(x) Returns the integer part of a number (x)
PAGE 129
math
Methods
=EXAMPLES=
PAGE 130
math.max
CODE:
OUTPUT:
PAGE 131
math.min
CODE:
OUTPUT:
PAGE 132
math.ceil
CODE:
OUTPUT:
PAGE 133
ACTIVITY 10
(Math Methods)
PAGE 134
JAVASCRIPT LIBRARIES
JavaScript libraries are collections of functions,
methods, or objects designed to execute practical tasks
in web pages or JavaScript-based applications.
PAGE 135
JAVASCRIPT LIBRARIES
The purpose of JavaScript libraries is to
streamline the development process, providing
pre-written code that developers can leverage
for specific tasks, ultimately enhancing
efficiency and simplicity in web development.
PAGE 136
What are JS
Libraries
Used For?
What Else
Can JS Do?
PAGE 137
1. Data Visualization in Maps EXAMPLES: Chart.js, Apexcharts,
and Charts Algolia Places
PAGE 138
6. Animations EXAMPLES: Anime.js, JSTweener
PAGE 139
The Most Popular JavaScript Libraries
YOU CAN USE JAVASCRIPT LIBRARIES FOR:
some purpose, and we are 6. Algolia Places 15. fullPage.js 24. Screenfull.js
PAGE 140
JAVASCRIPT FRAMEWORK
JavaScript frameworks are tools for developing applications that
enable developers to customize code to meet specific requirements.
Comparatively, web application development is likened to
constructing a house. While creating everything from scratch is an
option, it is time-consuming and costly. Alternatively, using pre-built
materials, akin to bricks in construction, accelerates development,
saving time and money. Similarly, in application development,
frameworks provide pre-written code as building blocks, aligning with
the application's architecture. This approach streamlines the
development process, facilitates quicker adaptation to website
design, and simplifies working with JavaScript.
PAGE 141
The Most Popular JavaScript Frameworks
PAGE 142
jquery
jQuery is a lightweight,
"write less, do more",
JavaScript library.
The purpose of jQuery
is to make it much
easier to use
JavaScript on your
website.
PAGE 143
jquery
jQuery takes a lot of common tasks that require many lines
of JavaScript code to accomplish and wraps them into
methods that you can call with a single line of code.
BASIC SYNTAX: LEGEND:
1. A $ sign to define/access
jQuery
2. A (selector) to "query (or
find)" HTML elements
3. A jQuery action() to be
performed on the
element(s)
PAGE 144
jquery
jQuery also simplifies a lot of the complicated things from
JavaScript, like AJAX calls and DOM manipulation.
The jQuery syntax is tailor-made for selecting HTML
elements and performing some action on the element(s).
vs
PAGE 145
d3.js
JQUERY
DOCUMENTATION:
LIVE
DEMONSTRATION
OF JQUERY
PAGE 146
anime.js
Anime.js is a small,
lightweight JavaScript
library with a simple and
powerful API. It works with
the DOM element, CSS, and
JavaScript objects.
PAGE 147
anime.js
DOCUMENTATION:
https://animejs.com/do
LIVE
cumentation/ DEMONSTRATION
OF ANIME.JS
PAGE 148
d3.js
A JavaScript library called D3.js is
used to create dynamic and
interactive data visualizations in
web browsers. It is an acronym for
Data-Driven Documents, which
enables programmers to use data,
HTML, CSS, and SVG to generate
unique graphics.
PAGE 149
d3.js
d3.js
DOCUMENTATION: LIVE
DEMONSTRATION
OF D3.JS
PAGE 150
conclusion
PAGE 151
https://developer.mozilla.org/enUS/docs/Web/JavaScript/Guide/Introduction#javascript_and_java
https://www.w3schools.com/js/default.asp
Difference between Java and JavaScript - GeeksforGeeks
https://techbootcamps.utexas.edu/blog/html-css
javascript/#:~:text=Like%20we%20mentioned%20earlier%2C%20HTML,a%20form%20for%20a%20contest.
https://blog.hubspot.com/marketing/web-design-html-css-javascript
How does JavaScript work with HTML and CSS? | Reintech media
https://www.simplilearn.com/tutorials/javascript-tutorial/javascript-events
https://www.geeksforgeeks.org/javascript-object-properties/
https://www.digitalocean.com/community/tutorials/how-to-use-object-methods-in-javascript#object-
assign
https://www.geeksforgeeks.org/javascript-arrays/
JavaScript Functions (w3schools.com)
https://careerkarma.com/blog/javascript-array-length/
https://developer.mozilla.org/enUS/docs/Web/JavaScript/Reference/Global_Objects/Array/pop
PAGE 1