ANSWER :
-
- JavaScript is a scripting or programming language that allows
you to implement complex features on web pages . every time a web
page does more than just sit there and display static
information Displaying timely content updates,
interactive maps, animated 2D/3D graphics, scrolling video
jukeboxes, etc.
- You can bet that JavaScript is probably involved. It is the
third layer of the layer cake of standard web technologies, two of
which HTML and CSS.
- JavaScript is a scripting language that enables you to create
dynamically updating content, control multimedia, animate images,
and pretty much everything else.
- Example- Add some JavaScript to implement dynamic
behaviour:
const para = document.querySelector('p');
para.addEventListener('click', updateName);
function updateName() {
let name = prompt('Enter a new name');
para.textContent = 'Player 1: ' + name;
}
- The core client-side JavaScript language consists of some
common programming features-
Store useful values inside variables. In the above example for
instance, we ask for a new name to be entered then store that name
in a variable called name
Operations on pieces of text . In the above example we take the
string "Player 1: " and join it the name variable to
create the complete text label.
Running code in response to certain events occurring on a web
page. We used a click
event in our
example above to detect when the button is clicked and
then run the code that updates the text label
- More characteristics of JavaScript:
- Client edge Technology.
- Validation of User's Input.
-Else and If Statement.
-Interpreter Centered.
-Ability to perform In Built Function
- There is a beginning and javascript is no different. Javascript
came into being in the year 1995 and has kept on evolving ever
since. Brendan Eich, an employee at Netscape communications,
created and released javascript in 1995.
- Javascript was initially referred to as Netscape’s Mocha during
its development but was officially released with the name
LiveScript. It was later renamed to javascript when it was deployed
in the Netscape Navigator 2.0 beta 3 that same year.
- Javascript is a high-level scripting language that is usually
interpreted by the browser. It can also be used on the server
side.Due to the open source nature of JS, numerous powerful
frameworks have been deployed over the years. Some of the most
popular ones include React, Angular,React native, etc.
- JavaScript used-
- Adding interactive behavior to web pages. JavaScript allows
users to interact with web pages.
- Creating web and mobile apps. Developers can use various
JavaScript frameworks for developing and building
web and mobile apps.
- Building web servers and developing server applications
- Game development.