Skip to content

Latest commit

 

History

History
23 lines (12 loc) · 594 Bytes

File metadata and controls

23 lines (12 loc) · 594 Bytes

JavaScript make websites more interactive by accessing and modifying the contents. HTML is an element consist of the opening and closing tags, plus it's contents. CSS uses rules to indicate how the contents should be displayed, each rule has selector and declaration block.

There are many steps to write Script:

  • Define the goal

  • Design the script

  • Code each step

Some codes on JavaScript :

var color = 'beige'; : the value of color is now beige

var area = 3*2; :the value of area is now 6

JavaScript contains mathematical operates such as:

*addition +

*subtraction -

*division /