web dev part 2 course 1 Flashcards
no script tag
used when browser doesnt support script tag
self executing function
(function(){})()
which standard is dom
W3C (World Wide Web Consortium) standard.
what is dom
“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 many dom levels are there
5-> 0 to 4
Dom model browser include
window,screen,document(html..),navigator,location,history
how to add script-generated HTML to the document.
document.write() function
convert num to string
var a=10;
console.log(a.toString())
S in caps
var total = 10 + 1 +” 3”;
113
var a = new String(“Hello”);
var b = “Hello”; same or not ?
no a is object b is string
on change and on save are eventbinders?
onsave is not
git and github difference
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.
SSH protocol full form
Secure Shell Protocol
what is SSH?
The SSH protocol is a method for secure remote login from one computer to another.
what is a fork
A fork is a copy of a repository