JS Flashcards
java script client side
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
java script server side
Node.js allows you to run JavaScript on the server.
what type of programming language is javascript?
functional (functions are first class)
what 3 paradigms does javascript support
declarative, OOP, functional
javascript works by sending to
browser then is run in a virtual machine VM
javascript allows for
interactive elements in the browser
avoid __ variables in JS
global
JS vs Java
JS
- weakly typed
- dynamically typed
- interpreted by browser
- functional programming language
- class based inheritance
Java
- strongly typed
OOP
prototype based inheritance
cookies are a way to
store info on the client side
cookies can store info between ___
pages on single site or between different visits to a page
how is cookies stored
in a text file on client, users can read
pages can only access cookies from
same domain
cookies store a ___
name value pair for each cookie
HTML for ___ and CSS for ___
structure
style
CSS
cascading style sheets
CSS controls
controls presentation of HTML content through syntax
CSS composed of
selectors, properties and values following specifications set by W3C
CSS can be applied
inline, internally or through external style sheet