Open SteveLiGt opened 2 years ago
next up video https://www.youtube.com/watch?v=hdI2bqOjy3c
use javascpit
Javascipt is a dynamic prorgaming languege
install vs code with " live server"
initialize a html file
=> console.log ( 'hello, world'); => // for comment => javascpit located in " script" section => Javascipt is a dynamic prorgaming languege => type can be changed. => no INT or Float ------number type => object ( reference type) => the ARRAY length can change like let array = [1,2] array[2] = 'as' ( no error, and doesn't have to be same type ) ex. let person = { name: 'steve' age : 30
};
Found some course online for web development. https://www.coursera.org/learn/html-css-javascript-for-web-developers
https://www.coursera.org/learn/building-interactive-web-pages-using-javascript
javascript - multi paradigm
run on client/brower ( Node.js)
JavaScript DOM crash course ( 6:05 min)
get function call and prototype ( 1:09:00)
1:11:50 ( use html to create the page)
use QuerySelector ( to modify the page)
1. change font
2. change text
3. change color
=> can change user interface
1:31:05
use 'const *** = document.querySelector()();
to store the content from page
addeventlister -> "submit"
function onsumbit ( function)
use 'console.log' to display text
To be able to save data
=> database
=> also, we could store data in the user's brower
https://www.youtube.com/watch?v=W6NZfCO5SIk