JavaScript 101: Ultimate JavaScript Guide

What is Javascript?

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. Common examples of JavaScript that you might use every day include the search box on Amazon, a news recap video embedded on The New York Times, or refreshing your Twitter feed.

What is JavaScript used for?

JavaScript is mainly used for web-based applications and web browsers. But JavaScript is also used beyond the Web in software, servers and embedded hardware controls.

  1. Adding interactive behaviour to web pages

JavaScript allows users to interact with web pages. There are almost no limits to the things you can do with JavaScript on a web page – these are just a few examples:

 - Show or hide more information with the click of a button

 - Change the colour of a button when the mouse hovers over it

 - Slide through a carousel of images on the homepage

 - Zooming in or zooming out on an image

 - Displaying a timer or count-down on a website

 - Playing audio and video on a web page

 - Displaying animations

 - Using a drop-down hamburger menu
  1. Creating web and mobile apps

Developers can use various JavaScript frameworks for developing and building web and mobile apps. Popular JavaScript front-end frameworks include React, React Native, Angular, and Vue. Many companies use Node.js, a JavaScript runtime environment built on Google Chrome’s JavaScript V8 engine. A few famous examples include Paypal, LinkedIn, Netflix, and Uber!

  1. Building web servers and developing server applications Beyond websites and apps, developers can also use JavaScript to build simple web servers and develop the back-end infrastructure using Node.js.

  2. Game development Of course, you can also use JavaScript to create browser games. These are a great way for beginning developers to practice their JavaScript skills.

Why use JavaScript over other programming languages?

Aside from the unlimited possibilities, there are many reasons for web developers to use JavaScript over other programming languages:

 - JavaScript is the only programming language native to the web browser

 - JavaScript is the most popular language

  - There’s a low threshold to get started

Visual Studio Code

Atom

Webstrom

IntelliJ IDEA

Sublime Text

Brackets

ActiveState Komodo IDE

TextMate (for Mac OS)

Eclipse

Apache NetBeans

Screenshot 2022-02-14 at 23.56.49.png

Mini Project in Javascript

Creating a javascript function that when you input a number the function you have created checks whether the number belongs to the Fibonacci sequence or not.

https://github.com/Jadamoureen/checking_fibonaaci_javascript

In Conclusion,JavaScript is a wonderful technology to use on the web. It is not that hard to learn and it is very versatile. It plays nicely with other web technologies — such as HTML and CSS — and can even interact with plugins such as Flash.