www.pickatutorial.com Computer Tutorials
Top eBooks: C/C++ | C# | Android | Mathematics | Database | Cloud | Graphics | Networking | Oracle | Hardware | AI
Top Tutorials: C/C++ | C#.NET | PHP MySQL | Java | Java Script | jQuery | HTML | xHTML | HTML5 | VB Script| CSS
Lessons JavaScript: Writing Good Code Bookmark and Share
Tutorial Home
Lesson 1
Lesson 2
Lesson 3
Lesson 4
Lesson 5
Lesson 6
Lesson 7
Lesson 8
Lesson 9
Lesson 10
Lesson 11
Lesson 12
Lesson 13
Lesson 14
Lesson 15
Lesson 16
Lesson 17
Lesson 18
Lesson 19
Lesson 20
Lesson 21
Lesson 22
Lesson 23
Lesson 24
Lesson 25
Lesson 26
Lesson 27
Lesson 28
Lesson 29
Lesson 30
Lesson 31
Lesson 32
Lesson 33
Lesson 34
Lesson 35
Lesson 36
Lesson 37
Lesson 38
Lesson 39
Lesson 40
Lesson 41
Lesson 42
Lesson 43
Lesson 44
Lesson 45
Lesson 46
Lesson 47
Lesson 48
Lesson 49
This is the final lesson of the tutorial and in this final lesson of the tutorial we will learn how we can write some error free JavaScript code.

Writing just code is not enough, writing good code should be our aim. In this writing good code means an easy to maintain and readable code.
  • Always remember that JavaScript is a case sensitive programming language i.e. var and Var are not the same.

  • JavaScript ignores extra spaces between the code, so use plenty of them to make your code more readable.

  • Use lots of comments in your code. Single line comment can be added as follows:
    // this is a single line comments example
    Multi-line comment block can be added as follows:

    /* This is an example of multi-line comment block
    it spans multiple line
    the comment block ends here */

  • Use meaningful names for your variables and functions.

Our beginners' JavaScript Programming Tutorial ends here. How did you find it? Please let us know at pickatutorial@yahoo.com

More JavaScript Programming Tutorials





Home - Advertise - Contact - Disclaimer - About Us
© Since 2006 pickatutorial.com -- All Rights Reserved.