web dev part 2 course 1 Flashcards

(26 cards)

1
Q

no script tag

A

used when browser doesnt support script tag

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

self executing function

A

(function(){})()

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

which standard is dom

A

W3C (World Wide Web Consortium) standard.

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

what is dom

A

“The W3C Document Object Model (DOM) is a platform and language-neutral interface that allows programs and scripts to dynamically access and update the content, structure, and style of a document.”

The W3C DOM standard is separated into 3 different parts:

Core DOM - standard model for all document types
XML DOM - standard model for XML documents
HTML DOM - standard model for HTML documents

The document object model is the programming interface between HTML or XHTML and JavaScript. The Document Object Model (DOM) is a browser-based interface for applications and scripts to dynamically access and update the content, structure, and style of documents

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

how many dom levels are there

A

5-> 0 to 4

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

Dom model browser include

A

window,screen,document(html..),navigator,location,history

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

how to add script-generated HTML to the document.

A

document.write() function

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

convert num to string

A

var a=10;
console.log(a.toString())
S in caps

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

var total = 10 + 1 +” 3”;

A

113

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

var a = new String(“Hello”);

var b = “Hello”; 
same or not ?
A

no a is object b is string

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

on change and on save are eventbinders?

A

onsave is not

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

git and github difference

A

Git is a version control system that lets you manage and keep track of your source code history. GitHub is a cloud-based hosting service that lets you manage Git repositories.

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

SSH protocol full form

A

Secure Shell Protocol

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

what is SSH?

A

The SSH protocol is a method for secure remote login from one computer to another.

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

what is a fork

A

A fork is a copy of a repository

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

what is pull request

A

A pull request is the way you request that someone reviews and approves your changes before they become final

17
Q

git init

A

When starting out with a new repository, you only need to create it once: either locally, and then push to GitHub, or by cloning an existing repository by using the command “git init”.

18
Q

git add

A

“git add” moves changes from the working directory to the staging area.

19
Q

working directory

A

A working directory contains the files and subdirectories on your computer that are associated with a Git repository

20
Q

git status

A

“git status” allows you to see the state of your working directory and the staged snapshot of your changes

21
Q

git commit

A

“git commit” takes your staged snapshot of changes and commits them to the project

22
Q

git reset

A

“git reset” undoes changes that you’ve made to the files in your working directory.

23
Q

git log

A

“git log” enables you to browse previous changes to a project

24
Q

git branch

A

“git branch” lets you create an isolated environment within your repository to make changes

25
git checkout
git checkout" lets you see and change existing branches
26
git put
"git merge" lets you put everything back together again