npm install
npm start
- Dom --> Data
Change the value of input in browser and see how data changes on console.
- Data --> Dom
On the console, get data
and change it's value, DOM will change accordingly.
data.value = 'hello world'
- DOM --> Data
listener
data.value = input.value
- Data --> DOM
listener
input.value = data.value
-
Data --> Multiple DOM &
-
Data --> TodoList
div --> ul > li
object --> array of object