Introduction to JavaScript

0.0(0)
studied byStudied by 0 people
GameKnowt Play
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/35

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

36 Terms

1
New cards

to improve the design, add functionality, validate forms, detect browsers, create cookies and much more

JavaScript is used in millions of Web pages

2
New cards

popular scripting language on the Internet

JavaScript is the most

3
New cards

scripting language of the Web

JavaScript is the

4
New cards

open-source programming language

JavaScript is an

5
New cards

lightweight and interpreted

JavaScript is

6
New cards

embedded directly into HTML pages

JavaScript is usually

7
New cards

interpreted language

JavaScript is an

8
New cards

scripts execute without preliminary compilation

interpreted language

9
New cards

without purchasing a license

JavaScript can be used

10
New cards
  • Web Applications

  • Mobile Applications

  • Web-based Games

  • Back-end Web Development

What is JavaScript used for?

11
New cards

used to insert JavaScript into an HTML page

<script>

12
New cards

to define the scripting language

“type”

13
New cards

to close

</script>

14
New cards

codes end with a ;

C++ and Java

15
New cards

;

Optional in JavaScript

16
New cards

;

To put more than one statement on a single line

17
New cards

comment

//

18
New cards

//

Do not put in the front of the first comment

19
New cards

can be inserted almost anywhere into an HTML document

script tag

20
New cards

script is loaded before anyone uses it

Where to place JavaScript?

head section

21
New cards

generates the content of the page

Where to place JavaScript?

body section

22
New cards

unlimited number of scripts both in body and head

Where to place JavaScript?

body and head section

23
New cards

external file written with a .js file extension

Where to place JavaScript?

external javascript

24
New cards

a list of instructions to be executed by a computer

Computer Program

25
New cards

In programming language, these programming instructions are called

statements

26
New cards

a list of programming statements.

JavaScript program

27
New cards
  • Values

  • Operators

  • Expressions

  • Keywords

  • Comments

Javascript statements are composed of

28
New cards

ignores white spaces.

JavaScript

29
New cards

80 characters

Programmers avoid code lines longer than

30
New cards

break after an operator

JavaScript statement does not fit on one line

31
New cards

inside curly brackets {…}

JavaScript statements can be grouped in code blocks

32
New cards

a keyword

JavaScript script statements often start with

33
New cards

are values that can be processed and calculated

Numbers

34
New cards

are a series of letters and numbers enclosed in quotation marks.

Strings

35
New cards

lets you evaluate whether a condition meets or does not meet specified criteria

Boolean (true/false)

36
New cards

is an empty statement

Null