SitePoint Sponsor

User Tag List

Page 1 of 2 12 LastLast
Results 1 to 25 of 32
  1. #1
    Non-Member
    Join Date
    May 2012
    Posts
    14
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    What is the fastest way to learn javascript

    What is the fastest way to learn javascript ?

    I watched some videos from tuts plus, but can't understand how to code from scrach. Can you suggest any books.

  2. #2
    Gre aus'm Pott gold trophysilver trophybronze trophy
    Pullo's Avatar
    Join Date
    Jun 2007
    Location
    Germany
    Posts
    5,941
    Mentioned
    215 Post(s)
    Tagged
    12 Thread(s)

  3. #3
    Community Advisor bronze trophy
    fretburner's Avatar
    Join Date
    Apr 2013
    Location
    Brazil
    Posts
    1,411
    Mentioned
    45 Post(s)
    Tagged
    12 Thread(s)
    Eloquent JavaScript is a great, free online book that teaches JavaScript from the basics. It has some interactive exercises that let you try things out as you learn. There's also the JavaScript course at Codecademy, which teaches the basics and is good if you like to learn by doing.

  4. #4
    Unobtrusively zen silver trophybronze trophy
    paul_wilkins's Avatar
    Join Date
    Jan 2007
    Location
    Christchurch, New Zealand
    Posts
    14,714
    Mentioned
    102 Post(s)
    Tagged
    4 Thread(s)
    For learning, I reckon that the Head First series of books make it easy to pick up what you need to know.
    Head First JavaScript

    We also have a thread here specifically about which books to read, where you can find a good shortlist of books to read too, along with other useful advice too.
    Last edited by paul_wilkins; Jul 26, 2013 at 15:16. Reason: fix shortlist of books link
    Programming Group Advisor
    Reference: JavaScript, Quirksmode Validate: HTML Validation, JSLint
    Car is to Carpet as Java is to JavaScript

  5. #5
    Patience... bronze trophy solidcodes's Avatar
    Join Date
    Jul 2006
    Location
    Philippines
    Posts
    936
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    There is no fastest way, You need to love JavaScript first.
    Once you are fall in love with it, the rest are easy.
    Quality codes are optimized and tested...
    Click here for inspiration..

  6. #6
    Programming Since 1978 silver trophybronze trophy felgall's Avatar
    Join Date
    Sep 2005
    Location
    Sydney, NSW, Australia
    Posts
    16,833
    Mentioned
    25 Post(s)
    Tagged
    1 Thread(s)
    The thing to avoid is all the web sites, books and college classes that teach history of JavaScript - the way that it used to be written for Netscape 4 and earlier.

    If the material makes reference to any of: document.write, document.all, document.layers, alert (other than for debugging), confirm, or prompt then move on because that resource is extremely out of date.

    Modern JavaScript is (with few exceptions) attached to the bottom of the page just before the </body> tag. All variables will be declared at the top of each function with the entire script wrapped in an anonymous function to ensure that it doesn't clash with any other scripts that might get added to the same page. Whichever resource that you use to start with may not show all the JavaScript that way to start with but it should have covered how to code that way by the time you get to the point where you are able to write useful scripts to use on live web pages.
    Stephen J Chapman

    javascriptexample.net, Book Reviews, follow me on Twitter
    HTML Help, CSS Help, JavaScript Help, PHP/mySQL Help, blog
    <input name="html5" type="text" required pattern="^$">

  7. #7
    It's all Geek to me silver trophybronze trophy
    ralph.m's Avatar
    Join Date
    Mar 2009
    Location
    Melbourne, AU
    Posts
    24,207
    Mentioned
    456 Post(s)
    Tagged
    8 Thread(s)
    All variables will be declared at the top of each function with the entire script wrapped in an anonymous function to ensure that it doesn't clash with any other scripts that might get added to the same page. Whichever resource that you use to start with may not show all the JavaScript that way to start with but it should have covered how to code that way by the time you get to the point where you are able to write useful scripts to use on live web pages.
    Felgall, do you have a page on your site that gives a demo of all those bits together?

  8. #8
    Unobtrusively zen silver trophybronze trophy
    paul_wilkins's Avatar
    Join Date
    Jan 2007
    Location
    Christchurch, New Zealand
    Posts
    14,714
    Mentioned
    102 Post(s)
    Tagged
    4 Thread(s)
    Quote Originally Posted by ralph.m View Post
    Felgall, do you have a page on your site that gives a demo of all those bits together?
    If you like, here's a basic template for the module pattern.

    Code javascript:
    var MODULE = (function () {
        var my = {},
            privateVariable = 1;
     
        function privateMethod() {
            // ...
        }
     
        my.moduleProperty = 1;
        my.moduleMethod = function () {
            // ...
        };
     
        return my;
    }());

    It may also not be assigned to a global variable, if you don't want to directly access things from it later on.
    Programming Group Advisor
    Reference: JavaScript, Quirksmode Validate: HTML Validation, JSLint
    Car is to Carpet as Java is to JavaScript

  9. #9
    Programming Since 1978 silver trophybronze trophy felgall's Avatar
    Join Date
    Sep 2005
    Location
    Sydney, NSW, Australia
    Posts
    16,833
    Mentioned
    25 Post(s)
    Tagged
    1 Thread(s)
    Quote Originally Posted by ralph.m View Post
    Felgall, do you have a page on your site that gives a demo of all those bits together?
    http://javascriptexample.net/basics90.php
    Stephen J Chapman

    javascriptexample.net, Book Reviews, follow me on Twitter
    HTML Help, CSS Help, JavaScript Help, PHP/mySQL Help, blog
    <input name="html5" type="text" required pattern="^$">

  10. #10
    It's all Geek to me silver trophybronze trophy
    ralph.m's Avatar
    Join Date
    Mar 2009
    Location
    Melbourne, AU
    Posts
    24,207
    Mentioned
    456 Post(s)
    Tagged
    8 Thread(s)
    Brilliant. Thanks For the examples, guys.

  11. #11
    Patience... bronze trophy solidcodes's Avatar
    Join Date
    Jul 2006
    Location
    Philippines
    Posts
    936
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    @felgall ;

    Thanks for sharing dude.
    I will re-view that.
    Quality codes are optimized and tested...
    Click here for inspiration..

  12. #12
    Patience... bronze trophy solidcodes's Avatar
    Join Date
    Jul 2006
    Location
    Philippines
    Posts
    936
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    By the way what's the difference between the two below,

    http://javascriptexample.net/

    versus

    https://developer.mozilla.org/en-US/...vaScript/Guide

    ?
    Quality codes are optimized and tested...
    Click here for inspiration..

  13. #13
    It's all Geek to me silver trophybronze trophy
    ralph.m's Avatar
    Join Date
    Mar 2009
    Location
    Melbourne, AU
    Posts
    24,207
    Mentioned
    456 Post(s)
    Tagged
    8 Thread(s)
    What to you mean by What's the difference? They are two different sites. What more is there to say? MDN is a major company site, and the other is felgall's personal site.

  14. #14
    Patience... bronze trophy solidcodes's Avatar
    Join Date
    Jul 2006
    Location
    Philippines
    Posts
    936
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    @ralph.m ;
    wow, that's nice to know.
    So that is his site. cool...
    I will try to read his site.
    Quality codes are optimized and tested...
    Click here for inspiration..

  15. #15
    It's all Geek to me silver trophybronze trophy
    ralph.m's Avatar
    Join Date
    Mar 2009
    Location
    Melbourne, AU
    Posts
    24,207
    Mentioned
    456 Post(s)
    Tagged
    8 Thread(s)
    Yes, although I'm pretty slow to understand JS, I do appreciate the efforts of people like felgall to help me out.

  16. #16
    Avid Logophile silver trophy
    ParkinT's Avatar
    Join Date
    May 2006
    Location
    Central Florida
    Posts
    2,337
    Mentioned
    192 Post(s)
    Tagged
    4 Thread(s)
    The best way to learn anything is to start DOING it. { That is how I mastered Brain Surgery!!}
    As you struggle and stumble with Javascript you can ask for help on Sitepoint. Those difficulties you overcome become the best learned lessons and the foundation of your knowledge.

    I would like to also inject into the "side discussion" this great resource I just discovered! A neat tutorial paired with a 'playground' to test, experiment, try and learn.
    Don't be yourself. Be someone a little nicer. -Mignon McLaughlin, journalist and author (1913-1983)


    Git is for EVERYONE
    Literally, the best app for readers.
    Make Your P@ssw0rd Secure
    Leveraging SubDomains

  17. #17
    SitePoint Member
    Join Date
    Apr 2013
    Location
    dhaka
    Posts
    8
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I thinks no faster way.First you love java script.You can success.see many video uses youtube.Go torrent site and download many more video.

  18. #18
    Programming Since 1978 silver trophybronze trophy felgall's Avatar
    Join Date
    Sep 2005
    Location
    Sydney, NSW, Australia
    Posts
    16,833
    Mentioned
    25 Post(s)
    Tagged
    1 Thread(s)
    Quote Originally Posted by ralph.m View Post
    What to you mean by What's the difference? They are two different sites. What more is there to say? MDN is a major company site, and the other is felgall's personal site.
    The difference that led to my creating javascriptexample.net is that the mozilla site is basically a reference while my site is my fourth attempt at writing a series of tutorials to teach JavaScript to beginners (the first three versions appeared on javascript.about.com during the seven years that I was writing about JavaScript for them - the New York Times owned about.com for most of the time I wrote for them so the fourth version of my tutorials is the first not on a site owned by a well known company).
    Stephen J Chapman

    javascriptexample.net, Book Reviews, follow me on Twitter
    HTML Help, CSS Help, JavaScript Help, PHP/mySQL Help, blog
    <input name="html5" type="text" required pattern="^$">

  19. #19
    SitePoint Member
    Join Date
    Feb 2013
    Location
    Australia
    Posts
    10
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    I personally found the JavaScript track at Codecademy incredibly helpful (and it's free which is nice too).

    Learnable has a bunch of resources on Javascript too. Including:
    Simply Javascript (eBook)
    JavaScript Programming For The Web (Course)
    The Art & Science of JavaScript (eBook)
    Jump Start JavaScript (eBook)

    I must admit I haven't yet had a chance to read the Jump Start JavaScript book yet (though it's sitting on my Kindle). But the 'Jump Start' titles are based around the idea that you can learn basic skills and get up to speed with a given topic over a weekend, so it's probably a good starting point.

  20. #20
    SitePoint Member
    Join Date
    Jul 2013
    Posts
    1
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    how to learn java scripts

    The best option to learn java is to read different books you can download free ebook from bookchums

  21. #21
    Programming Since 1978 silver trophybronze trophy felgall's Avatar
    Join Date
    Sep 2005
    Location
    Sydney, NSW, Australia
    Posts
    16,833
    Mentioned
    25 Post(s)
    Tagged
    1 Thread(s)
    If you are after a book to use to learn JavaScript then you will want one published since 2011 as that was when the latest version of JavaScript was released and while the older version still works there are advantages to the new version.
    Stephen J Chapman

    javascriptexample.net, Book Reviews, follow me on Twitter
    HTML Help, CSS Help, JavaScript Help, PHP/mySQL Help, blog
    <input name="html5" type="text" required pattern="^$">

  22. #22
    SitePoint Mentor silver trophybronze trophy

    Join Date
    Feb 2008
    Location
    Preston, Lancashire
    Posts
    1,378
    Mentioned
    72 Post(s)
    Tagged
    1 Thread(s)
    You can't beat learning by practice, but I recommend interactive learning via codeacademy.com and codeavengers.com.

    Happy learning!
    follow me on ayyelo, Easy WordPress; specializing in setting up themes!

  23. #23
    SitePoint Zealot 8Observer8's Avatar
    Join Date
    Jul 2013
    Location
    Russia
    Posts
    105
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

  24. #24
    SitePoint Member johnlarase's Avatar
    Join Date
    May 2013
    Location
    Somewhere in Asia
    Posts
    16
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by solidcodes View Post
    There is no fastest way, You need to love JavaScript first.
    Once you are fall in love with it, the rest are easy.
    I agree with this. That's how I've learned C/C++.

  25. #25
    SitePoint Member
    Join Date
    Jul 2013
    Posts
    2
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by codeweaver View Post
    What is the fastest way to learn javascript ?

    I watched some videos from tuts plus, but can't understand how to code from scrach. Can you suggest any books.
    You will learn some basic books in java scripts and then watch the video.You could get some idea.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •