How to Teach Yourself JavaScript

How to Teach Yourself JavaScript thumbnail
Sample JavaScript code.

JavaScript is a web programming language that allows you to manipulate websites in ways that simple Hyper Text Markup Language (HTML) code doesn't allow. With JavaScript, you can add enhanced functionality to a website, such as allowing users to choose different options or have advanced menus. To teach yourself JavaScript code, you must first have a solid understanding of the basics of HTML.

Instructions

    • 1

      Follow the link in Resources to the World Wide Web Consortium HTML tutorial page, or a similar resource for learning HTML. Read through the first few examples of how to create an HTML web page to gain an understanding of how a simple web page works.

    • 2

      Open a text document that does not use any special formatting, such as the Notepad program. Create your own simple web page using the <HTML>, <BODY> and <HEAD> tags described in the HTML tutorials. Save the file with the ".html" extension.

    • 3

      Change some of the HTML settings until you are comfortable with the basics of creating web pages. Navigate to the JavaScript tutorial website in Resources. Read through the first few pages and type the code examples into your text document so that you learn how to use JavaScript syntax.

    • 4

      Head to a bookstore and pick up a beginning JavaScript tutorial book, such as "Headfirst JavaScript" or "Learning JavaScript." Follow along with the book's lessons as you continue through the examples in the online tutorials. Type out the code in the book to familiarize yourself with creating JavaScript code.

    • 5

      Continue working with the online and book tutorials until you think of something you'd like to do with JavaScript that isn't covered in the examples. Navigate your browser to the JavaScript examples website in the Resources section.

    • 6

      Look through the various types of JavaScript examples and find JavaScript code you'd like to implement. Examine the code and compare it to the lessons you've learned in the tutorials. Try changing the code to modify its variables and figure out how the code works.

    • 7

      Put up your JavaScript code on your personal website and then view it from different web browsers to see how your complete code looks.

Tips & Warnings

  • If you don't already have a personal website, you can set one up using any number of free web hosting services, such as Yahoo! Geocities (see Resources).

Related Searches:

References

Resources

  • Photo Credit Stock Xchng http://www.sxc.hu/photo/58511

Comments

You May Also Like

  • How to Teach Yourself Guitar

    It's much easier to teach yourself guitar than many people think. You have to be consistent and put in the practice time,...

  • How to Teach Yourself Web Page Design

    Learning web page design is not out of reach for anyone with dedication and imagination. Hundreds of tutorial sites and pre-built programs...

  • How to Teach Yourself Visual C 6

    Visual C 6.0 is a version of the C programming language with added graphics capability and other advanced features. It was developed...

  • JavaScript Basics

    JavaScript Basics.If you are designing a Web page, you need to understand JavaScript to make it interactive. Learn the JavaScript basics from...

  • How to Teach Yourself to Play the Piano

    While mastering the piano can be a lifetime pursuit, teaching yourself how to play the piano may be easier than you think....

  • How to Teach Yourself Medical Coding

    Although certified medical coders are required to complete an accredited two- to four-year degree program, you can learn the basics of medical...

  • How to Use Len() in JavaScript

    Most programming languages have a "Len" function to determine the number of characters contained in a string variable. JavaScript does not have...

  • How to Learn Java Script for Free

    JavaScript is a computer scripting language used to add interactivity to Web pages. You can write scripts to validate form submissions, create...

  • Differences Between JavaScript & HTML

    Differences Between JavaScript & HTML. Hypertext markup language (HTML) is a language used to create Web pages. The HTML language is interpreted...

  • How to Round to the Nearest Tenth of a Percent

    Rounding numbers simplifies them and makes them easier to understand and conceptualize. When you round a number, you either leave the number...

  • How to Teach Children the Meaning of Thanksgiving

    Many countries throughout the world have a harvest festival of some kind. In North America, Thanksgiving is the most common autumn celebration,...

  • How to Build a Website Using Java

    Java is a powerful and versatile language that can be used to develop a variety of applications, including websites. This guide will...

  • How to Modify an HTML Text With JavaScript

    JavaScript describes a web page using a standard called the Document Object Model, or DOM. The DOM assigns every element on the...

  • How to Add Float With JavaScript

    Convert your value back into a floating point value using the built-in "parseFloat(string value)" method if you need to use it in...

  • JavaScript Tutorial and Reference

    JavaScript is a light programming language with many words and signs, tags, and operators (Remember your elementary math class? An equals sign...

  • How to Teach Yourself Arabic Script

    Learning how to write Arabic script involves learning how to read and comprehend some Arabic words. The Arabic language is largely phonetic....

  • How to Enable Javascript in Dreamweaver 8

    Dreamweaver 8 is a website creation and management application created by Macromedia. Developed for users of all skill levels, the program offers...

Related Ads

Featured