SlideShare a Scribd company logo
JavaScript
PRESENTATION
<p> By: Xai Mae Charnelle R. Sopsop </p>
TABLE OF CONTENT
01
02 03 04 05
06 07 08 09
10 11 12 13
What is
Javascript
History of
JavaScript
Where can we
code
JavaScript?
JavaScript
Basic Example
External
Javascript
Variable Data Types
String &
Numbers
Boolean
Array &
Object
Null &
Undefined
Conditional
Statements
Loops
What is Javascript?
<p> JavaScript is a programming language for
websites. It can manipulate both html and css.</p>
It can perform logical checks, calculation, modify
existing html & Css codes and more.
One of the most in-demand programming
languages in the tech industry.
● <p> Key Milestones in JavaScript's History:
• 1995: JavaScript was created by Brendan Eich at Netscape (initially called Mocha, then LiveScript).
• 1997: The ECMAScript standard was introduced to standardize JavaScript.
• 2005: The rise of AJAX brought dynamic content updates to web applications.
• 2009: Node.js was introduced, making JavaScript a full-stack language.
• 2015: ECMAScript 6 (ES6) introduced new language features, modernizing JavaScript.
● Who Created JavaScript?
• Brendan Eich, who developed JavaScript while working at Netscape Communications in 1995. He
is often referred to as the "father of JavaScript.“ </p>
History of JavaScript
& Who created Javascript
Where can we code JavaScript?
<p> Text Editor </p>
 Any software used to edit text. Then we can use other text editors. Are
especially made for coding that incorporates colored text foe a certain
language like JavaScript, It may also be called as an Integrated Development
Environment (IDE).
 So, there are text editor we can use the Notepad, Notedpad++ (IDE) and Visual
Studio Code (IDE).
JavaScript Basic Example
console.log in JavaScript
● console.log() is a built-in JavaScript method
used to output or log information to the
browser’s console. It's extremely useful for
debugging and tracking the flow of your
code, as it allows you to view variable values,
error messages, and more in the developer
tools console.
<script> Tag in HTML
● The <script> tag is used in HTML to
embed or link to JavaScript code. It can
be placed either in the <head> or at
the bottom of the <body> section. It
tells the browser that the content
inside the tag is JavaScript code, which
should be executed.
External JavaScript
<p> What is external JavaScript? </p>
External JavaSript refers to a JavaScript file that is stored separately from an HTML document.
Instead of embedding the Javascript code directly within the HTML using <script> tags, an external
JavaScript file is linked to the HTML document.
Script.js
Index.html
VARIABLE
 An temporary containers that can be hold
different types of data such as text,
numbers collections, objects and etc.
 Variable csn be named for easy read/write
access by the programmer it is called
identifier.
DATA
TYPES
The type of data that the variable is currently holding.
1. String 5. Object
2. Number 6. Null
3. Boolean 7. Undefined
4. Array
String (TEXT)
 A string is just a piece of text.
 It’s wrapped in either single quotes
(‘) or a double quotes (“).
 A number is any numerical value.
 It can be integer(whole numbers) or a
decimal (floating-point number).
NUMBER (NUMBERS)
Boolean
A Boolean can only be one of the
two values: true or false.
It’s often used in conditions or
comparisons.
Array (LIST OF VALUES)
 An object is like a “thing” that has
properties (like characteristics.
 You define properties with a name and a
value, like describing someone by their
name and age.
Object ( COLLECTION OF
RELATED DATA
 An array is a collection of values, kind of like a
list.
 The values can be on any type (strings,
number, etc.), and they are ordered by their
postion in the list.
Null (NO VALUE)
Undefined
 In JavaScript, null is a primitive
value that represents the intentional
absence of any object value. It
essentially means "nothing" or
"empty.“
 It is used when you want to clear or
empty something on purpose.
 When you declare a variable without
assigning a value to it, it
automatically gets the value undefined.
CONDITIONAL STATEMENTS
What is a Conditional Statement?
A conditional statement is a programming construct that allows you to execute
different blocks of code based on whether a condition is true or false. In
JavaScript, conditional statements include:
1.if statement: Executes a block of code if a condition is true.
2.else statement: Executes a block of code if the if condition is false.
3.else if statement: Allows you to check multiple conditions in sequence.
LOOP Type
Loop Type Purpose Example Use Case
for
Repeat code a specific
number of times
Iterating over a
range of numbers
while
Repeat code as long as a
condition is true
Reading input until a
valid value
do...while
Repeat code at least once,
then continue if a
condition is true
Menu-driven programs
for...in
Iterate over the
properties of an object
Looping through
object keys
for...of
Iterate over the elements
of an iterable (e.g.,
arrays, strings)
Looping through array
elements
forEach
Iterate over array
elements using a callback
function
Processing array
elements
CLEARLY, ANIMALS KNOW
MORE THAN WE THINK, AND
THINK A GREAT DEAL MORE
THAN WE KNOW.
― Irene M. Pepperberg
<p> Add a brief introduction of your section here: Let’s dive in and get to know
some interesting facts about animals! </p>
NOW WE WILL
TALK ABOUT THIS
THANK
YOU!
Do you have any questions?
NEXT PAGE: Exam
Questionnaire

More Related Content

PPTX
Introduction to JavaScript presentations
XaiMaeChanelleSopsop
 
PDF
javascriptPresentation.pdf
wildcat9335
 
PPTX
Lecture 5 javascript
Mujtaba Haider
 
PPTX
Unit - 4 all script are here Javascript.pptx
kushwahanitesh592
 
PPTX
WT Unit-3 PPT.pptx
TusharTikia
 
PPTX
Java script.pptx v
22x026
 
PPTX
04-JS.pptx
RazanMazen4
 
PPTX
04-JS.pptx
RazanMazen4
 
Introduction to JavaScript presentations
XaiMaeChanelleSopsop
 
javascriptPresentation.pdf
wildcat9335
 
Lecture 5 javascript
Mujtaba Haider
 
Unit - 4 all script are here Javascript.pptx
kushwahanitesh592
 
WT Unit-3 PPT.pptx
TusharTikia
 
Java script.pptx v
22x026
 
04-JS.pptx
RazanMazen4
 
04-JS.pptx
RazanMazen4
 

Similar to Powerpoint about JavaScript presentation (20)

PPTX
04-JS.pptx
RazanMazen4
 
PPTX
Learning space presentation1 learn Java script
engmk83
 
PPTX
Basics of Javascript
poojanov04
 
PPTX
Introduction to JAVA SCRIPT USING HTML and CSS
ManasaMR2
 
PPTX
Final Java-script.pptx
AlkanthiSomesh
 
PDF
Basics of JavaScript
Bala Narayanan
 
PPTX
Java script
Jay Patel
 
PPTX
Web programming
Leo Mark Villar
 
PPTX
FFW Gabrovo PMG - JavaScript 1
Toni Kolev
 
PPTX
Java script
Shyam Khant
 
PDF
Javascript tutorial basic for starter
Marcello Harford
 
PPTX
Unit 3-Javascript.pptx
AmanJha533833
 
PPTX
Chapter 3 INTRODUCTION TO JAVASCRIPT S.pptx
KelemAlebachew
 
PPTX
javascript client side scripting la.pptx
lekhacce
 
PPTX
Java script
Abhishek Kesharwani
 
PPTX
JavaScript_III.pptx
rashmiisrani1
 
PDF
Lecture17 ie321 dr_atifshahzad_js
Atif Shahzad
 
PDF
Complete JavaScript Notes: From Basics to Advanced Concepts.pdf
haydendavispro
 
PDF
CS8651- Unit 2 - JS.internet programming paper anna university -2017 regulation
amrashbhanuabdul
 
PDF
Ch3- Java Script.pdf
HASENSEID
 
04-JS.pptx
RazanMazen4
 
Learning space presentation1 learn Java script
engmk83
 
Basics of Javascript
poojanov04
 
Introduction to JAVA SCRIPT USING HTML and CSS
ManasaMR2
 
Final Java-script.pptx
AlkanthiSomesh
 
Basics of JavaScript
Bala Narayanan
 
Java script
Jay Patel
 
Web programming
Leo Mark Villar
 
FFW Gabrovo PMG - JavaScript 1
Toni Kolev
 
Java script
Shyam Khant
 
Javascript tutorial basic for starter
Marcello Harford
 
Unit 3-Javascript.pptx
AmanJha533833
 
Chapter 3 INTRODUCTION TO JAVASCRIPT S.pptx
KelemAlebachew
 
javascript client side scripting la.pptx
lekhacce
 
Java script
Abhishek Kesharwani
 
JavaScript_III.pptx
rashmiisrani1
 
Lecture17 ie321 dr_atifshahzad_js
Atif Shahzad
 
Complete JavaScript Notes: From Basics to Advanced Concepts.pdf
haydendavispro
 
CS8651- Unit 2 - JS.internet programming paper anna university -2017 regulation
amrashbhanuabdul
 
Ch3- Java Script.pdf
HASENSEID
 
Ad

Recently uploaded (20)

PPTX
An introduction to Prepositions for beginners.pptx
drsiddhantnagine
 
PDF
PG-BPSDMP 2 TAHUN 2025PG-BPSDMP 2 TAHUN 2025.pdf
AshifaRamadhani
 
PPTX
How to Manage Global Discount in Odoo 18 POS
Celine George
 
PPTX
vedic maths in python:unleasing ancient wisdom with modern code
mistrymuskan14
 
PDF
The Minister of Tourism, Culture and Creative Arts, Abla Dzifa Gomashie has e...
nservice241
 
PDF
High Ground Student Revision Booklet Preview
jpinnuck
 
PDF
The Final Stretch: How to Release a Game and Not Die in the Process.
Marta Fijak
 
PPTX
Presentation on Janskhiya sthirata kosh.
Ms Usha Vadhel
 
PPTX
TEF & EA Bsc Nursing 5th sem.....BBBpptx
AneetaSharma15
 
PPTX
Skill Development Program For Physiotherapy Students by SRY.pptx
Prof.Dr.Y.SHANTHOSHRAJA MPT Orthopedic., MSc Microbiology
 
PDF
UTS Health Student Promotional Representative_Position Description.pdf
Faculty of Health, University of Technology Sydney
 
PPTX
Open Quiz Monsoon Mind Game Prelims.pptx
Sourav Kr Podder
 
PPTX
Introduction and Scope of Bichemistry.pptx
shantiyogi
 
PDF
Landforms and landscapes data surprise preview
jpinnuck
 
PDF
Types of Literary Text: Poetry and Prose
kaelandreabibit
 
PDF
Module 3: Health Systems Tutorial Slides S2 2025
Jonathan Hallett
 
PPTX
Information Texts_Infographic on Forgetting Curve.pptx
Tata Sevilla
 
PDF
Mga Unang Hakbang Tungo Sa Tao by Joe Vibar Nero.pdf
MariellaTBesana
 
PPTX
PPTs-The Rise of Empiresghhhhhhhh (1).pptx
academysrusti114
 
PDF
Sunset Boulevard Student Revision Booklet
jpinnuck
 
An introduction to Prepositions for beginners.pptx
drsiddhantnagine
 
PG-BPSDMP 2 TAHUN 2025PG-BPSDMP 2 TAHUN 2025.pdf
AshifaRamadhani
 
How to Manage Global Discount in Odoo 18 POS
Celine George
 
vedic maths in python:unleasing ancient wisdom with modern code
mistrymuskan14
 
The Minister of Tourism, Culture and Creative Arts, Abla Dzifa Gomashie has e...
nservice241
 
High Ground Student Revision Booklet Preview
jpinnuck
 
The Final Stretch: How to Release a Game and Not Die in the Process.
Marta Fijak
 
Presentation on Janskhiya sthirata kosh.
Ms Usha Vadhel
 
TEF & EA Bsc Nursing 5th sem.....BBBpptx
AneetaSharma15
 
Skill Development Program For Physiotherapy Students by SRY.pptx
Prof.Dr.Y.SHANTHOSHRAJA MPT Orthopedic., MSc Microbiology
 
UTS Health Student Promotional Representative_Position Description.pdf
Faculty of Health, University of Technology Sydney
 
Open Quiz Monsoon Mind Game Prelims.pptx
Sourav Kr Podder
 
Introduction and Scope of Bichemistry.pptx
shantiyogi
 
Landforms and landscapes data surprise preview
jpinnuck
 
Types of Literary Text: Poetry and Prose
kaelandreabibit
 
Module 3: Health Systems Tutorial Slides S2 2025
Jonathan Hallett
 
Information Texts_Infographic on Forgetting Curve.pptx
Tata Sevilla
 
Mga Unang Hakbang Tungo Sa Tao by Joe Vibar Nero.pdf
MariellaTBesana
 
PPTs-The Rise of Empiresghhhhhhhh (1).pptx
academysrusti114
 
Sunset Boulevard Student Revision Booklet
jpinnuck
 
Ad

Powerpoint about JavaScript presentation

  • 1. JavaScript PRESENTATION <p> By: Xai Mae Charnelle R. Sopsop </p>
  • 2. TABLE OF CONTENT 01 02 03 04 05 06 07 08 09 10 11 12 13 What is Javascript History of JavaScript Where can we code JavaScript? JavaScript Basic Example External Javascript Variable Data Types String & Numbers Boolean Array & Object Null & Undefined Conditional Statements Loops
  • 3. What is Javascript? <p> JavaScript is a programming language for websites. It can manipulate both html and css.</p> It can perform logical checks, calculation, modify existing html & Css codes and more. One of the most in-demand programming languages in the tech industry.
  • 4. ● <p> Key Milestones in JavaScript's History: • 1995: JavaScript was created by Brendan Eich at Netscape (initially called Mocha, then LiveScript). • 1997: The ECMAScript standard was introduced to standardize JavaScript. • 2005: The rise of AJAX brought dynamic content updates to web applications. • 2009: Node.js was introduced, making JavaScript a full-stack language. • 2015: ECMAScript 6 (ES6) introduced new language features, modernizing JavaScript. ● Who Created JavaScript? • Brendan Eich, who developed JavaScript while working at Netscape Communications in 1995. He is often referred to as the "father of JavaScript.“ </p> History of JavaScript & Who created Javascript
  • 5. Where can we code JavaScript? <p> Text Editor </p>  Any software used to edit text. Then we can use other text editors. Are especially made for coding that incorporates colored text foe a certain language like JavaScript, It may also be called as an Integrated Development Environment (IDE).  So, there are text editor we can use the Notepad, Notedpad++ (IDE) and Visual Studio Code (IDE).
  • 6. JavaScript Basic Example console.log in JavaScript ● console.log() is a built-in JavaScript method used to output or log information to the browser’s console. It's extremely useful for debugging and tracking the flow of your code, as it allows you to view variable values, error messages, and more in the developer tools console. <script> Tag in HTML ● The <script> tag is used in HTML to embed or link to JavaScript code. It can be placed either in the <head> or at the bottom of the <body> section. It tells the browser that the content inside the tag is JavaScript code, which should be executed.
  • 7. External JavaScript <p> What is external JavaScript? </p> External JavaSript refers to a JavaScript file that is stored separately from an HTML document. Instead of embedding the Javascript code directly within the HTML using <script> tags, an external JavaScript file is linked to the HTML document. Script.js Index.html
  • 8. VARIABLE  An temporary containers that can be hold different types of data such as text, numbers collections, objects and etc.  Variable csn be named for easy read/write access by the programmer it is called identifier.
  • 9. DATA TYPES The type of data that the variable is currently holding. 1. String 5. Object 2. Number 6. Null 3. Boolean 7. Undefined 4. Array
  • 10. String (TEXT)  A string is just a piece of text.  It’s wrapped in either single quotes (‘) or a double quotes (“).  A number is any numerical value.  It can be integer(whole numbers) or a decimal (floating-point number). NUMBER (NUMBERS)
  • 11. Boolean A Boolean can only be one of the two values: true or false. It’s often used in conditions or comparisons.
  • 12. Array (LIST OF VALUES)  An object is like a “thing” that has properties (like characteristics.  You define properties with a name and a value, like describing someone by their name and age. Object ( COLLECTION OF RELATED DATA  An array is a collection of values, kind of like a list.  The values can be on any type (strings, number, etc.), and they are ordered by their postion in the list.
  • 13. Null (NO VALUE) Undefined  In JavaScript, null is a primitive value that represents the intentional absence of any object value. It essentially means "nothing" or "empty.“  It is used when you want to clear or empty something on purpose.  When you declare a variable without assigning a value to it, it automatically gets the value undefined.
  • 14. CONDITIONAL STATEMENTS What is a Conditional Statement? A conditional statement is a programming construct that allows you to execute different blocks of code based on whether a condition is true or false. In JavaScript, conditional statements include: 1.if statement: Executes a block of code if a condition is true. 2.else statement: Executes a block of code if the if condition is false. 3.else if statement: Allows you to check multiple conditions in sequence.
  • 15. LOOP Type Loop Type Purpose Example Use Case for Repeat code a specific number of times Iterating over a range of numbers while Repeat code as long as a condition is true Reading input until a valid value do...while Repeat code at least once, then continue if a condition is true Menu-driven programs for...in Iterate over the properties of an object Looping through object keys for...of Iterate over the elements of an iterable (e.g., arrays, strings) Looping through array elements forEach Iterate over array elements using a callback function Processing array elements
  • 16. CLEARLY, ANIMALS KNOW MORE THAN WE THINK, AND THINK A GREAT DEAL MORE THAN WE KNOW. ― Irene M. Pepperberg
  • 17. <p> Add a brief introduction of your section here: Let’s dive in and get to know some interesting facts about animals! </p> NOW WE WILL TALK ABOUT THIS
  • 18. THANK YOU! Do you have any questions? NEXT PAGE: Exam Questionnaire