DEV Community

hema latha
hema latha

Posted on

Java script introduction

Javascript:
--> JavaScript is the world's most popular programming language.

JavaScript

--> JavaScript is the programming language of the Web.

--> JavaScript is easy to learn.

--> Dynamically typed programming language.

--> JavaScript is a cross-platform, object-oriented programming language used by developers to make web pages interactive.

Image description

Why should we Study JavaScript?

--> JavaScript is one of the 3 languages all web developers must learn:

HTML to define the content of web pages (Structure)

CSS to specify the layout of web pages (style)

JavaScript to program the behavior of web pages (Functionality)

--> JavaScript is supported by almost all browsers.

Refer:https://www.w3schools.com/js/

Javascript is used in:

Web Development
Frontend and Backend Development
Game Development
Desktop Applications
Real-Time Applications
AI and Machine Learning

How to use javascript?

a) Internal javascript
b) External javascript

Internal and External JavaScript are the two ways of adding JavaScript code to an HTML document.

a) Internal JavaScript

Internal JavaScript refers to embedding JavaScript code directly within the HTML file using tag, either inside the <head> or <body> tag. This method is useful for small scripts specific to a single page.</p> <p>b) External javascript</p> <p>External JavaScript is when the JavaScript code written in another file having an extension .js is linked to the HMTL with the src attribute of script tag.</p> <p>Syntax:</p> <script src="url_of_js_file">

AWS Security LIVE!

Join us for AWS Security LIVE!

Discover the future of cloud security. Tune in live for trends, tips, and solutions from AWS and AWS Partners.

Learn More

Top comments (0)

Image of Docusign

🛠️ Bring your solution into Docusign. Reach over 1.6M customers.

Docusign is now extensible. Overcome challenges with disconnected products and inaccessible data by bringing your solutions into Docusign and publishing to 1.6M customers in the App Center.

Learn more