xlab-classes / cse442-spring2022-team-niubility

cse442-spring2022-team-niubility created by GitHub Classroom
0 stars 0 forks source link

JavaScript video #10

Open SteveLiGt opened 2 years ago

SteveLiGt commented 2 years ago

https://www.youtube.com/watch?v=W6NZfCO5SIk

SteveLiGt commented 2 years ago

next up video https://www.youtube.com/watch?v=hdI2bqOjy3c

SteveLiGt commented 2 years ago

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

};
SteveLiGt commented 2 years ago

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

SteveLiGt commented 2 years ago

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
SteveLiGt commented 2 years ago

https://www.coursera.org/learn/html/lecture/Ilm91/01-01-welcome-to-introduction-to-html5