Tools for learning JavaScript [translate]

Source: Internet
Author: User
Tags script tag

This article translates the JavaScript Tutorial playlist of up master Kudvenkat on YouTube

SOURCE Address here:

https://www.youtube.com/watch?v=PMsVM7rjupU&list=PL6n9fhu94yhUA99nOsJkKXBqokT3MBK0b

In this video we will discuss:

1. Tools for learning JavaScript

2. Websites that help write and test JavaScript

3. Use Visual Studio to learn the benefits of JavaScript

Tools to learn JavaScript

To learn JavaScript you need a text editor like Notepad and a browser . You can use any browser, Chrome, ie or Firefox

Here are the steps to use Notepad to write and test your first JavaScript program

1. Open a Notepad

2. Copy and paste the following HTML and JavaScript into Notepad

[HTML]  [Head]  [/head]  [body]    [h1]javascript training[/H1]     [script type="text/ JavaScript"]      alert ("Welcome to JavaScript Tutorial" );    [/script]  [/body][/html]

Note: JavaScript must be included in the <script> element, and the type attribute indicates that the script is of a JavaScript type. If the Type property is the default state, Then the script will be treated as a JavaScript script. In the script tag, we have a single-line JavaScript code that pops up a warning window containing the message "Welcome to Javascript Tutorial". Alert ( ) is a JavaScript function. We will discuss JavaScript functions in a future video. The JavaScript statement ends with a semicolon (;). Ending with a semicolon is not mandatory, but to avoid ambiguity, This is the best way to end it. The above JavaScript code can cancel the semicolon and still work properly.

3. Save the Notepad, using the. htm or. html suffix

4. Open your favorite browser. Under the File menu, select Open and navigate to the address where you saved the Notepad file. A warning window pops up and displays the message "Welcome to JavaScript Tutorial".

Web site to help write and test Javascrip: http://jsbin.com. This site also provides IntelliSense and AutoFill features. Use only the input variable or part of the function name and press TAB to automatically fill in the rest

The benefits of using Visual Studio to learn JavaScript

The benefit of Visual studio compared to Notepad is that it provides auto-fill and IntelliSense functionality, which reduces clerical errors and increases efficiency. He also provides rich debugging JavaScript functionality support.

Tools for learning JavaScript [translate]

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.