SlideShare a Scribd company logo
1 of 7
Web Design & Development
Batch-02
HACKERS
:-Group:-
NAME ID
SHUVO MALAKAR BB-TMSS-070216SYL46
MD.JABED MIAH BB-TMSS-070216SYL47
MD.MUHIT MIAH BB-TMSS-070216SYL48
Group
Member’s
JavaScript
JavaScript resides inside HTML documents, and can
provide levels of interactivity to web pages that are not
achievable with simple HTML. Key differences between
Java and JavaScript: Java is an OOP programming
language while Java Script is an OOP scripting language.
Establishment
JavaScript was created in 10th May 1995 by Brendan
Eich, then working at Netscape and now of Mozilla.
JavaScript was not always known as JavaScript: the original
name was Mocha, a name chosen by Marc Andreessen,
founder of Netscape. In September of 1995 the name was
changed to LiveScript, then in December of the same year,
upon receiving a trademark license from Sun, the name
JavaScript was adopted.
Let’s now discuss about ---------
--------“For & While Loop”--------
“The Loop’s are used when the user’s repeat some statement in a program.”
For Loop:
The For loop is usually used when you need to repeat a given number of times.
<script>
var text = "";
var i;
for (i = 0; i < 5; i++) {
text += "The number is " + i + "<br>";
}
document.getElementById("demo").innerHTML = text;
</script>
The number is 0
The number is 1
The number is 2
The number is 3
The number is 4
While Loop
The while loop is usually used to repeat something until a given condition is true.
<script>
var text = "";
var i = 0;
while (i < 10) {
text += "<br>The number is " + i;
I++;
}
document.getElementById("demo").innerHTML = text;
</script>
The number is 0
The number is 1
The number is 2
The number is 3
The number is 4
The number is 5
The number is 6
The number is 7
The number is 8
The number is 9
Thanks A Lot
For Being With US

More Related Content

Viewers also liked

Viewers also liked (14)

CSS
CSS CSS
CSS
 
Praktikum4 9
Praktikum4 9Praktikum4 9
Praktikum4 9
 
Panduan penilaian smk black-rev-14 des
Panduan penilaian smk black-rev-14 desPanduan penilaian smk black-rev-14 des
Panduan penilaian smk black-rev-14 des
 
Buku Panduan HKN ke 52 Tahun 2016
Buku Panduan HKN ke 52 Tahun 2016Buku Panduan HKN ke 52 Tahun 2016
Buku Panduan HKN ke 52 Tahun 2016
 
Biografía
BiografíaBiografía
Biografía
 
ACTIVIDAD INTERACTIVA SEMANA 2 ENGLISH DOT WORKS 2
ACTIVIDAD INTERACTIVA SEMANA 2 ENGLISH DOT WORKS 2ACTIVIDAD INTERACTIVA SEMANA 2 ENGLISH DOT WORKS 2
ACTIVIDAD INTERACTIVA SEMANA 2 ENGLISH DOT WORKS 2
 
Hibernate
Hibernate Hibernate
Hibernate
 
Redacción de funciones
Redacción de funcionesRedacción de funciones
Redacción de funciones
 
Presentasi TEKNIK MENDESAIN DAN CONTOH MEMBUAT MACROMEDIA FLASH..
Presentasi TEKNIK MENDESAIN DAN CONTOH MEMBUAT MACROMEDIA FLASH..Presentasi TEKNIK MENDESAIN DAN CONTOH MEMBUAT MACROMEDIA FLASH..
Presentasi TEKNIK MENDESAIN DAN CONTOH MEMBUAT MACROMEDIA FLASH..
 
Dokumen kurikulum 2013
Dokumen kurikulum 2013Dokumen kurikulum 2013
Dokumen kurikulum 2013
 
ACTIVIDAD INTERACTIVA SEMANA 4 ENGLISH DOT WORKS 2
ACTIVIDAD INTERACTIVA SEMANA 4 ENGLISH DOT WORKS 2ACTIVIDAD INTERACTIVA SEMANA 4 ENGLISH DOT WORKS 2
ACTIVIDAD INTERACTIVA SEMANA 4 ENGLISH DOT WORKS 2
 
Tips jitu atasi gugup berbicara di depan
Tips jitu atasi gugup berbicara di depanTips jitu atasi gugup berbicara di depan
Tips jitu atasi gugup berbicara di depan
 
Serge Miranda, Education Mobiquitaire2.0
Serge Miranda, Education Mobiquitaire2.0Serge Miranda, Education Mobiquitaire2.0
Serge Miranda, Education Mobiquitaire2.0
 
Konsep dasar sistem operasi
Konsep dasar sistem operasiKonsep dasar sistem operasi
Konsep dasar sistem operasi
 

Similar to For And While Loop

Similar to For And While Loop (20)

JavaScript for ABAP Programmers - 1/7 Introduction
JavaScript for ABAP Programmers - 1/7 IntroductionJavaScript for ABAP Programmers - 1/7 Introduction
JavaScript for ABAP Programmers - 1/7 Introduction
 
Flash Web Development.pdf
Flash Web Development.pdfFlash Web Development.pdf
Flash Web Development.pdf
 
Adobe Flex builder by elmagnif
Adobe Flex builder  by elmagnifAdobe Flex builder  by elmagnif
Adobe Flex builder by elmagnif
 
Type script vs javascript come face to face in battleground
Type script vs javascript come face to face in battlegroundType script vs javascript come face to face in battleground
Type script vs javascript come face to face in battleground
 
Ppt of java and java script
Ppt of java and java scriptPpt of java and java script
Ppt of java and java script
 
Java script
Java scriptJava script
Java script
 
HTTP Plugin for MySQL!
HTTP Plugin for MySQL!HTTP Plugin for MySQL!
HTTP Plugin for MySQL!
 
Javascript - Ebook (A Quick Guide)
Javascript - Ebook (A Quick Guide)Javascript - Ebook (A Quick Guide)
Javascript - Ebook (A Quick Guide)
 
Survive JavaScript - Strategies and Tricks
Survive JavaScript - Strategies and TricksSurvive JavaScript - Strategies and Tricks
Survive JavaScript - Strategies and Tricks
 
Web programming UNIT II by Bhavsingh Maloth
Web programming UNIT II by Bhavsingh MalothWeb programming UNIT II by Bhavsingh Maloth
Web programming UNIT II by Bhavsingh Maloth
 
WEB PROGRAMMING UNIT II BY BHAVSINGH MALOTH
WEB PROGRAMMING UNIT II BY BHAVSINGH MALOTHWEB PROGRAMMING UNIT II BY BHAVSINGH MALOTH
WEB PROGRAMMING UNIT II BY BHAVSINGH MALOTH
 
Brief History of JavaScript
Brief History of JavaScriptBrief History of JavaScript
Brief History of JavaScript
 
Sql installation
Sql installationSql installation
Sql installation
 
Javascript from beginning to modern
Javascript from beginning to modernJavascript from beginning to modern
Javascript from beginning to modern
 
Rolando Santamaría Masó - Simplicity meets scalability - code.talks 2015
Rolando Santamaría Masó - Simplicity meets scalability - code.talks 2015Rolando Santamaría Masó - Simplicity meets scalability - code.talks 2015
Rolando Santamaría Masó - Simplicity meets scalability - code.talks 2015
 
Introduction of webpack 4
Introduction of webpack 4Introduction of webpack 4
Introduction of webpack 4
 
Java script Basic
Java script BasicJava script Basic
Java script Basic
 
devops Days Belgium Ghent 2016
devops Days Belgium Ghent 2016devops Days Belgium Ghent 2016
devops Days Belgium Ghent 2016
 
Mxml
MxmlMxml
Mxml
 
Javascript tutorial
Javascript tutorialJavascript tutorial
Javascript tutorial
 

Recently uploaded

Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
kauryashika82
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
ZurliaSoop
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
ciinovamais
 

Recently uploaded (20)

TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
 
Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdf
 
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
 
Third Battle of Panipat detailed notes.pptx
Third Battle of Panipat detailed notes.pptxThird Battle of Panipat detailed notes.pptx
Third Battle of Panipat detailed notes.pptx
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
 
Spatium Project Simulation student brief
Spatium Project Simulation student briefSpatium Project Simulation student brief
Spatium Project Simulation student brief
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentation
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 

For And While Loop

  • 1. Web Design & Development Batch-02 HACKERS :-Group:-
  • 2. NAME ID SHUVO MALAKAR BB-TMSS-070216SYL46 MD.JABED MIAH BB-TMSS-070216SYL47 MD.MUHIT MIAH BB-TMSS-070216SYL48 Group Member’s
  • 3. JavaScript JavaScript resides inside HTML documents, and can provide levels of interactivity to web pages that are not achievable with simple HTML. Key differences between Java and JavaScript: Java is an OOP programming language while Java Script is an OOP scripting language.
  • 4. Establishment JavaScript was created in 10th May 1995 by Brendan Eich, then working at Netscape and now of Mozilla. JavaScript was not always known as JavaScript: the original name was Mocha, a name chosen by Marc Andreessen, founder of Netscape. In September of 1995 the name was changed to LiveScript, then in December of the same year, upon receiving a trademark license from Sun, the name JavaScript was adopted.
  • 5. Let’s now discuss about --------- --------“For & While Loop”-------- “The Loop’s are used when the user’s repeat some statement in a program.” For Loop: The For loop is usually used when you need to repeat a given number of times. <script> var text = ""; var i; for (i = 0; i < 5; i++) { text += "The number is " + i + "<br>"; } document.getElementById("demo").innerHTML = text; </script> The number is 0 The number is 1 The number is 2 The number is 3 The number is 4
  • 6. While Loop The while loop is usually used to repeat something until a given condition is true. <script> var text = ""; var i = 0; while (i < 10) { text += "<br>The number is " + i; I++; } document.getElementById("demo").innerHTML = text; </script> The number is 0 The number is 1 The number is 2 The number is 3 The number is 4 The number is 5 The number is 6 The number is 7 The number is 8 The number is 9
  • 7. Thanks A Lot For Being With US