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">
Top comments (0)