make an Interactive Website 3 JavaScript

2014. 8. 22. 17:09EXPERIENCE/WEB | ETC

반응형

JavaScript

In order to make interactive web pages with jQuery, it's useful to know a few things about JavaScript.

JavaScript is a programming language that jQuery is written in, and knowing JavaScript will be helpful for understanding and writing your code.

The next cards will cover a few fundamental JavaScript concepts.


Variables

Variables store data so that they can be used later on in the program.  The keyword var creates a new variable namedcounterThe value 140 is stored in counterThe statement ends with a semicolon to tell the computer that the statement has ended.

Strings


Comparisons

It's possible to compare variables using comparisons.

  • > - Greater than

  • < - Less than

  • >= Greater than or equal to

  • <= Less than or equal to

  • === Equal to score1 === score2;

  • !== Not equal to


Functions

A function is run by calling its name and giving it input values.












반응형

'EXPERIENCE > WEB | ETC' 카테고리의 다른 글

make an Interactive Website 4 Event  (0) 2014.08.22
make an Interactive Website 2 Jquery coding  (0) 2014.08.22
make an Interactive Website 1  (0) 2014.08.21
make website 3 coding  (0) 2014.08.21
make web site 2 bootstrap  (0) 2014.08.21