JavaScript Programming Fundamentals

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

1/26

flashcard set

Earn XP

Description and Tags

These flashcards cover fundamental concepts, advantages, and operators of the JavaScript programming language, along with its history and application in web development.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

27 Terms

1
New cards

JavaScript

A high-level, dynamic, untyped, and interpreted programming language.

2
New cards

Prototype-based language

A type of programming language where inheritance is accomplished through a prototype rather than classes.

3
New cards

Reduced server interaction

Allows validation of user input before sending it to the server, minimizing unnecessary requests.

4
New cards

Immediate feedback

Allows users to see if they made input errors without a page reload.

5
New cards

Client-side JavaScript

JavaScript that runs in a user's browser and cannot read or write files for security reasons.

6
New cards

Brendan Eich

The creator of JavaScript, who developed it in May 1995.

7
New cards

DOM

Document Object Model, the interface that browsers provide for manipulating HTML and XML documents with JavaScript.

8
New cards

Variable declaration

The process of creating a variable, typically using keywords like var, let, or const in JavaScript.

9
New cards

Arithmetic Operators

Operators that perform mathematical calculations such as addition, subtraction, multiplication, and division.

10
New cards

Data Types in JavaScript

Categories of values including Numeric, String, and Boolean.

11
New cards

Comparison Operators

Operators that compare values, returning a boolean result based on the comparison.

12
New cards

Logical Operators

Operators that combine boolean values or expressions, such as AND, OR, and NOT.

13
New cards

Assignment Operator

An operator used to assign a value to a variable.

14
New cards

Inline JavaScript

JavaScript code written directly within HTML elements as event handlers.

15
New cards

External JavaScript file

A separate JavaScript file that can be linked to an HTML document using the

16
New cards

Valid Variable Name

A name for a variable that follows JavaScript naming conventions.

17
New cards

let keyword

Used for declaring variables that are block-scoped and can be reassigned.

18
New cards

const keyword

Used for declaring variables that are block-scoped and cannot be reassigned once initialized.

19
New cards

var keyword

Used for declaring variables that are function-scoped or globally-scoped, and can be reassigned.

20
New cards

Scope in JavaScript

Determines the accessibility of variables, functions, and objects in different parts of your code.

21
New cards

JavaScript Functions

Blocks of code designed to perform a particular task, which can be defined once and executed multiple times.

22
New cards

JavaScript Comments

Used to explain code and make it more readable, ignored by the JavaScript engine. Can be single-line (//) or multi-line (/* */).

23
New cards

What is JavaScript Event Handling?

A mechanism that allows JavaScript to respond to user actions (e.g., clicks, key presses) or browser events (e.g., page load).

24
New cards

What are JavaScript Conditional Statements?

Statements that execute different actions based on different conditions, primarily using if, else if, and else constructs.

25
New cards

What are JavaScript Loops?

Control structures that repeatedly execute a block of code as long as a specified condition is true, including for, while, and do…while loops.

26
New cards

What is a JavaScript Array?

A single variable used to store multiple values, typically an ordered collection of elements, accessed by an index.

27
New cards

What is a JavaScript Object?

A non-primitive data type that stores properties as key-value pairs, where values can be primitive types, functions, or even other objects.