Dynamic web pages with JavaScript
What are variables in JavaScript?
- Containers for storing data. Using
var let const or automatically
- Declare variables before use
What does it mean to declare a variable?
- It means to give the variable a name.
let x = 'brendan';
consolelog(x) console: “brendan”
What is an “assignment” operator, and what does it do?
- It assigns a value to a variable.
- Ex. =, +=, -=
My own notes
- Used on front-end and back-end
- Object Oriented
- you can use JS internally or externally
- able to use JS method to command in order to adjust user input to meet conditions (depending on where you place method will if it affects User Input or not)