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]