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
PPTX
Learning space presentation1 learn Java script
PPTX
js.pptx
PPT
chap04.ppt
PPTX
Introduction to JavaScript Programming
PPTX
Web programming
PPTX
Introduction to JavaScript Programming
PPTX
Web technologies-course 07.pptx
Introduction to JavaScript presentations
Learning space presentation1 learn Java script
js.pptx
chap04.ppt
Introduction to JavaScript Programming
Web programming
Introduction to JavaScript Programming
Web technologies-course 07.pptx

Similar to Powerpoint about JavaScript presentation (20)

PPTX
WT Unit-3 PPT.pptx
PPTX
Java script
PPTX
Introduction to JAVA SCRIPT USING HTML and CSS
PPTX
Final Java-script.pptx
PPTX
Javascript
PPT
08. session 08 intoduction to javascript
PPTX
Introduction to JavaScript - Web Programming
PDF
IT2255 Web Essentials - Unit III Client-Side Processing and Scripting
PPTX
Java script
DOC
2javascript web programming with JAVA script
PPTX
Java script basic
PDF
PPTX
Java script
PDF
JavaScript Interview Questions PDF By ScholarHat
PPTX
Java script
DOC
Basics java scripts
PPT
Javascript sivasoft
DOCX
PPTX
Java script
PPTX
HNDIT1022 Week 08, 09 10 Theory web .pptx
WT Unit-3 PPT.pptx
Java script
Introduction to JAVA SCRIPT USING HTML and CSS
Final Java-script.pptx
Javascript
08. session 08 intoduction to javascript
Introduction to JavaScript - Web Programming
IT2255 Web Essentials - Unit III Client-Side Processing and Scripting
Java script
2javascript web programming with JAVA script
Java script basic
Java script
JavaScript Interview Questions PDF By ScholarHat
Java script
Basics java scripts
Javascript sivasoft
Java script
HNDIT1022 Week 08, 09 10 Theory web .pptx
Ad

Recently uploaded (20)

PPTX
Cell Types and Its function , kingdom of life
PDF
Insiders guide to clinical Medicine.pdf
PPTX
1st Inaugural Professorial Lecture held on 19th February 2020 (Governance and...
PPTX
school management -TNTEU- B.Ed., Semester II Unit 1.pptx
PDF
VCE English Exam - Section C Student Revision Booklet
PPTX
IMMUNITY IMMUNITY refers to protection against infection, and the immune syst...
PPTX
Introduction_to_Human_Anatomy_and_Physiology_for_B.Pharm.pptx
PDF
STATICS OF THE RIGID BODIES Hibbelers.pdf
PDF
Basic Mud Logging Guide for educational purpose
PDF
Black Hat USA 2025 - Micro ICS Summit - ICS/OT Threat Landscape
PPTX
master seminar digital applications in india
PDF
Saundersa Comprehensive Review for the NCLEX-RN Examination.pdf
PDF
O7-L3 Supply Chain Operations - ICLT Program
PDF
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
PDF
BÀI TẬP BỔ TRỢ 4 KỸ NĂNG TIẾNG ANH 9 GLOBAL SUCCESS - CẢ NĂM - BÁM SÁT FORM Đ...
PDF
Classroom Observation Tools for Teachers
PDF
Pre independence Education in Inndia.pdf
PDF
2.FourierTransform-ShortQuestionswithAnswers.pdf
PPTX
Lesson notes of climatology university.
PPTX
Final Presentation General Medicine 03-08-2024.pptx
Cell Types and Its function , kingdom of life
Insiders guide to clinical Medicine.pdf
1st Inaugural Professorial Lecture held on 19th February 2020 (Governance and...
school management -TNTEU- B.Ed., Semester II Unit 1.pptx
VCE English Exam - Section C Student Revision Booklet
IMMUNITY IMMUNITY refers to protection against infection, and the immune syst...
Introduction_to_Human_Anatomy_and_Physiology_for_B.Pharm.pptx
STATICS OF THE RIGID BODIES Hibbelers.pdf
Basic Mud Logging Guide for educational purpose
Black Hat USA 2025 - Micro ICS Summit - ICS/OT Threat Landscape
master seminar digital applications in india
Saundersa Comprehensive Review for the NCLEX-RN Examination.pdf
O7-L3 Supply Chain Operations - ICLT Program
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
BÀI TẬP BỔ TRỢ 4 KỸ NĂNG TIẾNG ANH 9 GLOBAL SUCCESS - CẢ NĂM - BÁM SÁT FORM Đ...
Classroom Observation Tools for Teachers
Pre independence Education in Inndia.pdf
2.FourierTransform-ShortQuestionswithAnswers.pdf
Lesson notes of climatology university.
Final Presentation General Medicine 03-08-2024.pptx
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