JavaScript basics
Help students master the basic fundamental and syntax in Javascript - the most popular programming language in the world.
JavaScript is a programming language that adds interactivity to your website (for example games, responses when buttons are pressed or data is entered in forms, dynamic styling, andanimation). This article helps you get started with this exciting language and gives you an idea of what is possible.
What is JavaScript ?
JavaScript ("JS" for short) is a full-fledged dynamic programming language that, when applied to an HTML document, can provide dynamic interactivity on websites. It was invented by Brendan Eich, co-founder of the Mozilla project, the Mozilla Foundation, and the Mozilla Corporation.
JavaScript is incredibly versatile. You can start small, with carousels, image galleries, fluctuating layouts, and button click responses. With more experience, you'll be able to create games, animated 2D and 3D graphics, comprehensive database-driven apps, and much more!
JavaScript itself is fairly compact yet very flexible. Developers have written a large variety of tools on top of the core JavaScript language, unlocking a vast amount of extra functionality with minimum effort. These include:
- Browser Application Programming Interfaces (APIs) — APIs built into web browsers, providing functionality like dynamically creating HTML and setting CSS styles, collecting and manipulating a video stream from the user's webcam, or generating 3D graphics and audio samples.
- Third-party APIs — Allow developers to incorporate functionality in their sites from other content providers, such as Twitter or Facebook.
- Third-party frameworks and libraries — You can apply these to your HTML to allow you to rapidly build up sites and applications.
Because this course is only supposed to be a light introduction to JavaScript, we are not going to confuse you at this stage by talking in detail about what the difference is between the core JavaScript language and the different tools listed above. You can learn all that in detail later on, in our JavaScript learning area, and in the rest of MDN.
Below we will introduce you to some aspects of the core language, and you'll also play with a few browser API features too. Have fun!
Application of JavaScript.
-
Application in website programming:
When it comes to web programming one can not help but mention the set of 03 HTML, CSS and JavaScript. It can be said that not all, but most of the websites currently running use JavaScript and its Front-end frameworks such as: Bootstrap, jQuery Foundation, UIKit, ... where JavaScript helps create display effects. on the website, interactions with users. -
Build web applications for the server:
This is a technology trend that can be said to be very current (from 2016 until now). The developers are quite excited with JavaScript frameworks such as Node.js, AngularJS, ... These specifically will help create web applications that are more about real-time interaction of users. If the same server configuration is the same, it is not possible for PHP, Java, Python, .Net when the number of users interacting at the same time is too much. The server will not be able to handle it, but with JavaScript Frame work, things will be completely different. -
Build mobile applications, games and desktop applications.
What do students get by taking the course?
- The basic theory of JavaScript programs.
- Know how to use operators in JavaScript.
- Familiarize yourself with the statements and data structures in JavaScrip:
- Conditional statement.
- Loop.
- Array method
- String method.
- Data method
- Know the libraries related to algorithms.