HTML, CSS, and Bootstrap Flashcards

1
Q

What are the different forms of CSS?

A
  • External - In a separate file that is linked.
  • Internal - At the top of the document in style tags.
  • Inline - as an attribute on the elements themselves.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is DOM?

A
  • Document Object Model
  • Represents the HTML page structure as nodes and objects. That way, programming
    languages can connect to the page.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is Bootstrap?

A
  • A front-end, open source toolkit used to speed up development with HTML, CSS, and
    JavaScript.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is ASCII?

A
  • American Standard Code Information Interchange

- A character encoding standard for electric communication.

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

What is ANSI?

A
  • American National Standards Institute.

- Creates standards for the computer industry.

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

What is UTF-8?

A
  • Unicode Transformation Format

- 8 means it uses 8-bit blocks to represent a character

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

What tags would you use to create tables?

A
  • T - table tag
  • Tr - is table row
  • Th - is table head
  • Td - is table data (column data)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What tag would you use to create list?

A
Ordered list
- Ol
- li
Unordered list
- Ul
- li
Description list
- Dl
- Dt
- Dd
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What tag would you use to create forms?

A
  • Form tag creates a form
  • Input specifies the different form inputs
  • Button or input type=”button” can be used to submit.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What is AJAX

A
  • Stands for Asynchronous JavaScript and XML.
  • A new technique for creating better, faster, and more interactive web applications
    using XML, HTML, CSS, and JavaScript.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What is OBP?

A
  • Represents Object Based Programming.

- Basically, a superset of OOP.

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

What is DOM Manipulation?

A
  • The altering of the DOM while the application is running.
  • You can use this to add remove and change the way elements are laid out and how they
    look on the page.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What kind of compiler does JavaScript use/have?

A
  • JavaScript is interpreted not compiled
  • The script is interpreted by other applications like web-browsers or Node Packet
    Manager(npm).
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What is Prototypical Inheritance?

A
  • Each object has a private property which holds a link to another object called its
    prototype.
  • When you construct an object the prototype chain links all the way up to Object, the
    parent of everything in JavaScript to build the object.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Is JavaScript Pass-By-Value or Pass-By-Reference?

A
  • For primitives JavaScript is pass by value.
  • JavaScript also uses call by sharing for objects.
  • Call by sharing is similar to pass by reference in that the function is able to modify the
    same mutable object but unlike pass by reference isn’t able to assign directly over it.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What is Type Coercion?

A
  • Type coercion is a property of JavaScript to attempt to compare values of different
    types because it does not have strict types.
17
Q

What are the variable scopes in JavaScript?

A

Global, local, and block scope

18
Q

What is an anonymous function?

A
  • A function that is created at runtime.

- The function operator can be used anywhere that it is valid to use an expression.

19
Q

What is a self-invoking function?

A
  • A self-invoking function is started automatically without being called; this is done right
    after it is created.
  • This is used for avoiding naming conflict as well as for achieving encapsulation.
20
Q

What is Hoisting?

A
  • Hoisting in JavaScript is when the interpreter moves all variable and function
    declarations to the top of the current scope.
21
Q

What are the data types in JavaScript? (6)

A
  • String
  • Number
  • Boolean
  • Undefined
  • Arrays
  • Objects
  • Symbols
  • Function
22
Q

What is Bubbling?

A
  • Event bubbling is a form of event propagation.

- Event bubbling propagates events from children to parents.

23
Q

What is Capturing?

A
  • Capturing works the opposite of bubbling:
  • When an event is fired, and parent and children elements have handlers registered
    the parent’s handler fires first and then the event trickles down to the child.
24
Q

Are JS objects mutable or immutable?

A
  • In JavaScript, only objects and arrays are mutable.

- Primitives are immutable.

25
Q

What are the Ready States in HTTP?

A
  • 0: request not initialized
  • 1: server connection established
  • 2: request received
  • 3: processing request
  • 4: request finished, and response is ready
26
Q

What are the HTTP Methods?

A
  • GET - requests a representation of the specified resource. Get should only be used
    to get data.
  • HEAD - asks for a response identical to that of a GET request, but without the
    response body.
  • POST - used to submit an entity to the specified resource, often causing a change in
    state or side effects on the server.
  • PUT - replaces all current representations of the target resource with the request
    payload.
  • DELETE - deletes the specified resource.
  • CONNECT - establishes a tunnel to the server identified by the target resource.
  • OPTIONS - used to describe the communication options for the target resource.
  • TRACE - performs a message loop-back test along the path to the target resource.
  • PATCH - used to apply partial modifications to a resource.
27
Q

What are the HTTP Statuses?

A
  • 100 - info.
  • 200 - success.
  • 300 - redirect.
  • 400 - bad request.
  • 500 - server error.
28
Q

What is a Callback Function?

A
  • A callback function is a function placed into a parameter of another function to make
    sure that certain steps are done when that function ends.