Update for 20-11-21 15:45
This commit is contained in:
parent
37b9df6ff9
commit
54b7b0d118
@ -3,12 +3,14 @@
|
|||||||
Javascript is probably the most popular language in existance. It is an
|
Javascript is probably the most popular language in existance. It is an
|
||||||
interpreted, typeless language
|
interpreted, typeless language
|
||||||
|
|
||||||
== Backend ==
|
== Backend, frameworks, and more ==
|
||||||
|
|
||||||
See [[Node.js.wiki]] for the core runtime of backend js (node)
|
See [[Node.js.wiki]] for the core runtime of backend js (node)
|
||||||
|
|
||||||
See [[../tech/express.js.wiki]]
|
See [[../tech/express.js.wiki]]
|
||||||
|
|
||||||
|
See [[jQuery]]
|
||||||
|
|
||||||
== Logging ==
|
== Logging ==
|
||||||
|
|
||||||
To log several objects as a single command, run
|
To log several objects as a single command, run
|
||||||
|
@ -13,6 +13,12 @@ is `node`.
|
|||||||
console.log("hello world")
|
console.log("hello world")
|
||||||
}}}
|
}}}
|
||||||
|
|
||||||
|
== Modules Available ==
|
||||||
|
|
||||||
|
All modules are included by using the `require('MODULE')` syntax
|
||||||
|
|
||||||
|
|
|
||||||
|
|
||||||
== Events ==
|
== Events ==
|
||||||
|
|
||||||
Events are times when certain things happen. We can do things on those events
|
Events are times when certain things happen. We can do things on those events
|
||||||
|
13
lang/jQuery.wiki
Normal file
13
lang/jQuery.wiki
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
= jQuery =
|
||||||
|
|
||||||
|
jQuery is the most popular and powerful javascript library around. To include
|
||||||
|
it, just include it via a script tag.
|
||||||
|
|
||||||
|
== Access elements in the DOM ==
|
||||||
|
|
||||||
|
To access something with the a class, ie the first element in the page with the
|
||||||
|
class 'food', this code would suffice
|
||||||
|
|
||||||
|
{{{
|
||||||
|
$('.food').first()
|
||||||
|
}}}
|
Loading…
Reference in New Issue
Block a user