Documente Academic
Documente Profesional
Documente Cultură
Dacă elementul doctype lipsește, este o eroare, chiar dacă documentul poate fi
încă afișat corect.
Local Storage
Has no expiration date
Client only
Has no SSL support
Data are not transferred on each HTTP request
5 mb limit (check with the browser)
Session Storage
Data is gone when you close the browser tab
Client only
Has no SSL support
Data are not transferred on each HTTP request
5-10 mb limit (check with the browser)
o One quick way to figure out how “powerful” a CSS rule is, is by measuring the
specificty of the selectors:
o #id selectors are worth 100
o .class selectors are worth 10
o tag selectors are worth 1
Closure in js
o O inner function are acces la variabilele functiei outer, si la scope-
ul ei
o a JavaScript prototype is a place that stores properties and methods for other
objects. Said differently, JavaScript objects inherit their properties and
methods from their prototype.
Here are some of the common JavaScript events:
change:: An HTML element has been changed
click:: The user clicks an HTML element
mouseover:: The user moves the mouse over an HTML element
mouseout:: The user moves the mouse away from an HTML element
keydown:: The user pushes a keyboard key
load:: The browser has finished loading the page