/    Sign up×
Community /Pin to ProfileBookmark

need a comprehensive JS tutorial

Ok. After reading the w3school sites javascript section, til my eyes start bleeding I have realized that it does not help me in learning javascript. The thing is that it just throws alot of stuff at me, like “Here is a … LOOP!”, “it looks like … THIS!” and thats it, it doesn’t explain the syntax, or give examples of usefull uses.

I kinda feel that it doesn’t really help me, when all they give me is:

function somefunction (X, n, aogiag,)
etc etc.

I kinda feel like knowing why they suddenly have the X, n and the aogiag in the previously empty paranteses.

This kindof feels like trying to learn a new language and your teacher will only tell you 50% of the words in the language, and on top of that refuses to tell you the syntax, so when you try to talk it becomes “Go I will to up on mountain”.

So I feel that what I need is a comprehensive javascript tutorial that explains everything down to why there is commas and and semicolons in the damn thing.
I have googled for js tutorials but I have not found any that meets my requirements.

I would have bought books, but I earn like 900$ a month (full time job ๐Ÿ˜ฎ ), so thats not a option.

to post a comment
JavaScript

8 Comments(s) โ†ด

Copy linkTweet thisAlerts:
@El-WrongoauthorFeb 12.2007 โ€”ย thank you, I will check it out.
Copy linkTweet thisAlerts:
@KorFeb 12.2007 โ€”ย I have noticed that almost all the tutorials skip the stage of the language analysis, thus the beginners are confused about the meaning and the purpose of that language.

Maybe this short presentation will help you:

For javascript, a document is made of [B]elements[/B] (tags, text, comments...). Elements have [B]attributes[/B], attributes have [B]values[/B].

Javascript is a language which can [I]create/change/remove[/I] all these. The change is "virtual", that means javascript can not really write something on the document (or on any other file) but on a local machine and the changes disappear the moment session is changed, which makes javascript a [I]client-side[/I] language.

To do that, javascript uses [B]objects, methods[/B] (and a specific syntax, quite alike C++) nested in [B]functions[/B]. Functions may carry [B]arguments[/B]. Functions are "triggered" by [B]events[/B], following a specific user's [B]action[/B]. Functions can be also called one within each other.

Javascript is an Object Oriented language. It has native objects (not so many) and it can create new objects (and new properties/values for those new objects). Javascript has no [I]classes[/I], it is [I]prototype oriented[/I].

This is a short presentation of javascript, as I understand it so far.
Copy linkTweet thisAlerts:
@El-WrongoauthorFeb 12.2007 โ€”ย I am afraid I know the meaning and purpose of the language.

I also understand alot of the basic fundamentals (but not enough really).

My main problem is understanding how to manipulate the code. All I get from the w3school, and similiar sites is: "this code will do this, but we won't tell you what the individual parts of the code does".

I want to able to write code from scratch, and that means that I need to be able to understand the basics.

The site I got from to the JS site seems good btw.
Copy linkTweet thisAlerts:
@KorFeb 12.2007 โ€”ย I am afraid I know the meaning and purpose of the language.

I also understand alot of the basic fundamentals (but not enough really).

My main problem is understanding how to manipulate the code. All I get from the w3school, and similiar sites is: "this code will do this, but we won't tell you what the individual parts of the code does".

I want to able to write code from scratch, and that means that I need to be able to understand the basics.

The site I got from to the JS site seems good btw.[/QUOTE]


Feel free to show us an example of what you don't understand, please. Understanding of a language means by all means practice.
Copy linkTweet thisAlerts:
@pcx99Feb 12.2007 โ€”ย Feel free to show us an example of what you don't understand, please. Understanding of a language means by all means practice.[/QUOTE]

And "view source" :p
Copy linkTweet thisAlerts:
@LeeUFeb 13.2007 โ€”ย You might try a basic tutorial that I wrote. I still have additional installments but there are 15 at this point.
Copy linkTweet thisAlerts:
@El-WrongoauthorFeb 14.2007 โ€”ย I have already read some of it, and it helped me get a better understanding of JS, specially on operators.

The thing I have discovered latly is that the more sources I can find, and read the better I understand everything.

So thank you all and keep good guides, tutorials and references coming.

PS: Could it be a idea to have a forum or a stickied thread where people could collect the various guides, tutorials and references, because I have seen a few threads on the topic, and it would make it much easier for beginners and others to find learning material.
ร—

Success!

Help @El-Wrongo spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 โ€” BETA 5.18,
whats_new: community page,
up_next: more Davinciโ€ข003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinciโ€ข003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...