Understanding JavaScript and origin.
Tags: javascript, webdev, beginners, programming
Published: 2022-05-22 11:57:55



## **Highlight on JavaScript**

**What I understand JavaScript is:**

JavaScript is a text-based programming language used both on the client-side and server-side that allows you to make web pages interactive. Where HTML and CSS are languages that give structure and style to web pages, JavaScript gives web pages interactive elements that engage a user. This allowing the pages to react to events, exhibit special effects, accept variable text, validate data, create cookies, detect a user’s browser, etc.

**Main uses of JavaScript:**
**»** Web Development
**»** Web Application
**»** Web Server
**»** Mobile Application
**»** Game Development
**»** Presentations and Slideshow

**~Explanation~**

**Web Development:**
JavaScript is commonly used to make web pages dynamic. As a client scripting language, it provides websites with interactivity like prompts and alerts and it can add animations to images and text. It’s used by websites for the purposes of data validation to ensure that users enter the correct information into fields on contact and sign-up forms.

**Web Applications:**
JavaScript is also commonly used for building web applications without web contexts. Rather than sending messages via servers, JavaScript interacts with browsers directly, which enables developers to build fast web apps.

**Web Servers:**
When used in combination with the Node JS framework, JavaScript can be used to create web servers. Because Node JS is event-driven, it moves to the next task quickly without transferring huge amounts of data, which makes JavaScript web servers very fast. JavaScript servers make it easy for developers to handle concurrency and identify errors that may otherwise be difficult to spot in multi-threaded processes.

**Mobile Applications:**
JavaScript is often used to develop cross-platform mobile apps for iOS, Android, Windows and Blackberry.

**Games Development:**
JavaScript is increasingly being used to create games like Angry Birds, Polycraft and Bejewelled. When used with HTML5, JavaScript can create powerful games that require nothing more than a keyboard to play. The combination opens up a range of different engines, libraries and variations of common web languages that can be used to create fully-fledged, interactive games.

**Presentations And Slideshows:**
JavaScript libraries Reveal JS and Bespoke JS can be used to create interactive slideshows and presentations on websites. The sliding decks provide responsive scaling so they’re configured for mobile devices and tablets. They also provide a range of transitional styles, colors and themes.

**Things you can build with JavaScript**
**»** Website
**»** Web Application
**»** Web Server
**»** Game
**»** Art
**»** Smartwatch Apps
**»** Mobile Apps
**»** Artificial Intelligency

**~Explanation~**

**Websites:**
JavaScript is used in making website look interactive.. it helps you to be able to interact with the server easily.

**Web Applications:**
As browsers and personal computers have continued to improve, so, too, has the abilities to create robust web applications. Just think of applications like Google Maps. If you want to explore a map in Google Maps, all you have to do is click and drag with the mouse.

**Game:**
While the browser hasn’t been a traditional games platform in the past, recently it has become a robust venue for games. Additionally, with the addition of the HTML5 canvas (more on that in a second), the level of complexity that is possible in browser-based games has increased exponentially.

**Art:**
One of the new features in the HTML5 specification is the canvas element,which allows the browser to render three-dimensional shapes.

**Smartwatch App:**
Popular smartwatch maker Pebble has created Pebble.js, a small javascript framework that allows a developer to create an application for the Pebble line of watches in JavaScript. But Pebble makes up a relatively small part of the market share. What if you want to develop for iOS or Android…

**Mobile App:**
One of the most powerful things you can do with JavaScript is build applications for non-web contexts. That’s a fancy way of saying you can make apps for things that aren’t the internet. For instance, mobile devices are now the most popular way to access the internet. What this means is that ALL of your websites should be responsive (but that could be another blog post). Additionally, it means that mobile applications are as important a product as a web property for digital goods. The catch is that mobile apps come in two major flavors, Apple and Android

Artificial Intelligency:
JavaScript has made it possible to create and make robots, cars and other technological instrument that helps the activities of man.

## **Keywords:**

**library**: 
JavaScript libraries contain various functions, methods, or objects to perform practical tasks on a web-page or JS-based application. You can even build a WordPress site with them.
Think of them as a book library where you revisit to read your favorite books. You may be an author and enjoy other authors’ books, get a new perspective or idea, and utilize the same in your life.
Similarly, a JavaScript library has codes or functions that developers can reuse and repurpose. A developer writes these codes, and other developers reuse the same code to perform a certain task, like preparing a slideshow, instead of writing it from scratch. It saves them significant time and effort.
This libraries can also be explained to be a prewritten codes.. is just like a code that has already been written by a programmer and later stored in the library for use by that person or another person instead of you creating and wasting your time,you can just go to library and get the one you want for your site to function with. Moreover,the collection of those different libraries is called framework which I will explain in the next paragraph.

**Framework:**
A  JavaScript framework is a collection of JavaScript code librariest hat provide a web developer with pre-written code for routine programming tasks. Frameworks are structures with a particular context and help you create web applications within that context.
It is completely possible to build strong web applications without JavaScript frameworks, but frameworks provide a template that handles common programming patterns. Each time you have to build an application, you don’t need to write code for every single feature from scratch. Instead, you can build upon an existing feature set.

**Pebble.js**
Pebble.js in contrast to PebbleKit JS allows developers to create watchapp using only JavaScript code. It is simple yet powerfull enough for creating watchapps that fetch and display data from various web services or remotely control other smartdevices. The downside of that approach is connected to the way how Pebble.js works. It is built on top of the standard Pebble SDK and PebbleKit JS. It consists of C app that runs on the watch and interacts with the phone in order to process user actions. The Pebble.js library provides API to build user interface and then remotely controls the C app to display it. As a consequence of the described approach watchapp couldn’t function without a connection to the phone. On a side note I would mention that library is open-source and still in beta, so breaking API changes are possible.




**In summary**
JavaScript is the essential programming language which enable functionality in a Websites,page,app even in robots ... Even the mobile phone we are using now is a work of JavaScript... which helps us to interact with our phone... with JavaScript ... alot of hardworks can be reduced by adding a functionality to something and make works look easier. The cars we use: has some JavaScript embended in it.. this helps controlling technological instrument,object easier .. eg. is Tv remote.

JavaScript is said to be the most popular programming language.. and over 97% of website that has been created was done using javaScript. It has dynamic typing, prototype-based object-orientation, and first-class functions. It is multi-paradigm, supporting event-driven, functional, and imperative programming styles. It has application programming interfaces (APIs) for working with text, dates, regular expressions, standard data structures, and the Document Object Model (DOM).

**Please Note:** This post is an assignment given to me by my teacher where I am learning web development at **_OsMaxin Developers_**, if you are in Nigeria you can check them out, they have good records of training developers for over a decade. 

**_PLEASE I NEED YOUR COMMENT TO GET GOOD SCORE_**