JS Flashcards

1
Q

java script client side

A

Manipulating the DOM (Document Object Model)

Handling user interactions (clicks, form submissions, etc.)

Making asynchronous requests to the server using technologies like AJAX or Fetch API

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

java script server side

A

Node.js allows you to run JavaScript on the server.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

what type of programming language is javascript?

A

functional (functions are first class)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

what 3 paradigms does javascript support

A

declarative, OOP, functional

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

javascript works by sending to

A

browser then is run in a virtual machine VM

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

javascript allows for

A

interactive elements in the browser

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

avoid __ variables in JS

A

global

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

JS vs Java

A

JS
- weakly typed
- dynamically typed
- interpreted by browser
- functional programming language
- class based inheritance

Java
- strongly typed
OOP
prototype based inheritance

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

cookies are a way to

A

store info on the client side

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

cookies can store info between ___

A

pages on single site or between different visits to a page

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

how is cookies stored

A

in a text file on client, users can read

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

pages can only access cookies from

A

same domain

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

cookies store a ___

A

name value pair for each cookie

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

HTML for ___ and CSS for ___

A

structure
style

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

CSS

A

cascading style sheets

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

CSS controls

A

controls presentation of HTML content through syntax

17
Q

CSS composed of

A

selectors, properties and values following specifications set by W3C

18
Q

CSS can be applied

A

inline, internally or through external style sheet