SlideShare a Scribd company logo
1 of 2
JAVASCRIPT
What is JavaScript
 JavaScript is a text-based programing language.
 It is used both on client-side and server-side. That allows you to make a web pages
interactive.
 HTML & CSS are languages that gives structure and style to web pages, JavaScript gives
web pages interactive elements that engage a user.
What can JavaScript can do?
o JavaScript can change HTML content.
o JavaScript can change HTML attributes.
o JavaScript can change HTML styles (CSS)
o JavaScript can hide html elements.
o JavaScript can show html elements.
Advantages of JavaScript?
 Speed
 Simplicity
 Popularity
 Interoperability
 Server load
 Rich interface
 Extended functionality
 Versatility
Disadvantages of java script?
 Cannot Debug
 Unexpected stop of rendering
 Client-side Security
 Inheritance
 Browser Support
Variables
Variable using 3 keywords that are var, let, and const.
1.Var: Global scoped or function scoped.
Redeclare & reassign.
<script>
var x= 10010;
// var x= 1001;
console.log(x);
</script>
2.Let: let variable is only block scoped. It can’t be accessible outside the
particular block ({block}).
Reassign
<script>
let x= 10;
// console.log(x);
x= 20;
console.log(x);
</script>
3.Const: The scope of a const variable is block scope.
Redeclare & reassign.
<script>
const x= 10;
console.log(x);
const y=11;
console.log(y)
</script>
DATA TYPES:

More Related Content

Similar to JAVASCRIPT.docx

Fundamentals of Web building
Fundamentals of Web buildingFundamentals of Web building
Fundamentals of Web building
RC Morales
 
Ultimate Skills Checklist for Your First Front-End Developer Job
Ultimate Skills Checklist for Your First Front-End Developer JobUltimate Skills Checklist for Your First Front-End Developer Job
Ultimate Skills Checklist for Your First Front-End Developer Job
Brenna Van Norman
 

Similar to JAVASCRIPT.docx (20)

Lezione 03 Introduzione a react
Lezione 03   Introduzione a reactLezione 03   Introduzione a react
Lezione 03 Introduzione a react
 
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
 
Java script
Java scriptJava script
Java script
 
My 70-480 HTML5 certification learning
My 70-480 HTML5 certification learningMy 70-480 HTML5 certification learning
My 70-480 HTML5 certification learning
 
WEB TECHNOLOGIES JavaScript
WEB TECHNOLOGIES JavaScriptWEB TECHNOLOGIES JavaScript
WEB TECHNOLOGIES JavaScript
 
Differences
DifferencesDifferences
Differences
 
Fundamentals of Web building
Fundamentals of Web buildingFundamentals of Web building
Fundamentals of Web building
 
Introduction to Javascript
Introduction to JavascriptIntroduction to Javascript
Introduction to Javascript
 
Unit 4(it workshop)
Unit 4(it workshop)Unit 4(it workshop)
Unit 4(it workshop)
 
Java script
Java scriptJava script
Java script
 
Advanced JavaScript
Advanced JavaScriptAdvanced JavaScript
Advanced JavaScript
 
Java script by Act Academy
Java script by Act AcademyJava script by Act Academy
Java script by Act Academy
 
technology@web
technology@webtechnology@web
technology@web
 
JAVA SCRIPT
JAVA SCRIPTJAVA SCRIPT
JAVA SCRIPT
 
WEB MODULE 3.pdf
WEB MODULE 3.pdfWEB MODULE 3.pdf
WEB MODULE 3.pdf
 
8.-Javascript-report powerpoint presentation
8.-Javascript-report powerpoint presentation8.-Javascript-report powerpoint presentation
8.-Javascript-report powerpoint presentation
 
HOTEL_INTERNSHIP_Management_Seminar_topic1].pptx
HOTEL_INTERNSHIP_Management_Seminar_topic1].pptxHOTEL_INTERNSHIP_Management_Seminar_topic1].pptx
HOTEL_INTERNSHIP_Management_Seminar_topic1].pptx
 
Java script
Java scriptJava script
Java script
 
Ultimate Skills Checklist for Your First Front-End Developer Job
Ultimate Skills Checklist for Your First Front-End Developer JobUltimate Skills Checklist for Your First Front-End Developer Job
Ultimate Skills Checklist for Your First Front-End Developer Job
 

More from MUDDUKRISHNA14

More from MUDDUKRISHNA14 (20)

Angular
AngularAngular
Angular
 
UI Development Content
UI Development ContentUI Development Content
UI Development Content
 
UI content
UI contentUI content
UI content
 
angular
angularangular
angular
 
AchieversIT training institute in bangalore
AchieversIT training institute in bangaloreAchieversIT training institute in bangalore
AchieversIT training institute in bangalore
 
Achieversit Training Institute in Bangalore 2
Achieversit Training Institute in Bangalore 2Achieversit Training Institute in Bangalore 2
Achieversit Training Institute in Bangalore 2
 
AWS devops content
AWS devops contentAWS devops content
AWS devops content
 
angular
angularangular
angular
 
java full stack
java full stackjava full stack
java full stack
 
AWS devops
AWS devopsAWS devops
AWS devops
 
AWS
AWSAWS
AWS
 
angular
angularangular
angular
 
Python content
Python contentPython content
Python content
 
Java Full Stack Development content
Java Full Stack Development  contentJava Full Stack Development  content
Java Full Stack Development content
 
UI Development Content
UI Development ContentUI Development Content
UI Development Content
 
angular content
angular contentangular content
angular content
 
java full stack content
java full stack contentjava full stack content
java full stack content
 
AWS devops content
AWS devops contentAWS devops content
AWS devops content
 
AWS conent
AWS  conentAWS  conent
AWS conent
 
AWS devops content 1(2023).docx
AWS devops content 1(2023).docxAWS devops content 1(2023).docx
AWS devops content 1(2023).docx
 

Recently uploaded

Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
ciinovamais
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
heathfieldcps1
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
QucHHunhnh
 
Making and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdfMaking and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdf
Chris Hunter
 

Recently uploaded (20)

Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
 
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptxINDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdf
 
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
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
Role Of Transgenic Animal In Target Validation-1.pptx
Role Of Transgenic Animal In Target Validation-1.pptxRole Of Transgenic Animal In Target Validation-1.pptx
Role Of Transgenic Animal In Target Validation-1.pptx
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 
PROCESS RECORDING FORMAT.docx
PROCESS      RECORDING        FORMAT.docxPROCESS      RECORDING        FORMAT.docx
PROCESS RECORDING FORMAT.docx
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
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.
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.
 
Making and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdfMaking and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdf
 
ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
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Ữ Â...
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot Graph
 

JAVASCRIPT.docx

  • 1. JAVASCRIPT What is JavaScript  JavaScript is a text-based programing language.  It is used both on client-side and server-side. That allows you to make a web pages interactive.  HTML & CSS are languages that gives structure and style to web pages, JavaScript gives web pages interactive elements that engage a user. What can JavaScript can do? o JavaScript can change HTML content. o JavaScript can change HTML attributes. o JavaScript can change HTML styles (CSS) o JavaScript can hide html elements. o JavaScript can show html elements. Advantages of JavaScript?  Speed  Simplicity  Popularity  Interoperability  Server load  Rich interface  Extended functionality  Versatility Disadvantages of java script?  Cannot Debug  Unexpected stop of rendering  Client-side Security  Inheritance  Browser Support Variables Variable using 3 keywords that are var, let, and const. 1.Var: Global scoped or function scoped. Redeclare & reassign. <script> var x= 10010; // var x= 1001; console.log(x); </script>
  • 2. 2.Let: let variable is only block scoped. It can’t be accessible outside the particular block ({block}). Reassign <script> let x= 10; // console.log(x); x= 20; console.log(x); </script> 3.Const: The scope of a const variable is block scope. Redeclare & reassign. <script> const x= 10; console.log(x); const y=11; console.log(y) </script> DATA TYPES: