JavaScript Basic: What is JavaScript?

Hey there, Grasshoppers. In this topic, you’re going to learn about JavaScript. JavaScript is a scripting language and it’s the most popular language besides HTML and CSS.

JavaScript (shortname is JS) is a scripting language that is used on HTML. In HTML, to make JavaScript code, you will type the script tag, with type attribute as text/javascript. For example:

<!DOCTYPE html>
<html>
    <head>
        <title>What is JavaScript?</title>
    </head>
    <body>
        <script type="text/javascript">
            <!-- JS codes goes here. -->
    </body>
</html>

Alternatively, you can create a JavaScript file by typing a name and the .js file format.

There are many apps that teaches you JavaScript, like SoloLearn, Mimo (getmimo) and others but I recommended Grasshopper since it’s the best app to learn JavaScript.

For example:

// put your JS code here.

Read more on this wikipedia topic to learn more about JavaScript.

Thanks!
P :slightly_smiling_face:

Hey there. I flagged your post because your post looks not polite to me. Grasshopper Support Forum do not allow inapprociate posts here.

P :slightly_smiling_face:

Remember: Your post looks inapprociate to me so I have flagged your post.